Undefined index: base_dir. What does it mean?

Author Message

Stuart Fenton

Tuesday 20 January 2004 11:21:24 am

I'm getting the following error. What does it mean?

Undefined index: base_dir in /dev/kernel/common/eztemplatedesignresource.php on line 362

Any help would be appreciated.

Thanks
Fats.

-- Stuart

stuart@grandmore.com
http://www.grandmore.com

Eirik Alfstad Johansen

Wednesday 21 January 2004 2:50:17 am

Hi Fats,

The out the basedir restriction in your php.ini file. If it set to on, that's probably what's causing the problem.

Sincerely,

Eirik Johansen

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Stuart Fenton

Wednesday 21 January 2004 6:55:09 am

Thanks for the answer but I don't understand which preference in site.ini that is set to 'on'

Could you explain further.

Thanks again for your help.

-- Stuart

stuart@grandmore.com
http://www.grandmore.com

Eirik Alfstad Johansen

Wednesday 21 January 2004 7:08:37 am

Hi Fats,

Not the site.ini file, but the php.ini file, the ini file for your PHP installation. If you're uncertain, contact you web host asking them if their PHP installation has any basedir restriction applied to your site and, if they do, if you can disable it.

Sincerely,

Eirik Johansen

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

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 05:33:42
Script start
Timing: Jan 31 2025 05:33:42
Module start 'layout'
Timing: Jan 31 2025 05:33:42
Module start 'content'
Timing: Jan 31 2025 05:33:42
Module end 'content'
Timing: Jan 31 2025 05:33:42
Script end

Main resources:

Total runtime0.0212 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.0051 588.2656151.2266
Module start 'layout' 0.00510.0022 739.492236.6797
Module start 'content' 0.00740.0121 776.171994.1875
Module end 'content' 0.01940.0018 870.359433.9922
Script end 0.0212  904.3516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002511.6639140.0002
Check MTime0.00104.9278140.0001
Mysql Total
Database connection0.00073.385510.0007
Mysqli_queries0.002310.762530.0008
Looping result0.00000.051610.0000
Template Total0.00135.910.0013
Template load0.00094.468710.0009
Template processing0.00031.431210.0003
Override
Cache load0.00063.051010.0006
General
dbfile0.002411.267680.0003
String conversion0.00000.028140.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