I tried to include a php script as module into cmsmadesimple.
Everything works fine, but I get following warnings at the end of the page:
Code: Select all
Warning: mysql_real_escape_string(): 25 is not a valid MySQL-Link resource in E:\htdocs\cmsmadesimple\lib\adodb_lite\adodbSQL_drivers\mysql\mysql_driver.inc on line 197
string(61) "Smarty error: unable to read resource: "globalcontent:footer""
Warning: mysql_real_escape_string(): 25 is not a valid MySQL-Link resource in E:\htdocs\cmsmadesimple\lib\adodb_lite\adodbSQL_drivers\mysql\mysql_driver.inc on line 197
Warning: mysql_real_escape_string(): 25 is not a valid MySQL-Link resource in E:\htdocs\cmsmadesimple\lib\adodb_lite\adodbSQL_drivers\mysql\mysql_driver.inc on line 197
string(61) "Smarty error: unable to read resource: "globalcontent:footer""
I tried to put following code at the end of the DoAction()-Function, but this doesn't solve the problem:
Code: Select all
//$cmsdb =& $this->GetDB();
Kind Regards,
Jens