Warning: mysql_query() expects parameter 2 to be resource, string given in /home/jdsystem/legends.socialmud.com/lib/dbwrapper_mysql.php on line 19
SELECT
				logd_module_hooks.modulename,
				logd_module_hooks.location,
				logd_module_hooks.function,
				logd_module_hooks.whenactive
			FROM
				logd_module_hooks
			INNER JOIN
				logd_modules
			ON	logd_modules.modulename = logd_module_hooks.modulename
			WHERE
				 logd_modules.active=1 AND
				logd_module_hooks.location='template-header'
			ORDER BY
				logd_module_hooks.priority,
				logd_module_hooks.modulename
Call Stack:
1: db_query("SELECT logd_module_ho...")  called from file: /home/jdsystem/legends.socialmud.com/lib/dbwrapper_mysql.php
On line: 67
2: db_query_cached("SELECT logd_module_ho...", "hooks/hook_template-heade...")  called from file: /home/jdsystem/legends.socialmud.com/lib/modules.php
On line: 472
3: modulehook("template-header", Array(
"content"=>"<!DOCTYPE html> <!--[if ..."
)
)
  called from file: /home/jdsystem/legends.socialmud.com/lib/pageparts.php
On line: 901
4: loadtemplate("Pathfinder")  called from file: /home/jdsystem/legends.socialmud.com/lib/pageparts.php
On line: 1055
5: prepare_template()  called from file: /home/jdsystem/legends.socialmud.com/common.php
On line: 376
6: require_once("/home/jdsystem/legends.so...")  called from file: /home/jdsystem/legends.socialmud.com/create.php
On line: 21