From: Franky V. L. <lie...@te...> - 2007-07-04 06:51:39
|
Hi Steve, glad that part already works. If your questions are entered into the db and the survey shows up as expected, it means that you have an sql error when the results are put into the db. Have you created the db from scratch? Or applied the mysql_update-1.8.2h-1.8.2i.sql mysql patch? Can you mail me the currect db structure you have? Then I'll compare with mine. It *is* always possible that I forgot to update a table in my released version, but I don't believe so ... Franky Steve Bolton wrote: > Hi Franky, > I downloaded the current adodb and it corrected the error notifications. > The survey pages look good and it generates an email. However, no record > has been entered in the database. How can I evaluate why no record is > created? > Thanks, > Steve > > > > > -----Original Message----- > From: Franky Van Liedekerke [mailto:lie...@te...] > Sent: Tuesday, July 03, 2007 8:21 AM > To: Steve Bolton > Cc: php...@li... > Subject: Re: [phpesp-general] Error on page 2, ver 1.8.2j > > Is the error (notice) still shown? > Also: have you tried my first suggestion and use the adodb lib your > provider uses (if he has adodb installed)? > > And if you can't use the one from your povider, maybe you can use the > latest adodb libs: > http://sourceforge.net/project/showfiles.php?group_id=42718 > ==> download adodb495a.tgz and uncompress. Replace the old adodb dir > (admin/include/lib/adodb) with the one in this tgz file > > Hope this helps. Again: let me know the results ... I'll probably update > the included adodb to the latest version anyway. > > Franky > > Steve Bolton wrote: >> Makes no difference. I even tried >> error_reporting(0); >> I'm putting it just above the 'use http or https? Question in the ini >> file >> >> Also, no records are being entered into the database. >> >> Steve >> >> -----Original Message----- >> From: Franky Van Liedekerke [mailto:lie...@te...] >> Sent: Tuesday, July 03, 2007 7:47 AM >> To: Steve Bolton >> Cc: php...@li... >> Subject: Re: [phpesp-general] Error on page 2, ver 1.8.2j >> >> Ok, you bumped into a php4 "bug". But since it is only a php notice, >> it is in fact not an error at all. >> So what you can do, is to disable the notices at runtime (which is >> more secure anyway). For this, add the following line at the beginning > >> of >> admin/phpESP.ini.php: >> >> error_reporting(E_ALL ^ E_NOTICE); >> >> (see http://be.php.net/manual/en/function.error-reporting.php) >> >> Let me know what this does for you. If it works ok, I'll add the line >> for the next version. >> >> Franky >> >> Steve Bolton wrote: >>> Here are the results from the test page. It shows PHP 4.4.6 This is >>> on >> a >>> hosted site (MyDomain.com). Any other suggestions? >>> Steve >>> >>> PHP Information >>> * Version: 4.4.6 >>> * OS: Linux >>> * SAPI: apache2handler >>> * register_globals: Yes >>> * magic_quotes_gpc: Yes >>> * magic_quotes_runtime: No >>> * safe_mode: No >>> * open_basedir: /usr/local/pem/vhosts/119550 >>> >>> PHP Extensions >>> * dBase: No >>> * GD: Yes -- bundled (2.0.28 compatible) >>> * GNU Gettext: Yes >>> * LDAP: Yes >>> * MySQL: Yes >>> * PHP Extension Dir (compiled): /usr/lib/php4 >>> * PHP Extension Dir (run time): /usr/lib/php4 >>> >>> phpESP Settings >>> * Expected ESP_BASE: >>> /usr/local/pem/vhosts/119550/webspace/httpdocs/phpESP/ >>> * Expected base_url: www.corvalgroup.com/phpESP/ >>> * Loading phpESP.ini.php ... >>> * ESP_BASE: > /usr/local/pem/vhosts/119550/webspace/httpdocs/phpESP/ >>> * base_url: http://www.corvalgroup.com/phpESP/ >>> * Version: 1.8.2j >>> * Debug: No >>> >>> phpESP Language Settings >>> * GNU Gettext: Real >>> * default_lang: en_US >>> * current lang: en_US >>> * available langs: da_DK, de_DE, el_GR, en_US, es_ES, fi, fi_FI, >>> fr_FR, hu_HU, it_IT, ja_JP, nl_NL, pt_BR, pt_PT, sv_SE >>> (da, de, el, en, es, fi, fr, it, ja, nl, pt, sv) >>> * GNU Gettext test: Passed >>> * Catalog Open Test: Yes >>> >>> PHP Session Test >>> * session.save_path: /usr/local/pem/vhosts/119550/tmp >>> * Counter: 1 >>> >>> >>> >>> -----Original Message----- >>> From: Franky Van Liedekerke [mailto:lie...@te...] >>> Sent: Tuesday, July 03, 2007 2:00 AM >>> To: Steve Bolton >>> Cc: php...@li... >>> Subject: Re: [phpesp-general] Error on page 2, ver 1.8.2j >>> >>> Using php 5.2 yes? Then change the config file to point to the php >> adodb >>> lib provided by your distro, the one included is only for php 4. >>> >>> Franky >>> >>> Steve Bolton wrote: >>>> >>>> >>>> Hello, >>>> >>>> I've installed 1.8.2j and am getting the following error when going >>> to >>>> the 2^nd page. How do I find out the cause and what to do to fix > it? >>>> Thanks, >>>> >>>> Steve >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> Notice: Only variable references should be returned by reference in >>>> >> /usr/local/pem/vhosts/119550/webspace/httpdocs/phpESP/admin/include/li >> b/ >>> adodb/adodb.inc.php >>>> on line 859 >>>> >>>> >>>> >>>> >>>> >>>> >>>> >> ---------------------------------------------------------------------- >> -- >> ---------------------------------------------------------------------- >> -- >>> - >>>> This SF.net email is sponsored by DB2 Express Download DB2 Express C > >>>> - the FREE version of DB2 express and take control of your XML. No >>>> limits. Just data. Click to get it now. >>>> http://sourceforge.net/powerbar/db2/ >>>> >>>> >>>> >> ---------------------------------------------------------------------- >> -- >>>> _______________________________________________ >>>> phpESP-general mailing list >>>> php...@li... >>>> https://lists.sourceforge.net/lists/listinfo/phpesp-general >> > > |