[CONFIRMED+FIX] Joomla! 1.0.13 Admin session dies for certain $task values
-
- Joomla! Fledgling
- Posts: 3
- Joined: Mon Dec 10, 2007 9:55 am
Re: [CONFIRMED+FIX] Joomla! 1.0.13 Admin session dies for certain $task values
Hi again,
I have many Joomla sites in different versions on my server and it would be very painful to patch now all sites and the main point it worked before.
I tried the latest patch on the Joomla 1.0.13 but I still had problems even with different settings.
However I played around now with the session.save_path and the last time I even removed totally the value (also no path at all) and I got this error that session is not writable.
Then I added again the value '/tmp' and I got then a incorrect username or password but on my unpatched Joomla1.5 I could surprisingly log in So i removed the patch from my 1.0.13 version and now I can login in all my sites without any problem.
I guess my problem was that the cPanel easy apache build script didn't saved the php.ini properly. Maybe wrong charset or the session values had some additional characters that were not visible. So should you have cPanel and your webhost just upgraded and your site worked before, then ask your webhost to retype the session values again.
I'm sooo happy that everything works fine without any patch!
I have many Joomla sites in different versions on my server and it would be very painful to patch now all sites and the main point it worked before.
I tried the latest patch on the Joomla 1.0.13 but I still had problems even with different settings.
However I played around now with the session.save_path and the last time I even removed totally the value (also no path at all) and I got this error that session is not writable.
Then I added again the value '/tmp' and I got then a incorrect username or password but on my unpatched Joomla1.5 I could surprisingly log in So i removed the patch from my 1.0.13 version and now I can login in all my sites without any problem.
I guess my problem was that the cPanel easy apache build script didn't saved the php.ini properly. Maybe wrong charset or the session values had some additional characters that were not visible. So should you have cPanel and your webhost just upgraded and your site worked before, then ask your webhost to retype the session values again.
I'm sooo happy that everything works fine without any patch!
Last edited by itlionat on Mon Dec 10, 2007 7:07 pm, edited 1 time in total.
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sun Dec 02, 2007 12:08 am
Re: [CONFIRMED+FIX] Joomla! 1.0.13 Admin session dies for certain $task values
Thank you so much, this little change in the index2.php has solved everything. After getting nuts almost you have saved my day and work.Shinu wrote: Hi!
I dont'n read all post in this topic...
anyway, I find this hotfix to this problem:
http://virtuemart.net/index.php?option= ... ad&gid=371
/administrator/index2.phpand it works in my Joomla 1.0.13 IE plCode: Select all
BEFORE doGzip(); // if task action is 'save' or 'apply' redo session check if ( $task == 'save' || $task == 'apply' ) { $mainframe->initSessionAdmin( $option, '' ); } AFTER // if task action is 'save' or 'apply' redo session check if ( $task == 'save' || $task == 'apply' ) { $mainframe->initSessionAdmin( $option, '' ); } doGzip();
It seemed to be that there was nothing which worked fo me with joomla 1.13 and Joomfish, but finally you found a simple way to get it done....
Thx again
ulpo
- steve2
- Joomla! Intern
- Posts: 96
- Joined: Tue Dec 20, 2005 12:52 am
- Location: New Zealand
- Contact:
Re: [UNDER REVIEW] Joomla! 1.0.13 Admin session dies for certain $task values
Appreciate your hard work guys, this fixed it for me...RobS wrote: Hi all,
I'm sorry that I have taken so long to get back here but I have just been really busy and dealing with life. I went through and tried to rework the problem so it doesn't have this problem and I think I found a way to deal with it that it is just as secure and possibly faster than the previous fix that was made. I have attached a zip file to this post with two files in it. The first file is index.php should replace administrator/index.php and joomla.php should replace includes/joomla.php When you put these files in place, you will probably get logged out but once you get logged back in, the problem will hopefully be fixed. Please do not test this on live sites though, I cannot guarantee that it works as I am working on a laptop and only have one environment to test against.
- bulesz
- Joomla! Apprentice
- Posts: 18
- Joined: Mon Jul 02, 2007 10:28 am
Re: [CONFIRMED+FIX] Joomla! 1.0.13 Admin session dies for certain $task values
Thansk for you work guyz!
I cant believe this, how could release it without this fix? I means without this its completeley useless! cant login etc...
Wasnt any test of it???? Strange!
I cant believe this, how could release it without this fix? I means without this its completeley useless! cant login etc...
Wasnt any test of it???? Strange!
-
- Joomla! Apprentice
- Posts: 15
- Joined: Mon Mar 12, 2007 1:13 am
Re: [CONFIRMED+FIX] Joomla! 1.0.13 Admin session dies for certain $task values
Hi There,
Can you please tell me where the zip file (fix) for this problem is?
Can you please tell me where the zip file (fix) for this problem is?
-
- Joomla! Apprentice
- Posts: 15
- Joined: Mon Mar 12, 2007 1:13 am
Re: [CONFIRMED+FIX] Joomla! 1.0.13 Admin session dies for certain $task values
[quote="joeleal "]
Hi There,
Can you please tell me where the zip file (fix) for this problem is?
Sorry, I found it. Thanks
Hi There,
Can you please tell me where the zip file (fix) for this problem is?
Sorry, I found it. Thanks
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sun Dec 16, 2007 8:41 pm
Re: [UNDER REVIEW] Joomla! 1.0.13 Admin session dies for certain $task values
Nice! Thanks for this fix. it worked for me. Really, thank you sooooooo much.
-Joe
-Joe
RobS wrote: Hi all,
I'm sorry that I have taken so long to get back here but I have just been really busy and dealing with life. I went through and tried to rework the problem so it doesn't have this problem and I think I found a way to deal with it that it is just as secure and possibly faster than the previous fix that was made. I have attached a zip file to this post with two files in it. The first file is index.php should replace administrator/index.php and joomla.php should replace includes/joomla.php When you put these files in place, you will probably get logged out but once you get logged back in, the problem will hopefully be fixed. Please do not test this on live sites though, I cannot guarantee that it works as I am working on a laptop and only have one environment to test against.
- kgonyea
- Joomla! Explorer
- Posts: 398
- Joined: Tue Dec 19, 2006 6:37 pm
- Location: San Diego, CA
- Contact:
Re: [CONFIRMED+FIX] Joomla! 1.0.13 Admin session dies for certain $task values
I was getting the Invalid Session error, until I found this:RobS wrote: For the people that are getting the "Invalid Session" message, could you please try to clear your browser cookies or try a different browser if you have access to one.
Thanks.
http://tech.amikelive.com/node-41/compr ... omla-1013/
That solved the problem for me. It is a combo fix for several issues discussed in this thread. I'm sure it will be useful for others as well.
Nebula42
https://www.nebula42.io
https://www.nebula42.io
-
- Joomla! Apprentice
- Posts: 8
- Joined: Sat Jul 15, 2006 1:29 pm
Re: [CONFIRMED+FIX] Joomla! 1.0.13 Admin session dies for certain $task values
alright.. I cant find the hotfix.. where can I find it?
- kgonyea
- Joomla! Explorer
- Posts: 398
- Joined: Tue Dec 19, 2006 6:37 pm
- Location: San Diego, CA
- Contact:
Re: [CONFIRMED+FIX] Joomla! 1.0.13 Admin session dies for certain $task values
Here's a link to the patch I used:HansLee wrote: alright.. I cant find the hotfix.. where can I find it?
http://dev.amikelive.com/joomla1/compon ... info/id,3/
And instructions from the link from my last post...
How to invoke this fix:
1. Backup your joomla files
2. Copy the files in the zip into their respective folders
3. Create a folder named session in your joomla installation directory (the directory where index.php exists)
4. Give Apache (or php handler) user permission to write into the directory (you can chmod the directory to 777 or alike)
5. Test logging into joomla admin panel.
Nebula42
https://www.nebula42.io
https://www.nebula42.io
-
- Joomla! Fledgling
- Posts: 1
- Joined: Fri Aug 25, 2006 4:06 am
Re: [UNDER REVIEW] Joomla! 1.0.13 Admin session dies for certain $task values
RobS... my hero.... struggled for days with this... seems all good now, thank you!RobS wrote: Hi all,
I'm sorry that I have taken so long to get back here but I have just been really busy and dealing with life. I went through and tried to rework the problem so it doesn't have this problem and I think I found a way to deal with it that it is just as secure and possibly faster than the previous fix that was made. I have attached a zip file to this post with two files in it. The first file is index.php should replace administrator/index.php and joomla.php should replace includes/joomla.php When you put these files in place, you will probably get logged out but once you get logged back in, the problem will hopefully be fixed. Please do not test this on live sites though, I cannot guarantee that it works as I am working on a laptop and only have one environment to test against.
-
- Joomla! Fledgling
- Posts: 1
- Joined: Thu Sep 06, 2007 8:19 am
Re: HotFix for the admin session bug
Sincerely thank you so muchsoeren wrote: Well,
VirtueMart is also affected by this bug.
The problem is indeed a wrong order of the calls to initSessionAdmin and doGzip at the end of the file /administrator/index2.php.
If we change
BEFOREtoCode: Select all
103 doGzip(); 104 105 // if task action is 'save' or 'apply' redo session check 106 if ( $task == 'save' || $task == 'apply' ) { 107 $mainframe->initSessionAdmin( $option, '' ); 108 }
the problem is gone.Code: Select all
102 // if task action is 'save' or 'apply' redo session check 103 if ( $task == 'save' || $task == 'apply' ) { 104 $mainframe->initSessionAdmin( $option, '' ); 105 } 106 doGzip();
I have posted a Hotfix for Joomla! 1.0.13 on the VirtueMart Homepage.
Feel free to try it. It just contains the updated index2.php file.
ciao, Sören
- 092098jvm
- Joomla! Enthusiast
- Posts: 230
- Joined: Wed Aug 09, 2006 5:59 pm
- Contact:
Re: [CONFIRMED+FIX] Joomla! 1.0.13 Admin session dies for certain $task values
I'm having the same issue with JoomlaPack. The fix above didn't fix though. Is there another problem maybe or a different patch?
Last edited by 092098jvm on Fri Dec 21, 2007 11:35 pm, edited 1 time in total.
-
- Joomla! Intern
- Posts: 61
- Joined: Thu Dec 13, 2007 10:48 pm
- Contact:
Re: [CONFIRMED+FIX] Joomla! 1.0.13 Admin session dies for certain $task values
FIXED MY PROBLEMS!!!
ScrapbookSuppliesDirect.com
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sun Dec 23, 2007 5:34 pm
Re: [CONFIRMED+FIX] Joomla! 1.0.13 Admin session dies for certain $task values
Thank you for every solutions!
-
- Joomla! Apprentice
- Posts: 9
- Joined: Tue Dec 25, 2007 10:22 am
Re: [CONFIRMED+FIX] Joomla! 1.0.13 Admin session dies for certain $task values
I did both proposed fixes.
No change, the problem remains, also after removing the cookies.
How can I remove eXtplorer?
No change, the problem remains, also after removing the cookies.
How can I remove eXtplorer?
- kgonyea
- Joomla! Explorer
- Posts: 398
- Joined: Tue Dec 19, 2006 6:37 pm
- Location: San Diego, CA
- Contact:
Re: [CONFIRMED+FIX] Joomla! 1.0.13 Admin session dies for certain $task values
You tried the fix here and no luck?RZ112 wrote: I did both proposed fixes.
No change, the problem remains, also after removing the cookies.
How can I remove eXtplorer?
http://forum.joomla.org/index.php/topic ... msg1122800
And are you getting the admin login loop with the invalid session error? Are there any other errors or symptoms?
You should be able to uninstall extplorer via Installers>Components > select the component, and the uninstall link should be at the top of the page.
Nebula42
https://www.nebula42.io
https://www.nebula42.io
- webasylum
- Joomla! Apprentice
- Posts: 6
- Joined: Mon Dec 31, 2007 8:13 am
- Location: LA
Re: [CONFIRMED+FIX] Joomla! 1.0.13 Admin session dies for certain $task values
RobS,
JACL Modifies the existing Joomla.php file in the includes folder.
Does the re-worked Joomla.php file in the includes file cause problems with JACL ? if so, what lines of code do I have to update ?
Many thanks,
Webasylum.
JACL Modifies the existing Joomla.php file in the includes folder.
Does the re-worked Joomla.php file in the includes file cause problems with JACL ? if so, what lines of code do I have to update ?
Many thanks,
Webasylum.
Live Life on Purpose!
- muddauber
- Joomla! Ace
- Posts: 1618
- Joined: Thu Jun 08, 2006 11:26 pm
Re: [CONFIRMED+FIX] Joomla! 1.0.13 Admin session dies for certain $task values
Could someone explain the proper way to install this hotfix?
- greenarrow
- Joomla! Enthusiast
- Posts: 196
- Joined: Fri Aug 24, 2007 5:02 am
Where Can i find Hotfix for joomla
I need hotfix to run component eXtplorer. can anyone tell me where can i find HOTFIX ?
- webasylum
- Joomla! Apprentice
- Posts: 6
- Joined: Mon Dec 31, 2007 8:13 am
- Location: LA
Re: [CONFIRMED+FIX] Joomla! 1.0.13 Admin session dies for certain $task values
The HotFix appears as a download link after you have registered on this Forum.
Live Life on Purpose!
- webasylum
- Joomla! Apprentice
- Posts: 6
- Joined: Mon Dec 31, 2007 8:13 am
- Location: LA
Re: [CONFIRMED+FIX] Joomla! 1.0.13 Admin session dies for certain $task values
As a foot note, I noticed that when JACL is installed - it provides clear statements of where it has hacked the Joomla.php file ! Excellent, so using any text editor it was easy to search through the working JACL'd Joomla.php file for its hack entries and copy those pieces of code over into the matching code points in the Hotfix's Joomla.php file. Note! Always worth saving copies of existing files before merging such pieces of code so you can get back to the start if you mess things up!webasylum wrote: RobS,
JACL Modifies the existing Joomla.php file in the includes folder.
Does the re-worked Joomla.php file in the includes file cause problems with JACL ? if so, what lines of code do I have to update ?
Many thanks,
Webasylum.
Now I have the Hotfix working with eXtplorer and JACL as it should I think inside Joomla. :P
Live Life on Purpose!
- greenarrow
- Joomla! Enthusiast
- Posts: 196
- Joined: Fri Aug 24, 2007 5:02 am
Re: [CONFIRMED+FIX] Joomla! 1.0.13 Admin session dies for certain $task values
Thanks Bro But where Can i Find it Now ? Help Needed
-
- Joomla! Fledgling
- Posts: 4
- Joined: Fri Dec 21, 2007 8:33 am
Re: [CONFIRMED+FIX] Joomla! 1.0.13 Admin session dies for certain $task values
Hi,
I have applied the fix and now I can log in the back end. But I find out that it is possible to activate the front end by
editing Joomla/components/com_extplorer/configuration.jx.php
Then I added it to the main menu and when I click on the link, I have a blanc page.
I cleared cache and tried another browser (IE instead of firefox).
I tried the other fix (which shifts the position of doGzip(); in index2.php.
Nothing worked.
I don't know if it is the bug or I have misconfigured the front end. Is there something else I could do?
I have applied the fix and now I can log in the back end. But I find out that it is possible to activate the front end by
editing Joomla/components/com_extplorer/configuration.jx.php
Then I added it to the main menu and when I click on the link, I have a blanc page.
I cleared cache and tried another browser (IE instead of firefox).
I tried the other fix (which shifts the position of doGzip(); in index2.php.
Nothing worked.
I don't know if it is the bug or I have misconfigured the front end. Is there something else I could do?
- webasylum
- Joomla! Apprentice
- Posts: 6
- Joined: Mon Dec 31, 2007 8:13 am
- Location: LA
Re: [CONFIRMED+FIX] Joomla! 1.0.13 Admin session dies for certain $task values
Katerina....katerina wrote: Hi,
I have applied the fix and now I can log in the back end. But I find out that it is possible to activate the front end by
editing Joomla/components/com_extplorer/configuration.jx.php
Then I added it to the main menu and when I click on the link, I have a blanc page.
I cleared cache and tried another browser (IE instead of firefox).
I tried the other fix (which shifts the position of doGzip(); in index2.php.
Nothing worked.
I don't know if it is the bug or I have misconfigured the front end. Is there something else I could do?
Its not a good idea to be trying to get Extlorer working from the front end menu !!??!?? this poses a severe security risk as the public could rewrite your php files etc etc
Live Life on Purpose!
- webasylum
- Joomla! Apprentice
- Posts: 6
- Joined: Mon Dec 31, 2007 8:13 am
- Location: LA
Re: [CONFIRMED+FIX] Joomla! 1.0.13 Admin session dies for certain $task values
http://forum.joomla.org/index.php/topic ... .html - Its part of The first post a little zip file icon and link - but it clearly states that you have to be logged in to see the download icon !greenarrow wrote: Thanks Bro But where Can i Find it Now ? Help Needed
Live Life on Purpose!
-
- Joomla! Fledgling
- Posts: 4
- Joined: Fri Dec 21, 2007 8:33 am
Re: [CONFIRMED+FIX] Joomla! 1.0.13 Admin session dies for certain $task values
What I really want is to display tree structure of some data and I thought it could be the way to do it.
Is there any other way?
Is there any other way?
- webasylum
- Joomla! Apprentice
- Posts: 6
- Joined: Mon Dec 31, 2007 8:13 am
- Location: LA
Re: [CONFIRMED+FIX] Joomla! 1.0.13 Admin session dies for certain $task values
Good Question ! Not sure... will have a look around, but such a question is outside this particular threads scope.katerina wrote: What I really want is to display tree structure of some data and I thought it could be the way to do it.
Is there any other way?
Post a fresh question under General Questions section of the Forum and Be specific with the kind of information you wish to display within the front end (whether it be files, images, sitemap, etc) and I'm sure you will end up with the answer.
Live Life on Purpose!
- greenarrow
- Joomla! Enthusiast
- Posts: 196
- Joined: Fri Aug 24, 2007 5:02 am
Re: [CONFIRMED+FIX] Joomla! 1.0.13 Admin session dies for certain $task values
Help me to find hotfix anyone
- howdwegethere
- Joomla! Intern
- Posts: 66
- Joined: Tue Aug 23, 2005 7:34 am
- Location: Brisbane, Australia
- Contact:
Re: [CONFIRMED+FIX] Joomla! 1.0.13 Admin session dies for certain $task values
There is a link to a post with the fix and instructions to apply it just three posts above yours.
webasylum wrote:http://forum.joomla.org/index.php/topic ... .html - Its part of The first post a little zip file icon and link - but it clearly states that you have to be logged in to see the download icon !greenarrow wrote: Thanks Bro But where Can i Find it Now ? Help Needed