2012-01-25 55 views
1

我使用Joomla 1.0開發一個網站,我不能在後臺登錄(只在後臺登錄)。它顯示錯誤消息首先按照以下的Joomla 1.0管理員着登錄由於無效的會話

它顯示如下在管理員錯誤/ index.php的

第一階段

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 

然後將其重定向到index2.php,並且示出

第二階段

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 

,它重定向到索引頁面本身並顯示

第三階段

Invalid Session 
login failed 

我已經搜索很多,他們說以後發生是由於錯誤到session.save_path

請誰能告訴我這個session.save_path的的EasyPHP如何編輯和解決。我是因爲這個

作爲一個答案面臨很大的問題,這個問題說,我已經改變了的session.save_path =「E:/的EasyPHP /溫度/」但在所有它不影響..

請幫助在php.ini

+0

爲什麼地球上你會使用Joomla 1.0的任何東西?你應該認真考慮使用正在積極開發的東西。 Joomla 2.5幾天前發佈,那將是一個好的開始。 –

+0

因爲我的客戶非常需要它 –

回答

1

Finaly我已經解決了此問題,做了以下

我改變了session.save_path的在php.ini

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

而且我已經改變了中的會話路徑會話中的.htaccess文件 joomla文件夾1.0

Joomla 1.0使用不同的方法來保存會話va riables比其他joomla版本

2

檢查session.save_path的,它應該像

session.save_path = "C:\php\temp" 

和DIR路應該是有效的

+1

感謝您的回答。你的意思是將session.save_path設置爲安裝easyphp的臨時文件夾。我嘗試過,但沒有更改錯誤 –