From: SourceForge.net <no...@so...> - 2008-07-07 19:59:31
|
Bugs item #2012780, was opened at 2008-07-07 21:51 Message generated for change (Comment added) made by liedekef You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=2012780&group_id=8956 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Lj Gww (ljgww) Assigned to: Nobody/Anonymous (nobody) Summary: ADODB warning Initial Comment: Hi, After downloading, installing and configuring phpesp 2.1.1 I am encountering this problem (displaying in almost every page one or more times): Notice: Only variable references should be returned by reference in /home/www/site/Ready/Survey/admin/include/lib/adodb/drivers/adodb-mysql.inc.php on line 75 I have searched the net to see if there is any reports on this and how to fix it and figured out that this comes from ADODB library. Within ADODB community a discussion can be found about this problem and it seems that it is connected to the warning generated by php 4.4.0 in order to clean the code for php5. It seems that newer version of ADODB is available that resolves this problem. But my concern here is if I upgrade to newer ADODB is it going to break the code of PHPESP. Questions are: 1. Shall I upgrade ADODB library? or 2. Is there a way to suppress these warning as it seems that warning is not critical to functioning? Setup report: PHP Information * Version: 4.4.0 * OS: Linux * SAPI: cgi * register_globals: Yes * magic_quotes_gpc: Yes * magic_quotes_runtime: No * safe_mode: No * open_basedir: PHP Extensions * dBase: No * GD: Yes -- bundled (2.0.28 compatible) * GNU Gettext: Yes * LDAP: No * MySQL: Yes * PostgreSQL: No * PHP Extension Dir (compiled): /usr/local/lib/php/extensions/no-debug-non-zts-20020429 * PHP Extension Dir (run time): ./ phpESP Settings * Expected ESP_BASE: /home/www/site/Ready/Survey/ * Expected base_url: site/Ready/Survey/ * Loading phpESP.ini.php ... * ESP_BASE: /home/www/site/Ready/Survey/ * base_url: http://site/Ready/Survey/ * Version: 2.1.1 * 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: /tmp * Counter: 1 ---------------------------------------------------------------------- >Comment By: Franky Van Liedekerke (liedekef) Date: 2008-07-07 21:59 Message: Logged In: YES user_id=109671 Originator: NO Adodb libs are included in phpesp. If you get your installed version out of the search path, it would all be ok. Btw: you should consider upgrading php, not adodb ... Franky ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=2012780&group_id=8956 |