Fix Session Save Path Red Unwritable When Installing Joomla!固定會議保存道路紅色Unwritable當安裝Joomla !

When installing Joomla version 1.0.x or Mambo CMS (Content Management System) using web browser, the web based Joomla!當安裝Joomla版本1.0.x或曼波不育系(內容管理系統)使用網絡瀏覽器,基於Web的Joomla ! installer pre-installation check screen displayed Not set, Unwritable in red for session save path parameter, indicating that the session save path is not defined in PHP.INI configuration file, not configured with correct permission or does not exist.安裝安裝前檢查屏幕上顯示的未設置, Unwritable紅色的會議參數保存路徑,表明了會議保存路徑中沒有界定php.ini配置文件中,而不是配置正確的許可或根本不存在。 If you continue installation, Joomla!如果您繼續安裝, Joomla ! still install but users will facing symptoms such as only can login to the front end but not the administrator backend, with the login process jumped back to login screen without any message such as incorrect user name or password.仍然安裝,但用戶將面臨的症狀,如不僅可以登錄到前端而不是後端的管理員,在登錄過程躍升到登錄屏幕沒有任何消息,如不正確的使用者名稱或密碼。

The cause for the Unwritable message for PHP session save path is pretty straight forward, that’s Joomla!的原因Unwritable PHP的郵件保存路徑會非常直截了當,這是Joomla ! installer unable detects any value set for session save path.安裝程序無法檢測到任何價值確定會議拯救的道路。 To fix and solve the problem simply configure the session save path variable in the web server environment, so that session save path will be shown as Writable when Joomla!要修復和解決問題的簡單配置會議路徑變量保存在網絡服務器環境,以便保存路徑會議將顯示為寫入時, Joomla ! installer re-check the environment.安裝程序重新檢查環境。 Depending on the web hosting service you used, there are several possible solutions as listed below.根據不同的網絡託管服務您使用,有幾種可能的解決方案,列舉如下。

Define session.save_path directive in PHP.INI session.save_path定義指令在php.ini中

If you have root access or control to the web host (for example, in VPS or dedicated server), edit the PHP.INI PHP configuration file in the web server to add in the environment variable.如果您有根獲得或控制的網頁主機(例如,在車輛定位系統或專用服務器) ,修改php.ini中的PHP配置文件的Web服務器添加到環境變量。 Normally the session.save_path directive is already included in the default PHP.INI, but been commented out.通常session.save_path指令已列入默認的php.ini ,但被評論了。 Add or edit the line so that it looks like below:新增或修改的列,這樣看起來如下:

session.save_path = /tmp

Modify /tmp to the path to a folder that is writable by Apache web server process.修改/ tmp的道路到一個文件夾中是寫Apache Web服務器進程。 If you don’t have shell access to the web host, such as in shared hosting, try asking hosting service provider to include the session save path parameter, or make the path writable.如果您沒有殼進入網頁主機,如共同主辦,嘗試要求託管服務提供商,包括會議的保存路徑參數,或作出的路徑寫入。

Include session.save_path in .htaccess file 包括session.save_path中。 htaccess文件

If you can’t modify PHP.INI global configuration file, or just want to make the change affect Joomla!如果你不能修改php.ini中的全球配置文件,或者只是想進行變更影響Joomla ! or Mambo application only, create or edit the .htaccess file in the installation directory for Joomla!或只曼波應用,創建或編輯的。 htaccess文件中的安裝目錄為Joomla ! or Mambo, and add the following line (only works in Apache web server which configured to support .htaccess - most cPanel hosts do):或曼波,並添加以下行(只在Apache Web服務器的配置支持。 htaccess -大多數的c Panel主機做) :

php_value session.save_path '/tmp'

