From: Wouter v. G. <wo...@th...> - 2001-12-16 12:32:08
|
Hhhhm, this sounds like the script is unable to find a few files. What is the contents of the html file where you pasted the php code ? Have you done all the configuration according to the README ? I remember that I had to edit the handler.php file as well and give it the correct path to the phpESP files ! And be sure that the connection info (user, pass, host) for the Mysql-database is OK. Can you connect to MySQL using a shell ? shell> mysql -u [yourusername] -p ? grt Wouter [On 16 Dec, 2001, David Richard wrote in " Re: [phpesp-general] Really stupid Question!!! phpESP Release 1.3rc1 "] > Thanks Wouter, > > I've done as you've suggested and now get the following errors!!! It's > progress nevertheless!!!! > > Fatal error: Maximum execution time of 30 seconds exceeded in > /home/sites/site40/web/bqfsurveys/admin/phpESP.ini on line 16 > Fatal error: Maximum execution time of 30 seconds exceeded in > /home/sites/site40/web/bqfsurveys/admin/include/funcs.inc on line 45 > Fatal error: Maximum execution time of 30 seconds exceeded in > /home/sites/site40/web/bqfsurveys/admin/include/funcs.inc on line 44 > Warning: Supplied argument is not a valid MySQL result resource in > /home/sites/site40/web/bqfsurveys/admin/include/lib/espsql.inc on line 31 > > Warning: Supplied argument is not a valid MySQL result resource in > /home/sites/site40/web/bqfsurveys/admin/include/lib/espsql.inc on line 32 > > Warning: Cannot add header information - headers already sent by (output > started at /home/sites/site40/web/survey.php:8) in > /home/sites/site40/web/bqfsurveys/admin/phpESP.ini on line 151 > > HTTP 503 Service Unavailable > [ Connection to database failed. Please check configuration. ] > > All my admin functions work fine, so do the test functions. Absolutely no > errors. It seems, that the error only occurs when I 'past the php string > produced from the admin program' and then try to access from the web. > > Any ideas? > > Thanks again > > David > > ----- Original Message ----- > From: "Wouter van Gils" <wo...@th...> > To: "David Richard" <dav...@bt...> > Cc: <php...@li...> > Sent: Saturday, December 15, 2001 11:43 PM > Subject: Re: [phpesp-general] Really stupid Question!!! phpESP Release > 1.3rc1 > > > > well, > > > > whatever file you want on a server that supports php. So if you > > have a home-dir on a server that supports PHP than put de line of > > code in a file called (e.a.) survey.php > > (/home/yourusername/survey.php) and make it world > > readable, > > > > -Wouter > > > > > > > > > > > > [On 15 Dec, 2001, David Richard wrote in " [phpesp-general] Really stupid > Question!!! phpESP Release 1.3rc1 "] > > > I've loaded everything and it's running in test mode great. Release > V1.3rc1. > > > > > > However....... > > > > > > I get the php code to include in my html file but which html file!!!? > > > > > > What directory should it be place in etc. > > > > > > I told you it was a stupid question but I can't use ESP fpr real until I > > > know the answer. please take pity and help me please. > > > > > > David > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > phpESP-general mailing list > > > php...@li... > > > https://lists.sourceforge.net/lists/listinfo/phpesp-general > > > > -- > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Wouter van Gils -=- wo...@th... > > http://the-construct.cx/ > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > _______________________________________________ > > phpESP-general mailing list > > php...@li... > > https://lists.sourceforge.net/lists/listinfo/phpesp-general > > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Wouter van Gils -=- wo...@th... http://the-construct.cx/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |