Search code examples
sessionjoomlaeasyphp

joomla 1.0 administrator cant login due to invalid session


I am using joomla 1.0 for developing a website,I cant login at backend (login only at backend).it shows the error messages as follows

first it shows the following errors in administrator/index.php

first stage

Warning: session_start() [function.session-start]: open(/hsphere/local/home/mdlglobe/mdlglobe.com/sessions\sess_972fdf60f45c091916639d797a8c7458, O_RDWR) failed: No such file or directory (2) in E:\EasyPHP 3.0\www\mdlglobe\administrator\index.php on line 111


Warning: session_write_close() [function.session-write-close]: open(/hsphere/local/home/mdlglobe/mdlglobe.com/sessions\sess_972fdf60f45c091916639d797a8c7458, O_RDWR) failed: No such file or directory (2) in E:\EasyPHP 3.0\www\mdlglobe\administrator\index.php on line 150


Warning: session_write_close() [function.session-write-close]: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/hsphere/local/home/mdlglobe/mdlglobe.com/sessions) in E:\EasyPHP 3.0\www\mdlglobe\administrator\index.php on line 150 

then it redirect to index2.php,and shows

second stage

Warning: session_start() [function.session-start]: open(/hsphere/local/home/mdlglobe/mdlglobe.com/sessions\sess_a1d4a8fb0750e8d835ed4ff59cc4e707, O_RDWR) failed: No such file or directory (2) in E:\EasyPHP 3.0\www\mdlglobe\administrator\index2.php on line 37

after that it redirect to the index page itself and show

third stage

Invalid Session 
 login failed

I have searched lot and they says the error occurs due to session.save_path

Please anyone tell me how this session.save_path edited in easyphp and solve this problem .I am facing big issues due to this

As one answer says i have changed session.save_path="E:/easyphp/temp/" But it not effected at all..

Please help


Solution

  • Finaly I have Solved this issue,by done the following

    I changed the session.save_path in php.ini

    session.save_path = "absolute path to the temp folder"
    

    Also I have changed the session path in .htaccess file in the sessions folder of joomla 1.0

    Joomla 1.0 is using differnt method to save session variables than other joomla versions