From: eindaeast <ein...@gm...> - 2012-11-06 08:30:11
|
Franky Van Liedekerke <liedekef <at> telenet.be> writes: > > On Fri, 26 Mar 2010 21:00:14 -0000 > "Nick Coleman" <nick <at> nickcoleman.net> wrote: > > > Hi, I appear to have created some bugs: > > > > I have updated phpESP to the latest version but, > > > > 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="" /> > > > > 2. I have filled in box on General page for email notification, but > > am not getting any. > > > > 3. on submitting, get Thanks page of errors, all on line 386 > > Notice: Undefined offset: 3 in > > /home/bridlew1/public_html/survey/public/handler.php on line 386 > > Notice: Undefined offset: 4 in > > /home/bridlew1/public_html/survey/public/handler.php on line 386 > > And these two lines repeat themselves all the way down the page. > > Return > > > > Thanks for helping > > Nick > > Hi, > > it seems you have your error level in php.ini way too high. Remember > that showing php notices to the public is a security risk, showing eg. > the path to the script (as in your case). The recommended settings in > php.ini are: > > display_errors = Off > log_errors = On > Many thanks for your work on the phpESP project Franky. I'm most grateful. I'm also having problems recently with the following 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. If you or anyone else could help, I would be most grateful. Kind regards, E |