Enhanced XSPF Player keeps loggin out SOLVED
Enhanced XSPF Player keeps loggin out SOLVED
Bug issue. I loaded FEU and Enhanced XSPF .051 n CMS Made Simple 1.5.1 "San Juan", I have worked with the modules before and they always worked great.
What seems to be happening is when I create a play list and add songs the site just logs out. I uninstalled everything and reloaded it and again it just logs out.
Very strange this has never happened before does anyone have any suggestions. Or other similar problems.
It doesn't seem to do it on any other module.
Thanks to everyone in advance.
George
What seems to be happening is when I create a play list and add songs the site just logs out. I uninstalled everything and reloaded it and again it just logs out.
Very strange this has never happened before does anyone have any suggestions. Or other similar problems.
It doesn't seem to do it on any other module.
Thanks to everyone in advance.
George
Last edited by yorgi63 on Fri Jan 02, 2009 5:27 am, edited 1 time in total.
Re: Enhanced XSPF Player keeps loggin out (need help!!!_
Hello,
I back tracked on the system and went to 1.4.1 which I know works with the player and it still logs out.
George
I back tracked on the system and went to 1.4.1 which I know works with the player and it still logs out.
George
Re: Enhanced XSPF Player keeps loggin out (need help!!!_
i have this problem too. And i don't know how to resolve this problem, any ideas ?
Re: Enhanced XSPF Player keeps loggin out (need help!!!_
I have the exact same problem. As of right now I can't add anything to the playlist! Help anyone?
Re: Enhanced XSPF Player keeps loggin out (need help!!!_
Hello, I found a solution. (Maybe no elegant, but functional.
):
1. Make new user define tag, e.g.: "cms_user_key" with code
2. In "admin_edit_playlist.tpl" find this:
and replace by
Now, while submit form is pressed, I stay logged in.
Adequate change also this code in admin_add_playlist_songs.tpl

1. Make new user define tag, e.g.: "cms_user_key" with code
Code: Select all
echo $_SESSION[CMS_USER_KEY];
Code: Select all
<form id="playlist_form" name="playlist_form" method="post" action="moduleinterface.php">
Code: Select all
<form id="playlist_form" name="playlist_form" method="post" action="moduleinterface.php">
<div class="hidden">
<input type="hidden" name="_s_" value="{cms_user_key}" />
</div>
Adequate change also this code in admin_add_playlist_songs.tpl
Last edited by syncros on Wed Dec 31, 2008 1:59 pm, edited 1 time in total.
Re: Enhanced XSPF Player keeps loggin out (need help!!!_
This may have something to do with the new session keys being used now to correct a small vulnerability found in CMSMS that was explained in the Blog...
Re: Enhanced XSPF Player keeps loggin out (need help!!!_
Trying to work this fix and even though this sounds simple what file do I place the "echo $_SESSION[CMS_USER_KEY];" code into. Sorry if this sounds simple. Also I am not sure where to place the code in playlist_songs. I found it in playlist.tpl but not in that one.syncros wrote: Hello, I found a solution. (Maybe no elegant, but functional.):
1. Make new user define tag, e.g.: "cms_user_key" with code2. In "admin_edit_playlist.tpl" find this:Code: Select all
echo $_SESSION[CMS_USER_KEY];
and replace byCode: Select all
<form id="playlist_form" name="playlist_form" method="post" action="moduleinterface.php">
Now, while submit form is pressed, I stay logged in.Code: Select all
<form id="playlist_form" name="playlist_form" method="post" action="moduleinterface.php"> <div class="hidden"> <input type="hidden" name="_s_" value="{cms_user_key}" /> </div>
Adequate change also this code in admin_add_playlist_songs.tpl
Thanks!
Yorgi
Re: Enhanced XSPF Player keeps loggin out (need help!!!_
1. Make new user define tag, e.g.: "cms_user_key" with code
Code:
echo $_SESSION[CMS_USER_KEY];
If you aren't sure what that is read the default content: Default Extensions » Tags » User-defined tags...
Code:
echo $_SESSION[CMS_USER_KEY];
If you aren't sure what that is read the default content: Default Extensions » Tags » User-defined tags...
Re: Enhanced XSPF Player keeps loggin out (need help!!!_
Found it thank you and it works.mark wrote: 1. Make new user define tag, e.g.: "cms_user_key" with code
Code:
echo $_SESSION[CMS_USER_KEY];
If you aren't sure what that is read the default content: Default Extensions » Tags » User-defined tags...
Yorgi
Re: Enhanced XSPF Player keeps loggin out (need help!!!_
Remember to amend the Subject line of the first post here with [solved]...
Re: Enhanced XSPF Player keeps loggin out (need help!!!_
One one last tweak. Seems the Thumbnails are not happening. Is this because the playlist is good but the songs.tpl is not? Anyone?mark wrote: 1. Make new user define tag, e.g.: "cms_user_key" with code
Code:
echo $_SESSION[CMS_USER_KEY];
If you aren't sure what that is read the default content: Default Extensions » Tags » User-defined tags...
Thanks!
Re: Enhanced XSPF Player keeps loggin out (need help!!!_
Thumbnails weren't showing due to a change in the way the Uploads module stores the thumbnails. This is fixed in EnhancedXSPF-0.5.2, which also adds the cms_user_key where needed.yorgi63 wrote: One one last tweak. Seems the Thumbnails are not happening. Is this because the playlist is good but the songs.tpl is not? Anyone?
Regards,
D