Change the ‘/tmp’ to a folder that is writable and prefer to be a session saved folder by you which has been created first.更改' / tmp的'一個文件夾,寫入,並希望會議成為挽救你的文件夾已創建第一。 The trick above should work if PHP is runing as a server module (ISAPI), which most did, and not as CGI mode.上述的伎倆,如果要運行PHP是作為一個服務器模塊(的ISAPI ) ,其中大部分沒有,而不是作為的CGI模式。

Use Local PHP.INI in the Joomla/Mambo folder 使用本地的php.ini中的Joomla /曼波文件夾

If PHP is being run as CGI mode on the web server, or method above using .htaccess does’t work, try override the main global PHP.INI settings by using a localized PHP.INI file which located in the each and every directories for the application.如果PHP正在運行的CGI模式在Web服務器上,或用上述方法。 htaccess does't工作,嘗試覆蓋全球主要php.ini中設置使用本地化的php.ini文件,該文件位於每個目錄該應用程序。 However, the disadvantage is that users have to create lots of PHP.INI files as the override will be on folder by folder basis - those with local PHP.INI will be overrode, but not its parent or child sub-folders.但是,缺點是用戶必須創造大量的php.ini文件的覆蓋將在文件夾中文件夾的基礎-那些與當地的p hp.ini將推翻,但其父母或子女子文件夾。 This means that each folder that contains an executable PHP scripts must have its own PHP.INI file, such as in main root Joomla directory, /administrator/ folder and etc.這意味著每個文件夾中包含可執行PHP腳本必須有它自己的php.ini文件,如在主要根源Joomla目錄, /管理員/文件夾等

To configure the PHP override, create a PHP.INI on the folder(s) inside Joomla!要配置PHP的覆蓋,建立一個php.ini中的文件夾(星期日)內Joomla ! directory, and add the setting in following format:目錄,並添加設置格式如下:

session.save_path = /tmp

Replace the /tmp with the path that you want to use as the session saved path.將/ tmp的路徑與您要使用的會議節約的道路。

Use ini_set(variable, value) to override session.save_path in Globals.php file 使用ini_set (變量,值)覆蓋session.save_path在Globals.php檔案

If nothing mentioned above you can do, then try to edit globals.php file comes with Joomla.如果沒有上述你能做,然後嘗試編輯globals.php檔案配備Joomla 。 Firstly create a writable folder, and then edit the globals.php in root Joomla!首先創建一個可寫文件夾,然後編輯globals.php根Joomla ! directory.目錄。 Add in the following line at the top, right after <?php line:添加下面一行上方,右後“ ? PHP的行:

ini_set('session.save_path','/tmp');

Change ‘/tmp’ to full path to the writable directory created.更改' / tmp的'以完整路徑寫入目錄創建。 Then edit the following parameter.然後修改下面的參數。 Look for:查找:

define( 'RG_EMULATION', 1 );

Edit and change the line to:編輯和更改行:

define( 'RG_EMULATION', 0 );

Save the globals.php file.拯救globals.php文件。

Add session save path parameter into Joomla’s PHP code 新增會議路徑參數保存到Joomla的PHP代碼

If it’s impossible to change PHP.INI or add .htaccess, try to create a writable directory, recommended to be a directory named ’sessions’ inside $mosConfig_absolute_path folder which can be retrieved from the configuration.php itself, then add the following line in configuration.php file of Joomla!.如果這是不可能改變php.ini或補充。 htaccess ,嘗試建立一個可寫目錄中,建議將目錄命名為'會'內$ mosConfig_absolute_path文件夾中,可從configuration.php本身,然後添加以下線configuration.php檔案Joomla ! 。

session_save_path('public_html/session');

Change ‘public_html/session’ to the actual path to the writable directory created.變化' public_html /會議'的實際路徑寫目錄創建。 Note that if you modify and change any Global Configuration settings in Joomla, the line above will be lost as the configuration.php file get rewritten.請注意,如果您修改和變更任何全球配置設置在Joomla ,線以上將失去作為configuration.php檔案得到改寫。 In the case, remember to replace back the hack above.在這種情況,記住,以取代回到黑客以上。

