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 : 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 我的数字生活论坛 .



14 Responses to “Fix Session Save Path Red Unwritable When Installing Joomla!” 14日的反应“修正会议的保存路径红色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 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 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年5月15日13时18分
    13 13日

    muchos gracias. muchos格拉西亚。 this helped a lot.这帮助了很多。

  14. Phoenix凤凰
    June 21st, 2008 18:34 2008年6月21日18时34分
    14 14日

    excellent post.优秀的职位。 helped a lot as the joomla docs/wiki or forum did not have enough info this major issue.帮助了很多作为joomla文件/ Wiki上或论坛没有足够的信息这个重大问题。 Joomla creators can learn a lot from u. joomla创作者能够学到很多东西,从美国

    Thanks谢谢 : )

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订阅无评论


Custom Search

New Articles新的条款,

Incoming Search Terms for the Article传入的搜索条件文章

session save path unwritable 会议的保存路径unwritable - - session save path 会议的保存路径 - - joomla session save path joomla会议的保存路径 - - joomla session.save_path joomla session.save_path - - joomla session directory joomla会议目录 - - Joomla session save path unwriteable joomla会议的保存路径unwriteable - - session save path joomla 会议的保存路径joomla - - joomla Session save path unwritable joomla会议的保存路径unwritable - - session.save_path joomla session.save_path joomla - - Session save path 会议的保存路径 - - joomla Session save path Unwriteable joomla会议的保存路径unwriteable - - session save path in joomla 会议的保存路径,在joomla - - joomla unwritable joomla unwritable - - joomla Session save path Unwriteable joomla会议的保存路径unwriteable - - Session save path Unwriteable 会议的保存路径unwriteable - - Session save path unwritable joomla 会议的保存路径unwritable joomla - - Session save path Unwriteable joomla 会议的保存路径unwriteable joomla - - Session save path Unwritable 会议的保存路径unwritable - - session directory joomla 会议目录joomla - - joomla session directory unwriteable joomla会议目录unwriteable - - joomla session path joomla会议路径 - - session save path unwriteable 会议的保存路径unwriteable - - Session save path Unwriteable 会议的保存路径unwriteable - - session.save_path session.save_path - - joomla session directory unwritable joomla会议目录unwritable - - Session save path Unwriteable joomla 会议的保存路径unwriteable joomla - - joomla 1.5 session save path joomla 1.5会议的保存路径 - - joomla Session save path joomla会议的保存路径 - - session save path htaccess 会议的保存路径htaccess的 - - joomla "Session save path" joomla “会议的保存路径” - - Session save path Unwriteable joomla 会议的保存路径unwriteable joomla - - Unwriteable: unwriteable : / / - - joomla Session save path Unwriteable joomla会议的保存路径unwriteable - - session directory unwriteable 会议目录unwriteable - - Session save path Unwriteable 会议的保存路径unwriteable - - joomla Session save path Unwriteable joomla会议的保存路径unwriteable - - joomla Session Directory / joomla会议目录/ - - Session save path Unwritable 会议的保存路径unwritable - - joomla Session Directory joomla会议目录 - - unwritable joomla unwritable joomla - - joomla session unwritable joomla会议unwritable - - session.save_path .htaccess session.save_path 。 htaccess的 - - Session save path Unwriteable joomla 会议的保存路径unwriteable joomla - - Session Save path: 会议的保存路径: - - Session Directory / joomla 会议目录/ joomla - - joomla directories unwriteable joomla目录unwriteable - - joomla session save joomla会议的保存 - - session save path not set 会议的保存路径没有设置 - - how can i do Session save path in joomla 1.0 writable 我可以如何保存路径届会议在joomla 1.0写入 - - joomla unwriteable joomla unwriteable - -