Safe mode restriction

Author Message

Mary Evans

Monday 03 November 2003 4:18:26 am

PHP Error: Warning: file_exists() [function.file-exists]: SAFE MODE Restriction in effect. The script whose uid is 72 is not allowed to access / owned by uid 0 in /var/www/tinlizzie/lib/ezi18n/classes/ezcodepage.php on line 575

I get the message shown in the title when I try to set up EZ. The opening graphic appears with that message across the top of it. I am trying to install EZ 3.2.3.

I have run 'modfix.sh,' so the permissions in var are set.

I have searched the forum for questions similar to this, and have read all those responses that have to do with permissions. (I am about halfway between newbie and competent when it comes to Linux, and my PHP knowledge is limited. I am also running my own server, so tweaking things should be no problem. <==famous last words!)

If someone would point me toward a solution, I'd appreciate it.

mary

Jo Henrik Endrerud

Monday 03 November 2003 4:28:54 am

Looks like you have safe mode enabled. This is not posible with eZ publish. Edit your php.ini file and set the safe_mode variable to off

Jo Henrik Endrerud | System Developer @ Seeds Consulting | http://www.seeds.no

Mary Evans

Monday 03 November 2003 4:44:10 am

I have been researching the file_exists(), and have an idea that it is not PHP but Apache that is causing the error. I'll be digging into it further, and if I find the solution, I'll post here.

Meanwhile, if anyone else knows, thanks in advance for the help.

By the way, my set up is Apache 2 (Mandrake Linux 9.1) - - -

In looking up my PHP version, much to my surprise, PHP is NOT INSTALLED!!! I have no php.ini in /etc.

Sigh. Ignore my questions for now. I've got to investigate to see what happened and why a package I explicitly chose did not get installed.

Thanks, all.

Mary

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 18 2025 19:06:30
Script start
Timing: Jan 18 2025 19:06:30
Module start 'layout'
Timing: Jan 18 2025 19:06:30
Module start 'content'
Timing: Jan 18 2025 19:06:31
Module end 'content'
Timing: Jan 18 2025 19:06:31
Script end

Main resources:

Total runtime0.7969 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 589.0469152.6250
Module start 'layout' 0.00640.0040 741.671939.4609
Module start 'content' 0.01040.7849 781.1328494.6484
Module end 'content' 0.79530.0016 1,275.781312.1719
Script end 0.7969  1,287.9531 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4185160.0002
Check MTime0.00140.1792160.0001
Mysql Total
Database connection0.00170.217810.0017
Mysqli_queries0.743493.2881570.0130
Looping result0.00060.0798550.0000
Template Total0.751694.320.3758
Template load0.00400.506720.0020
Template processing0.747693.809720.3738
Template load and register function0.00020.029310.0002
states
state_id_array0.00230.286310.0023
state_identifier_array0.00160.198520.0008
Override
Cache load0.00360.4460190.0002
Sytem overhead
Fetch class attribute can translate value0.00180.231820.0009
Fetch class attribute name0.00130.162430.0004
XML
Image XML parsing0.00030.034320.0001
class_abstraction
Instantiating content class attribute0.00000.001030.0000
General
dbfile0.00150.1928100.0002
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs