From: eindaeast <ein...@gm...> - 2012-11-08 04:28:36
|
> > > 1.Survey form has two error notices at top: there are undefined > > > variables in /public/handler, lines 465,466. > > > <input type="hidden" name="referer" value="" /> > > > <input type="hidden" name="direct" value="" /> > > > > > display_errors = Off > > log_errors = On > Deprecated: Assigning the return value of new by reference is deprecated in > /home/xxxxxxx/xxxxxxx/xxxxxxx/admin/include/lib/adodb/adodb-xmlschema03.inc.php > on line 404 > > Deprecated: Assigning the return value of new by reference is deprecated in > /home/xxxxxxx/xxxxxxx/xxxxxxx/admin/include/lib/adodb/adodb-xmlschema03.inc.php > on line 416 > > Notice: Undefined variable: request_referer in > /home/xxxxxxx/public_html/xxxxxxx/public/handler.php on line 464 > > Notice: Undefined variable: request_direct in > /home/xxxxxxx/public_html/xxxxxxx/public/handler.php on line 465 > > You mention that we need to change the php.ini file. > With my cpanel I can't see one anywhere in the files included in your package. > Should I create one? If so, where? Or should I add the lines in the > phpESP.ini.php file? > > This has only started to be a problem in the last 2 months. Perhaps the hosting > company has updated their php version. > > E I seem to have worked out what to do to fix this. I have created a php.ini file in each of the 4 folders >admin >public >admin>include >admin>include>lib (Didn't seem to fix things unless I put a php.ini in each of those folders.) I added just the following lines to each php.ini file display_errors = Off log_errors = On I also went into the following files and added an @ mark in front of all the "ereg"s. So for example in >admin>include>lib>espauth.inc I used the "find" function after clicking "edit" to find anywhere where "ereg" was written and then added an @ mark before it. Saved the files and now my phpESP is working smoothly with no error messages. >admin>include>lib>espauth.inc >admin>public>survey.php >admin>include>lib>espresponse.inc (lots there but Do NOT put an @ before the "eregi") Thank you again Franky! |