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瀏覽器,基於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!修復和解決問題的根本配置會議保存路徑變量在Web伺服器環境,使該屆會議上保存的路徑將會顯示為可寫時, 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.如果您有根訪問或控制到Web主機(例如,在電子道路收費或專用服務器) ,編輯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 session.save_path = /川芎嗪

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' 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 session.save_path = /川芎嗪

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'); 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 ); 界定( ' rg_emulation ' , 1 ) ;

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

define( 'RG_EMULATION', 0 ); 界定( ' 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'); session_save_path ( ' public_html /會議' ) ;

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\" php_value session.save_path的“ C : \氣溫\ ”

Change the path “C:\Temp\” to the path to the folder created.更改路徑的“ C : \氣溫\ ”文件夾的路徑建立。 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 (全日制讀,寫和執行) ,以便對於Apache ,以便能夠寫進目錄。

Above resolutions should work for both Linux, FreeBSD, Unix and Windows based web server.上述決議應工作在Linux , FreeBSD的, Unix和基於Windows的Web服務器。 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 : You're reading a machine translated page which is provided "as is" without warranty. 重要說明:您正在閱讀的機器翻譯網頁是“按原樣”提供的擔保。 Unlike human translation, machine translation does not understand the grammar, semantics, syntax, idioms of natural language, thus often produce inaccurate and low quality text which is misleading and incomprehensible.不像人類翻譯,機器翻譯不明白的語法,語義,語法,成語自然語言,因此,往往產生不準確的和低品質的文字,是具誤導性的和難以理解的。 Thus, please refer to因此,請參閱 original English article英文原版的文章 whenever possible.只要有可能。

MDL blog postings now continue at MDL公司博客帖子現在繼續在 Tip and Trick 提示和伎倆 , and readers are welcome to join ,和讀者都歡迎參加 My Digital Life Forums 我的數字生活論壇 .


12 Responses to “Fix Session Save Path Red Unwritable When Installing Joomla!” 12回應“修正會議的保存路徑紅色unwritable安裝時, joomla ” !

  1. milosh
    December 1st, 2007 02:31 2007年12月1日2時31分
    1

    That was very helpfull thank you..這是非常有幫助,謝謝.. ; )

  2. Dave戴夫
    December 7th, 2007 14:05 2007年12月7日14時05分
    2

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

  3. sejum
    January 1st, 2008 09:44 2008年1月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 2008年1月26日0時22分
    4

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

  5. SANDY沙質
    February 9th, 2008 13:05 2008年2月9日13時05分
    5

    omg- ur article truly just helped me!!! omg烏拉圭回合的文章,真正剛才幫我! Thank you SO SO SO VERY MUCH!!!謝謝你,所以,所以十分!

  6. Victor Noe維克托noe
    March 14th, 2008 15:35 2008年3月14日15時35分
    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 /庫/ php.ini中

  7. Patsy Caldwell patsy考德威爾
    March 19th, 2008 05:39 2008年3月19日5時39分
    7

    This article was a lifesaver!此文章是一個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年4月17日19時29分
    8

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

  9. reza雷札
    April 17th, 2008 21:15 2008年4月17日21時15分
    9

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

  10. Zeon zeon
    April 21st, 2008 23:33 2008年4月21日23時33分
    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 2008年5月5日19時10分
    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 2008年5月11日17時40分
    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.但奇怪的是我的網站仍然是工程的罰款,沒有會議的目錄被寫入。

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> 您可以使用這些標籤:的<a href="" title=""> <abbr title=""> <acronym title="">的<b> <blockquote cite=""> <cite>的<code> <刪除日期時間= “ ” >的<em>的<i> <q cite=""> <strike>的<strong>

Subscribe without commenting訂閱無評論



Incoming Search Terms for the Article傳入的搜索條件文章

joomla session.save_path joomla session.save_path - - joomla session save path joomla會議的保存路徑 - - session save path unwritable 會議的保存路徑unwritable - - Session save path 會議的保存路徑 - - Joomla Session Save Path Unwriteable joomla會議的保存路徑unwriteable - - Session save path Unwriteable 會議的保存路徑unwriteable - - joomla Session save path unwritable joomla會議的保存路徑unwritable - - Session save path joomla 會議的保存路徑joomla - - session.save_path joomla session.save_path joomla - - Joomla session directory joomla會議目錄 - - Session save path Unwriteable joomla 會議的保存路徑unwriteable joomla - - joomla Session save path Unwriteable joomla會議的保存路徑unwriteable - - Session save path Unwriteable joomla 會議的保存路徑unwriteable joomla - - joomla Session Directory Unwriteable joomla會議目錄unwriteable - - Session save path Unwriteable 會議的保存路徑unwriteable - - joomla session path unwritable joomla會議路徑unwritable - - joomla change session Directory joomla改變會議目錄 - - joomla Session Directory joomla會議目錄 - - Session Directory unwriteable 會議目錄unwriteable - - The session save path is not defined in your php.ini (/usr/local/lib/php.ini) file! 本屆會議的保存路徑是沒有界定在你的php.ini (是/ usr / local / lib目錄/ php.ini中)文件! - - joomla 1.5 session.save_path joomla 1.5 session.save_path - - joomla problem session save path joomla問題會議的保存路徑 - - session path unwritable 會議路徑unwritable - - set session save path 會議定保存路徑 - - joomla Session save path Unwriteable joomla會議的保存路徑unwriteable - - session directory unwritable 會議目錄unwritable - - session directory joomla 會議目錄joomla - - joomla 1.5 Session save path Unwriteable joomla 1.5會議的保存路徑unwriteable - - Session save path Unwriteable 會議的保存路徑unwriteable - - Unwriteable: unwriteable : / / - - configuration.php unwriteable joomla configuration.php unwriteable joomla - - joomla Session save path joomla會議的保存路徑 - - joomla session directory unwritable joomla會議目錄unwritable - - Session save path Unwriteable 會議的保存路徑unwriteable - - Session save path not set 會議的保存路徑沒有設置 - - joomla session save path not set joomla會議的保存路徑沒有設置 - - joomla change session path joomla改變會議路徑 - - joomla php connection limit joomla的PHP連接限制 - - joomla session.save_path install joomla session.save_path安裝 - - joomla session joomla會議 - - joomla unwritable joomla unwritable - - save session path joomla 節省會議路徑joomla - - Session Directory / unwritable 會議目錄/ unwritable - - save session path 節省會議路徑 - - Session save path Unwriteable 會議的保存路徑unwriteable - - Session save path joomla 會議的保存路徑joomla - - joomla "Session save path" joomla “會議的保存路徑” - - joomla session folder joomla會議的文件夾 - - joomla,php.ini,session joomla , php.ini中,會議 - - Session save path Unwriteable joomla 會議的保存路徑unwriteable joomla - -