Add php_value for session.save_path in httpd.conf Apache configuration file 新增php_value為session.save_path在httpd.conf Apache的配置文件

Create a writable directory that can be accessed by Apache service, and then edit the Apache configuration file of httpd.conf.創建一個可寫入的目錄,可以利用由Apache服務,然後修改Apache的配置文件httpd.conf中。 Add the following line to the bottom of the file:添加以下行底部的檔案:

php_value session.save_path "C:\Temp\"

Change the path “C:\Temp\” to the path to the folder created.變更路徑“路徑C : \ Temp \ ” ,以文件夾的路徑創建。 Save the configuration file, and then restart Apache HTTPD service.保存配置文件,然後重新啟動了Apache的httpd服務。

Note: A lot has been saying about writable folder.注:很多一直表示對寫入文件夾。 In some cases, depending on owner and group, you may have to set the permissions to 777 (full read, write and execute) in order for Apache to be able to write into the directory.在某些情況下,根據所有者和組,您可以設置權限777 (全讀,寫和執行) ,以便阿帕奇能夠寫入目錄。

Above resolutions should work for both Linux, FreeBSD, Unix and Windows based web server.上述決議應工作在Linux , FreeBSD上, Unix和Windows的網絡服務器。 However in Windows, you may need to specify drive letter to the path.但是在Windows ,您可能需要指定盤符的路徑。 For example, ‘/tmp’ will be ‘C:/tmp’ in Windows.例如, ' / tmp的'會的' C : / tmp的'在Windows 。 It’s also recommended to use forward slash (/) in the path to the folder instead of usual backslash (\).這也是推薦使用斜線( / )中的文件夾的路徑而不是通常的反斜杠( \ ) 。

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 重要說明:這是一台機器翻譯網頁這是“原樣”提供,無保修。 Machine translation may be difficult to understand.機器翻譯可能很難理解。 Please refer to請參閱 original English article英文原文的文章 whenever possible.只要有可能。

Share and contribute or get technical support and help at共享和貢獻或獲得技術支持和幫助 My Digital Life Forums 我的數字生活論壇 .



