Forums / Developer / Undefined index: base_dir. What does it mean?

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

[email protected]
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

[email protected]
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/