Install errors on 3.61

Author Message

Tormod Seljenes

Thursday 18 August 2005 11:54:30 pm

I have listed here the errors I get when trying to install EZ at my webhost cliche.no.

If anybody would like to help here is the link to the info file http://www.seljenes.no/info.php.

I have installed the package on my local computer it worked out fine but I seem to have a bunch of problems here.

I tried ignoring the tests here but at the end I get an error message, and when I go to http://www.seljenes.no the install wizard pops back up.

I can se that the DB is populated though.

ErrorMessages
------------
<b>Warning</b>

* open_basedir
o open_basedir is in use and can give problems running eZ publish due to bugs in some PHP versions.
o It's recommended that it is turned off if you experience problems running eZ publish.

<b>System check</b>

There are some important issues that have to be resolved. A list of issues / problems is presented below. Each section contains a description and a suggested / recommended solution.

Once the problems / issues are fixed, you may click the Next button to continue. The system check will be run again. If everything is okay, the setup will go to the next stage. If there are problems, the system check page will reappear.

Some issues may be ignored by checking the Ignore this test checkbox(es); however, this is not recommended.

It is also possible to do some finetuning of your system, click Finetune instead Next if you want to see the finetuning hints.
Issues
1. PHP safe mode is enabled

eZ publish may work with safe mode on, however there might be several features that will be unavailable. Some of the things that might occur are:

* Not possible to extend time limits
o Some parts of eZ publish relies on cronjobs to handle workflows etc., and may require a longer time to run than normal page loads. With this on the cronjob scripts will not succeed.
* Wrong permissions
o If the site is not setup correctly eZ publish will not be able to work with files correctly, this could mean file uploads, image handling and cache creation. Safe mode requires that the same owner is set on the index.php script and all other files for the site.
* File uploading
o Uploading files trough the web will not possible unless configured correctly. This means that images, files and media will not be possible to use.

It's recommended that the option is turned off. To turn it off edit your php.ini configuration and set safe_mode to Off. More information on the subject can be found at php.net.
php.ini example:

safe_mode = 0

If you're not able to turn safe mode off you should try to fix the following issues.
Permissions

To make sure that all files have the correct user and group owner run the following commands.

cd /home/virtual/seljenes.no/public_html
chown nouser.nouser *.php
chown -R nouser.nouser cronjobs design doc lib settings update kernel sdk share var

Alternatively you may run

cd /home/virtual/seljenes.no/public_html
chown nouser.nouser -R *

If you only have access to the site using ftp you will have to consult your ftp client and server to see if it is possible to run the chown command.

Note: The nouser.nouser must be changed to your webserver username and groupname.

<b>Ignore this test</b>

2. AcceptPathInfo disabled or running in CGI mode

You need to enable AcceptPathInfo in your Apache config file, if you're using apache 2.x. If you're running apache 1.3, eZ publish will not run in CGI mode.

Check the Apache documentation, or enter the following into your httpd.conf file.
AcceptPathInfo On

Remember to restart your web server afterwards.

Regards

Łukasz Serwatka

Friday 19 August 2005 12:22:37 am

safe_mode is locally On, ask your administrator if he can disable safe_mode for your eZ publish directory. Then installation should goes fine. You are using Apache 1.3 with mod_php so you can ignore last error.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Tormod Seljenes

Friday 19 August 2005 2:05:46 am

Thanx alot! I have asked - hope they fix it fast. Just for knowing - there is no way I can do this through .htaccess or anything else?

This has to be done by system admin right?

Łukasz Serwatka

Friday 19 August 2005 2:12:58 am

safe_mode has flag PHP_INI_SYSTEM, this means that value can be set in php.ini or httpd.conf, not via .htaccess if you have access to those files you can do this by yoursefl.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.