17 Responses to “Fix Session Save Path Red Unwritable When Installing Joomla!” 17日響應“固定會議保存路徑紅Unwritable當安裝Joomla ! ”

  1. milosh
    December 1st, 2007 02:31 07年十二月一日2時31
    1

    That was very helpfull thank you..這是非常有益的感謝你.. ; )

  2. Dave戴夫
    December 7th, 2007 14:05二〇 〇七年12月7日14:05
    2

    Very informative and solved my problem in a jiffy.非常翔實和解決我的問題在一個瞬間。
    Thank you謝謝您

  3. sejum
    January 1st, 2008 09:44 2008年1月一日9點44分
    3

    Thank you it was so helpful and did solve the problem I had.謝謝你這麼有幫助,並解決這個問題我有。

  4. Joomla/Issue/12.19.07 - Joomla Install: Session save path Unwriteable Joomla/Issue/12.19.07 -J oomla安裝:會議保存道路U nwriteable
    January 26th, 2008 00:22 08年1月26號00:22
    4

    [...] RESOLUTION: ( link to original resolution here) ( link to more detailed explanation here) [...] [...]解決方案: (鏈接到這裡原來的決議) (鏈接到更詳細的解釋在這裡) [...]

  5. SANDY沙地
    February 9th, 2008 13:05 08年二月9日13:05
    5

    omg- ur article truly just helped me!!!由OMG ,我們的文章真正公正幫助我! Thank you SO SO SO VERY MUCH!!!太感謝你周艷周艷非常!

  6. Victor Noe維克多諾埃
    March 14th, 2008 15:35 2008年3月14號15:35
    6 6日

    Wich of all this php.ini I need to edit the lines ?這所有這一切的php.ini我需要修改線路?

    /usr/local/cpanel/3rdparty/etc/phpmyadmin/php.ini / usr/local/cpanel/3rdparty/etc/phpmyadmin/php.ini
    /usr/local/cpanel/3rdparty/etc/php.ini / usr/local/cpanel/3rdparty/etc/php.ini
    /usr/local/cpanel/3rdparty/etc/horde/php.ini / usr/local/cpanel/3rdparty/etc/horde/php.ini
    /usr/local/cpanel/3rdparty/etc/phppgadmin/php.ini / usr/local/cpanel/3rdparty/etc/phppgadmin/php.ini
    /usr/local/lib/php.ini是/ usr / local / lib目錄/ php.ini中
    /usr/lib/php.ini是/ usr / lib目錄/ php.ini中

  7. Patsy Caldwell帕齊考德威爾
    March 19th, 2008 05:39 2008年3月一十九日05:39
    7 7日

    This article was a lifesaver!本文是一個救人! I have been trying to figure this out for hours.I couldn’t get my Joomla Stand Alone Server to work but your notes worked!我一直在試圖這一數字為hours.I不能讓我的Joomla攻殼機動隊服務器工作,但您的筆記工作! Thanks a bunch!由於一大堆!

  8. Lloyd Erasmus勞埃德伊拉斯謨
    April 17th, 2008 19:29 2008年四月17號19時29分
    8 8日

    Had this problem for 4 days until i came across this article… Thanx a million, this has really helped me.這個問題已經4天,直到我碰到此文章... Thanx 100萬,這真的幫助了我。

  9. reza
    April 17th, 2008 21:15 2008年四月17號21:15
    9 9日

    dear admin親愛的管理員
    special thanks for this tutorial.特別感謝本教程。
    see u見ü

  10. Zeon棣南
    April 21st, 2008 23:33 08年4月21號23:33
    10 10個

    Adding the path info to configuration.php worked out.新增的路徑信息以configuration.php制定。
    I wanted to point out that in order to find the host’s local route to my account I used the following:我想指出的是,為了找到所在的地方的路線到我的帳戶我用了以下內容:

  11. Tutorial: Caminho de sess教程: Caminho德sess
    May 5th, 2008 19:10 08年5月5日19:10
    11 11日

    [...] without a session save path? [...]會議沒有保存路徑? Fix Session Save Path Red Unwritable When Installing Joomla!固定會議保存道路紅色Unwritable當安裝Joomla ! - Fix Session Save Path Red Unwritable When Installing Joomla! -修復屆保存路徑紅U nwritable當安裝J oomla! My Digital Life [...]我的數字生活[...]

  12. numericalexample.com
    May 11th, 2008 17:40 08年5月11日17:40
    12 12日

    It is indeed cleaner to have the session directory being green in Joomla instead of red (unwritable).這的確是清潔了會議目錄被綠色Joomla不是紅( unwritable ) 。

    The strange thing is that my site still works fine without the session directory being writable.奇怪的是,我的網站仍在正常工作的會議正在寫的目錄。

  13. pilip皮利普
    May 15th, 2008 13:18 2008年五月15日13:18
    13

    muchos gracias. muchos格拉西亞斯。 this helped a lot.這幫助了很多東西。

  14. Phoenix鳳凰
    June 21st, 2008 18:34 2008年6月21號18:34
    14

    excellent post.出色的職位。 helped a lot as the joomla docs/wiki or forum did not have enough info this major issue.幫助了很多的joomla文檔/維基或論壇沒有足夠的信息這一重大問題。 Joomla creators can learn a lot from u. Joomla創作者能夠學到很多東西來自美國

    Thanks謝謝 : )

  15. Pete皮特
    September 1st, 2008 03:31 08年9月1日3時31
    15

    Thank you謝謝您

    Worked like a charm工作像魅力

  16. Germinal生髮
    September 18th, 2008 00:09 08年9月18日00:09
    16

    Realy helpfull buddy.真正有用的好友。
    thaks a lot. thaks了很多東西。

  17. marjan馬里安
    September 27th, 2008 01:28 2008年9月27日1時28分
    17

    THAT WAS VERY HELPFUL, THANK YOU這是非常有益的,謝謝你 : )

