From: SourceForge.net <no...@so...> - 2005-08-01 11:42:47
|
Bugs item #1249459, was opened at 2005-08-01 23:42 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=1249459&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: User Group: v1.7 Status: Open Resolution: None Priority: 5 Submitted By: Gavin Treadgold (gtreadgold) Assigned to: Nobody/Anonymous (nobody) Summary: Fatal error in espdatalib.inc on line 133 Initial Comment: I've create a survey, and create a php template as per instructions in handler-prefix.php. I've removed the trailing spaces/newlines on a couple of files but I still get the following error. Fatal error: Call to a member function on a non-object in /home/.../public_html/surveys/admin/include/lib/espdatalib.inc on line 133 phpESP.inc.php has been configured with $ESPCONFIG['base_url'] = $ESPCONFIG['proto'] . $server['HTTP_HOST'] . '/surveys/'; This is the current 1.7.5 version. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=1249459&group_id=8956 |
From: SourceForge.net <no...@so...> - 2005-08-01 11:50:44
|
Bugs item #1249459, was opened at 2005-08-01 23:42 Message generated for change (Comment added) made by gtreadgold You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=1249459&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: User Group: v1.7 Status: Open Resolution: None Priority: 5 Submitted By: Gavin Treadgold (gtreadgold) Assigned to: Nobody/Anonymous (nobody) Summary: Fatal error in espdatalib.inc on line 133 Initial Comment: I've create a survey, and create a php template as per instructions in handler-prefix.php. I've removed the trailing spaces/newlines on a couple of files but I still get the following error. Fatal error: Call to a member function on a non-object in /home/.../public_html/surveys/admin/include/lib/espdatalib.inc on line 133 phpESP.inc.php has been configured with $ESPCONFIG['base_url'] = $ESPCONFIG['proto'] . $server['HTTP_HOST'] . '/surveys/'; This is the current 1.7.5 version. ---------------------------------------------------------------------- >Comment By: Gavin Treadgold (gtreadgold) Date: 2005-08-01 23:50 Message: Logged In: YES user_id=840967 I forgot to note, survey works fine through the default access method... http://hostname/surveys/public/survey.php?name=surveyname Its only when trying to insert in a template that the error occurs. handler-prefix is first line, and handler is at appropriate point in template. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=1249459&group_id=8956 |
From: SourceForge.net <no...@so...> - 2005-08-03 00:05:27
|
Bugs item #1249459, was opened at 2005-08-01 21:42 Message generated for change (Comment added) made by angek You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=1249459&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: User Group: v1.7 Status: Open Resolution: None Priority: 5 Submitted By: Gavin Treadgold (gtreadgold) Assigned to: Nobody/Anonymous (nobody) Summary: Fatal error in espdatalib.inc on line 133 Initial Comment: I've create a survey, and create a php template as per instructions in handler-prefix.php. I've removed the trailing spaces/newlines on a couple of files but I still get the following error. Fatal error: Call to a member function on a non-object in /home/.../public_html/surveys/admin/include/lib/espdatalib.inc on line 133 phpESP.inc.php has been configured with $ESPCONFIG['base_url'] = $ESPCONFIG['proto'] . $server['HTTP_HOST'] . '/surveys/'; This is the current 1.7.5 version. ---------------------------------------------------------------------- >Comment By: Kon Angelopoulos (angek) Date: 2005-08-03 10:05 Message: Logged In: YES user_id=198398 had a quick look and I believe the problem lies in the db_qstr() where it is assumed that $cfg['adodb_conn'] is set. Can you please add this: if (!isset($cfg['adodb_conn'])){ esp_init_adodb(); } just before the line: $result = $cfg['adodb_conn']->qstr($data); and let us know if it corrects the problem. ---------------------------------------------------------------------- Comment By: Gavin Treadgold (gtreadgold) Date: 2005-08-01 21:50 Message: Logged In: YES user_id=840967 I forgot to note, survey works fine through the default access method... http://hostname/surveys/public/survey.php?name=surveyname Its only when trying to insert in a template that the error occurs. handler-prefix is first line, and handler is at appropriate point in template. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=1249459&group_id=8956 |
From: SourceForge.net <no...@so...> - 2005-08-03 01:02:35
|
Bugs item #1249459, was opened at 2005-08-01 23:42 Message generated for change (Comment added) made by gtreadgold You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=1249459&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: User Group: v1.7 Status: Open >Resolution: Works For Me Priority: 5 Submitted By: Gavin Treadgold (gtreadgold) Assigned to: Nobody/Anonymous (nobody) Summary: Fatal error in espdatalib.inc on line 133 Initial Comment: I've create a survey, and create a php template as per instructions in handler-prefix.php. I've removed the trailing spaces/newlines on a couple of files but I still get the following error. Fatal error: Call to a member function on a non-object in /home/.../public_html/surveys/admin/include/lib/espdatalib.inc on line 133 phpESP.inc.php has been configured with $ESPCONFIG['base_url'] = $ESPCONFIG['proto'] . $server['HTTP_HOST'] . '/surveys/'; This is the current 1.7.5 version. ---------------------------------------------------------------------- >Comment By: Gavin Treadgold (gtreadgold) Date: 2005-08-03 13:02 Message: Logged In: YES user_id=840967 That appears to fix the problem for me! Thank you! ---------------------------------------------------------------------- Comment By: Kon Angelopoulos (angek) Date: 2005-08-03 12:05 Message: Logged In: YES user_id=198398 had a quick look and I believe the problem lies in the db_qstr() where it is assumed that $cfg['adodb_conn'] is set. Can you please add this: if (!isset($cfg['adodb_conn'])){ esp_init_adodb(); } just before the line: $result = $cfg['adodb_conn']->qstr($data); and let us know if it corrects the problem. ---------------------------------------------------------------------- Comment By: Gavin Treadgold (gtreadgold) Date: 2005-08-01 23:50 Message: Logged In: YES user_id=840967 I forgot to note, survey works fine through the default access method... http://hostname/surveys/public/survey.php?name=surveyname Its only when trying to insert in a template that the error occurs. handler-prefix is first line, and handler is at appropriate point in template. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=1249459&group_id=8956 |
From: SourceForge.net <no...@so...> - 2005-08-08 14:26:09
|
Bugs item #1249459, was opened at 2005-08-01 06:42 Message generated for change (Comment added) made by greggmc You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=1249459&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: User Group: v1.7 >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Gavin Treadgold (gtreadgold) >Assigned to: Matthew Gregg (greggmc) Summary: Fatal error in espdatalib.inc on line 133 Initial Comment: I've create a survey, and create a php template as per instructions in handler-prefix.php. I've removed the trailing spaces/newlines on a couple of files but I still get the following error. Fatal error: Call to a member function on a non-object in /home/.../public_html/surveys/admin/include/lib/espdatalib.inc on line 133 phpESP.inc.php has been configured with $ESPCONFIG['base_url'] = $ESPCONFIG['proto'] . $server['HTTP_HOST'] . '/surveys/'; This is the current 1.7.5 version. ---------------------------------------------------------------------- >Comment By: Matthew Gregg (greggmc) Date: 2005-08-08 09:26 Message: Logged In: YES user_id=14116 Proper fix for this is to check for and init adodb in handler.php and handler-prefix.php. I've commited this to CVS. ---------------------------------------------------------------------- Comment By: Matthew Gregg (greggmc) Date: 2005-08-08 09:26 Message: Logged In: YES user_id=14116 Fixed in CVS. ---------------------------------------------------------------------- Comment By: Gavin Treadgold (gtreadgold) Date: 2005-08-02 20:02 Message: Logged In: YES user_id=840967 That appears to fix the problem for me! Thank you! ---------------------------------------------------------------------- Comment By: Kon Angelopoulos (angek) Date: 2005-08-02 19:05 Message: Logged In: YES user_id=198398 had a quick look and I believe the problem lies in the db_qstr() where it is assumed that $cfg['adodb_conn'] is set. Can you please add this: if (!isset($cfg['adodb_conn'])){ esp_init_adodb(); } just before the line: $result = $cfg['adodb_conn']->qstr($data); and let us know if it corrects the problem. ---------------------------------------------------------------------- Comment By: Gavin Treadgold (gtreadgold) Date: 2005-08-01 06:50 Message: Logged In: YES user_id=840967 I forgot to note, survey works fine through the default access method... http://hostname/surveys/public/survey.php?name=surveyname Its only when trying to insert in a template that the error occurs. handler-prefix is first line, and handler is at appropriate point in template. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=1249459&group_id=8956 |