From: boardtc <bo...@gm...> - 2013-03-07 15:57:19
|
Ok. That worked, thanks a lot franky. There was the additional upgrade database when I accessed the admin. My survey is now up and I can see my results to date: However before the survey the page shows: - Deprecated: Function ereg() is deprecated in myinstall/admin/include/lib/espauth.inc on line 13 - Deprecated: Function ereg() is deprecated in myinstall/admin/include/lib/espauth.inc on line 16 - Deprecated: Assigning the return value of new by reference is deprecated in myinstall/admin/include/lib/adodb/adodb-xmlschema03.inc.php on line 404 - Deprecated: Assigning the return value of new by reference is deprecated in myinstall/admin/include/lib/adodb/adodb-xmlschema03.inc.php on line 416 - Deprecated: Function ereg_replace() is deprecated in myinstall/public/survey.php on line 18 - Deprecated: Function ereg_replace() is deprecated in myinstall/admin/include/lib/espsql.inc on line 15 What do I have to do to get rid of these messages? thanks, tom. On 6 March 2013 17:13, boardtc <bo...@gm...> wrote: > Good advise and many thanks. I am unsure if I need to blow away the > database once it's installed and restore my old one, I think so. Then I > need to run the 2 upgrade sql files in order and al should be ok. > After installation, I also copy my index.html file over which links the > survey. > > Cheers, > > Tom. > |
From: Franky V. L. <lie...@te...> - 2013-03-07 22:48:37
|
On Thu, 7 Mar 2013 15:56:31 +0000 boardtc <bo...@gm...> wrote: > Ok. That worked, thanks a lot franky. There was the additional upgrade > database when I accessed the admin. My survey is now up and I can see > my results to date: > > However before the survey the page shows: > > - Deprecated: Function ereg() is deprecated in > myinstall/admin/include/lib/espauth.inc on line 13 > - Deprecated: Function ereg() is deprecated in > myinstall/admin/include/lib/espauth.inc on line 16 > - Deprecated: Assigning the return value of new by reference is > deprecated in > myinstall/admin/include/lib/adodb/adodb-xmlschema03.inc.php on line > 404 > - Deprecated: Assigning the return value of new by reference is > deprecated in > myinstall/admin/include/lib/adodb/adodb-xmlschema03.inc.php on line > 416 > - Deprecated: Function ereg_replace() is deprecated in > myinstall/public/survey.php on line 18 > - Deprecated: Function ereg_replace() is deprecated in > myinstall/admin/include/lib/espsql.inc on line 15 > > What do I have to do to get rid of these messages? > > thanks, tom. Tweak your php.ini to not show php warnings (not errors) to the screan (security-wise it is better as well) Franky |
From: boardtc <bo...@gm...> - 2013-03-07 23:16:37
|
On 7 March 2013 22:48, Franky Van Liedekerke <lie...@te...> wrote: > Tweak your php.ini to not show php warnings Cheers Franky. I have been playing with that. My understanding is that it's a setting outside of phpesp and php configuration level, where I turn display_errors off. My isp uses cpanel and it seems I need whm access to get at the pho.ini. The whm login loads on 2087 but my cpanel login does not work. My conclusion is that I need to get ion touch with my isp to sort this one. Am I on the right track? Cheers, Tom. |
From: Franky V. L. <lie...@te...> - 2013-03-07 23:25:02
|
On Thu, 7 Mar 2013 23:15:49 +0000 boardtc <bo...@gm...> wrote: > On 7 March 2013 22:48, Franky Van Liedekerke <lie...@te...> > wrote: > > > Tweak your php.ini to not show php warnings > > > Cheers Franky. I have been playing with that. My understanding is > that it's a setting outside of phpesp and php configuration level, > where I turn display_errors off. My isp uses cpanel and it seems I > need whm access to get at the pho.ini. The whm login loads on 2087 > but my cpanel login does not work. My conclusion is that I need to > get ion touch with my isp to sort this one. Am I on the right track? > > Cheers, > > Tom. You have 3 options: - contact your isp - do it yourself, in a .htaccess file this should work as well (if not disabled by your isp) - or change the calls to ereg to their preg-variant (I recommend this) Franky |
From: boardtc <bo...@gm...> - 2013-03-07 23:48:33
|
On 7 March 2013 23:24, Franky Van Liedekerke <lie...@te...> wrote: > > You have 3 options: > - contact your isp > - do it yourself, in a .htaccess file this should work as well (if not > disabled by your isp) > - or change the calls to ereg to their preg-variant (I recommend this) > > Franky > Excellent. I like correcting the code too. I'm confused though as it's phpesp code from v2.1.1 as opposed to mine, so I'm not following why I should have to edit it rather than an upgrade script.... Anyway, can you please point me to somewhere which can give me information on what to change these calls to? |
From: Eric H. <eh...@la...> - 2013-03-08 00:26:55
|
If you are using this (2.1.4) with cPanel, #1 don't use fantastico. #2 once you installed it yourself follow these instructions to get it working without all the "deprecated" errors. Create 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 admin>include>lib>espauth.inc admin>public>survey.php admin>include>lib>espresponse.inc (lots there but Do NOT put an @ before the "eregi") 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. Thank you again Franky! On Mar 8, 2013, at 8:24 AM, Franky Van Liedekerke <lie...@te...> wrote: > On Thu, 7 Mar 2013 23:15:49 +0000 > boardtc <bo...@gm...> wrote: > >> On 7 March 2013 22:48, Franky Van Liedekerke <lie...@te...> >> wrote: >> >>> Tweak your php.ini to not show php warnings >> >> >> Cheers Franky. I have been playing with that. My understanding is >> that it's a setting outside of phpesp and php configuration level, >> where I turn display_errors off. My isp uses cpanel and it seems I >> need whm access to get at the pho.ini. The whm login loads on 2087 >> but my cpanel login does not work. My conclusion is that I need to >> get ion touch with my isp to sort this one. Am I on the right track? >> >> Cheers, >> >> Tom. > > You have 3 options: > - contact your isp > - do it yourself, in a .htaccess file this should work as well (if not > disabled by your isp) > - or change the calls to ereg to their preg-variant (I recommend this) > > Franky > > ------------------------------------------------------------------------------ > Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester > Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the > endpoint security space. For insight on selecting the right partner to > tackle endpoint security challenges, access the full report. > http://p.sf.net/sfu/symantec-dev2dev > _______________________________________________ > phpESP-general mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/phpesp-general |
From: boardtc <bo...@gm...> - 2013-03-08 00:40:02
|
All gone, thank you guys so much!! Cheers, Tom. On 8 March 2013 00:10, Eric Hagley <eh...@la...> wrote: > If you are using this (2.1.4) with cPanel, #1 don't use fantastico. #2 > once you installed it yourself follow these instructions to get it working > without all the "deprecated" errors. Create 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 admin>include>lib>espauth.inc > admin>public>survey.php admin>include>lib>espresponse.inc (lots there but > Do NOT put an @ before the "eregi") 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. Thank you again Franky! > |