Notice: Undefined index: PROGRAM_DIR

3 posts by 2 authors in: Forums > CMS Builder
Last Post: April 12, 2008   (RSS)

By InHouse - April 11, 2008

Hi there,

I'm suddenly seeing this message pop up in a few places including the Admin > General Settings screen.

Program Directory
Notice: Undefined index: PROGRAM_DIR in /home/<accountName>/public_html/<dirName>/cmsAdmin/lib/menus/admin/general.php on line 99


This error seems to show up in relation to the variable: $_SERVER["SCRIPT_FILENAME"]

Dave: I don't think this is related to the files we have been recently discussing. [cool] This is showing up elsewhere.

Any ideas?

Jayme

Re: [InHouse] Notice: Undefined index: PROGRAM_DIR

By Dave - April 11, 2008

Do you know if your web host upgraded PHP or made any other server changes lately? Or is it possible many not all the files got uploaded correctly during the last upgrade?

The $PROGRAM_DIR variable is defined in /lib/init.php. So you could try re-uploading that file (or checking it for $PROGRAM_DIR = ...). Or if that doesn't help I could login and take a look.

Let me know how I can best help with that.
Dave Edis - Senior Developer
interactivetools.com