Forums / Install & configuration / Successful Install but Warning messages in ezsession

Successful Install but Warning messages in ezsession

Author Message

Rainer Wanner

Sunday 17 August 2003 1:30:33 pm

I have installed ez3 under /opt/web1/html/cez3
The installation seems to work. Unfortunately I get the following warnings on each page. It doesnt matter if Im in the admin, demo or user area: There are always the same messages:

Warning: ezsessionwrite() [function.ezsessionwrite]: open_basedir restriction in effect. File(./lib/ezdb/classes/ezdb.php) is not within the allowed path(s): (/opt/web1/) in /opt/web1/html/cez3/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 /opt/web1/html/cez3/lib/ezutils/classes/ezsession.php on line 77

Warning: ezsessionwrite() [function.ezsessionwrite]: Failed opening 'lib/ezdb/classes/ezdb.php' for inclusion (include_path='.:/usr/share/php:/opt/web1/html/cez3/') in /opt/web1/html/cez3/lib/ezutils/classes/ezsession.php on line 77

In my installation open_basedir is:
/opt/web1/
I have no idea what to do. It would be fine if someone is able to help me.

Best Regards,
Rainer

Rainer Wanner

Thursday 21 August 2003 7:31:37 am

It seems that I found the solution for my own problem. I am working on a virtual server that says safe mode = off inside the php.ini-file. Unfortunately Confixx tries to override the php.ini settings. Entering the safe mode settings in Confixx httpd special menu solves the problem.

Rainer

Rainer Wanner

Monday 15 September 2003 2:48:46 am

There is another solution available:
Put in the complete absolute path on line 77 in ezsession.php and the warning will disappear!

Best Regards,
Rainer