Leave a Reply留下一個回复

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> 您可以使用這些標籤: href="" title="">的<a <abbr title=""> <acronym title="">的<b> <blockquote cite=""> <cite>的<code> “刪除日期時間= “ ” “的<em> <i> <q cite=""> <strike>的<strong>

Subscribe without commenting訂閱沒有評論


Custom Search

New Articles新文章

Incoming Search Terms for the Article收到的搜索字詞的文章

Joomla session.save_path Joomla session.save_path - - Session save path Unwritable 會議保存道路Unwritable - - joomla session save path unwriteable joomla屆保存路徑unwriteable - - session.save_path Joomla session.save_path Joomla - - session save path 會議保存路徑 - - joomla session directory joomla會議目錄 - - joomla Session save path joomla屆保存路徑 - - joomla session save path unwritable joomla屆保存路徑unwritable - - Session save path Unwritable 會議保存道路Unwritable - - Unwriteable: Unwriteable : / / - - php_value session.save_path php_value session.save_path - - session save path joomla 會議保存道路joomla - - joomla Session Directory /tmp/ Unwriteable joomla會話目錄/ tmp的/ Unwriteable - - joomla Session Directory / joomla會話目錄/ - - joomla session save path php.ini joomla會議php.ini中保存的路徑 - - Session save path Unwriteable 會議保存道路Unwriteable - - session save path unwritable joomla 會議保存道路unwritable joomla - - session save path unwriteable joomla 會議保存道路unwriteable joomla - - session directory unwritable joomla 會議unwritable joomla目錄 - - joomla unwriteable joomla unwriteable - - ini_set session.save ini_set session.save - - Joomla session.save_path /tmp Joomla session.save_path / tmp的 - - session directory unwritable 會議目錄unwritable - - joomla unwritable joomla unwritable - - joomla session save path not set unwriteable joomla屆保存路徑沒有設置unwriteable - - joomla save session path unwritable 會議joomla保存路徑unwritable - - joomla 1.5 session save path joomla 1.5會議拯救路徑 - - Session save path Unwriteable joomla 會議保存道路Unwriteable joomla - - Session save path Unwriteable 會議保存道路Unwriteable - - Session save path Unwriteable Not set 會議保存道路Unwriteable未設置 - - Session Directory / Unwriteable 會話目錄/ Unwriteable - - htaccess session save path htaccess屆保存路徑 - - joomla session path joomla會議路徑 - - Session save path 會議保存路徑 - - session.save_path apache session.save_path阿帕奇 - - session path joomla 會議路徑joomla - - session save path unwriteable 會議保存道路unwriteable - - Session Directory / joomla 會話目錄/ joomla - - session save path unwriteable expose 會議保存道路unwriteable揭露 - - joomla 1.5 session.save_path joomla 1.5 session.save_path - - Checking if php.ini setting session.save_path='' is writable by the webserver 檢查是否php.ini中設置session.save_path = ''是可寫的Web服務器 - - php5 session joomla php5會議joomla - - session.save_path joomla 1.5 login session.save_path joomla 1.5登錄 - - .htaccess session.save_path 。 htaccess session.save_path - - cpanel php.ini session.save_path php.ini中的cPanel session.save_path - - cpanel .htaccess session.save_path 的cPanel 。 htaccess session.save_path - - get file path from session 獲取文件路徑會議 - - how to set session save path in joomla 如何設置會保存路徑joomla - - how to make a session save path 如何使會議保存路徑 - - how to change Session save path Unwriteable to writeable joomla 如何改變保存路徑會議Unwriteable以寫入joomla - -