Share » Forums » Install & configuration » The same old questiuon baout "Safe mode"

The same old questiuon baout "Safe mode"

The same old questiuon baout "Safe mode"

Sunday 15 June 2003 6:34:11 am - 3 replies

Author Message

barry voeten

Sunday 15 June 2003 7:40:28 am

Hi
I haven't installed Ez yet but I have seen this before. The problem is this:
* you have put the files of ez as user 1534. This is normal and should't be changed.
* The var-cache/ini directory has been made by user nr 33 (probably apache or so).
* Problem is : These users aren't the same.

Now you should try to chown that cache directory or file, either by a "chown yourlogin thefile" or simply (first make a copy), remove it by ftp and put it back.

Just a guess, so If it don't work maybe read the docs or maybe someone else will help

Barry

Huib Kleinhout

Sunday 15 June 2003 10:38:04 am

Each time ezp creates a dir, for example cache. ezp can't access it because user 33 (apache/iis..) is the owner. Ezp will keep creating directories (for caching images, templatese etc) so chown/chmod the cache dir won't help.
The only thing you can do is chowning all files to user 33. If you don't have shell access you need to reinstall ezp by using a special php script which untars/unzips the ezpublish package as user 33.

cheers,
Huib

Wolfgang Hofbauer

Monday 16 June 2003 3:09:05 am

Thanks for the tip with the FTP_delete and new uplaode the VAR-Directory. So I could manage the installation. But now I can't login because of the following error: "Warning: ezsessionwrite() [function.ezsessionwrite]: open_basedir restriction in effect. File(./lib/ezdb/classes/ezdb.php) is not within the allowed path(s): (/var/www/web353/) in /var/www/web353/html/ezp/lib/ezutils/classes/ezsession.php on line 77

Warning: ezsessionwrite(lib/ezdb/classes/ezdb.php) [function.ezsessionwrite]: failed to create stream: Operation not permitted in /var/www/web353/html/ezp/lib/ezutils/classes/ezsession.php on line 77

Warning: ezsessionwrite() [function.ezsessionwrite]: Failed opening 'lib/ezdb/classes/ezdb.php' for inclusion (include_path='.:/usr/lib/php:/var/www/web353/html/ezp/') in /var/www/web353/html/ezp/lib/ezutils/classes/ezsession.php on line 77

Can you help me with this one, too?

Thank you
Wolfgang

@Huib: where can I get this script from? This would be a very handy tool, I guess.

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu