Undefined index: QUERY_STRING in viewer_functions.php on line 289

5 posts by 2 authors in: Forums > CMS Builder
Last Post: August 31, 2010   (RSS)

Re: [rcrofoot] Undefined index: QUERY_STRING in viewer_functions.php on line 289

By Chris - August 31, 2010

Hi Rick,

Which version of CMS Builder are you using?
All the best,
Chris

Re: [chris] Undefined index: QUERY_STRING in viewer_functions.php on line 289

By rcrofoot - August 31, 2010

Version 1.09

Re: [rcrofoot] Undefined index: QUERY_STRING in viewer_functions.php on line 289

By Chris - August 31, 2010

Hi Rick,

Wow, that's an old version! :)

I believe this is fixed in the latest version of CMS Builder, but if you'd like you can make the change to your own installation. Open up cmsAdmin/lib/viewer_functions.php in a text editor and find line 298. It'll look like this:

$urlDataFields = array(@$_SERVER["PATH_INFO"], $_SERVER["QUERY_STRING"]);

... add an @ here:

$urlDataFields = array(@$_SERVER["PATH_INFO"], @$_SERVER["QUERY_STRING"]);

I hope this helps! Please let me know if you have any questions.
All the best,
Chris

Re: [chris] Undefined index: QUERY_STRING in viewer_functions.php on line 289

By rcrofoot - August 31, 2010

Thanks Chris...That did it...!!!

Rick