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

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

eZ debug

Timing: Jan 31 2025 04:22:51
Script start
Timing: Jan 31 2025 04:22:51
Module start 'layout'
Timing: Jan 31 2025 04:22:51
Module start 'content'
Timing: Jan 31 2025 04:22:51
Module end 'content'
Timing: Jan 31 2025 04:22:51
Script end

Main resources:

Total runtime0.0125 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 588.3828151.2422
Module start 'layout' 0.00490.0023 739.625036.7109
Module start 'content' 0.00730.0038 776.335990.1094
Module end 'content' 0.01110.0014 866.445329.9922
Script end 0.0125  896.4375 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002217.6175140.0002
Check MTime0.00108.3181140.0001
Mysql Total
Database connection0.00086.604710.0008
Mysqli_queries0.002318.091130.0008
Looping result0.00000.095110.0000
Template Total0.00118.710.0011
Template load0.00096.882310.0009
Template processing0.00021.785710.0002
Override
Cache load0.00064.564110.0006
General
dbfile0.00021.979780.0000
String conversion0.00000.062840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs