Probs with external data
Posted: Sun Oct 02, 2005 9:22 pm
Hi s9y community!
I want to add some php code with the external php plugin. This works well. The problem is that the sidebar cannot be displayed. The following errors occur:
What I have found out, that the problems have something to do with the database access. To include php code without database connection makes no problems.
You can see the problem in action here: http://www.hannesreiff.com/new/index.ph ... books.html
Thank you for your help!
Hannes
PS: I'm using s9y 0.9 alpha5 and the latest versions of the external and static page plugins
I want to add some php code with the external php plugin. This works well. The problem is that the sidebar cannot be displayed. The following errors occur:
Code: Select all
Warning: mysql_query(): 20 is not a valid MySQL-Link resource in /home/www/web312/html/new/include/db/mysql.inc.php on line 37
Warning: mysql_error(): 20 is not a valid MySQL-Link resource in /home/www/web312/html/new/include/db/mysql.inc.php on line 40
Warning: mysql_error(): 20 is not a valid MySQL-Link resource in /home/www/web312/html/new/include/db/mysql.inc.php on line 46
SELECT * from ser_plugins WHERE placement = 'right' ORDER BY placement, sort_order
/You can see the problem in action here: http://www.hannesreiff.com/new/index.ph ... books.html
Thank you for your help!
Hannes
PS: I'm using s9y 0.9 alpha5 and the latest versions of the external and static page plugins