loadINI: Undefined array key "PATH_INFO" while upgrading from 2.14 to 3.65

9 posts by 4 authors in: Forums > CMS Builder
Last Post: August 26   (RSS)

I have a site that I have to upgrade from 2.14 to 3.65.  I get the following error while doing the upgrade:

loadINI: Undefined array key "PATH_INFO"

This is at the earliest spot in the upgrade, so I think it's OK to not restore the database.  If I take it back to the saved cmsAdmin folder, it comes up OK.

I looked at the software and it seems to be doing the right thing with PATH_INFO, but I can't say for sure.

I am looking at the code now, but there is quite a bit.  Has anyone run into this?

I am not running through the command line nor is there any more for the error message.  That is it.  I will look at the database directly to see if there are any scheduled tasks, but I doubt it.

I was hoping you'd have a bit of a better answer :).  Oh well, I will try to solve it on my own.

Now I have two sites that won't upgrade because of loadINI: Undefined array key "PATH_INFO".  I will have to solve this condition quickly.

Hi Gary, 

If you can fill out the 2nd level support request we can take a look for you to get you up and running ASAP:

https://interactivetools.com/support/request/

Dave Edis - Senior Developer
interactivetools.com

I did that!

Wow, that is strange...The PATH_INFO error was coming out of parse_ini_file which is built in to PHP.  

I commented out the die() statement from within loadINI and it seemed to work without issue...at least that I have seen.

I'm going to do the same for the other site that is a problem right now, but food for thought on this one.  

Hey Gary,

I commented out the die() statement from within loadINI and it seemed to work without issue...at least that I have seen.

That fix is fine to leave in, it won't cause any problems elsewhere.

We tracked down the root cause on our end, and it's patched in the next release.

Christine Finlay - Senior Developer
interactivetools.com

That's great.  Thank you for getting back to me.