Hello,
I have a problem when installing a wordpress addon, upon loading the addon I get the following error. I know that this addon works in a standalone wordpress install. So I am directing my debugging efforts towards the WOZ module.
This is the error returned on the Zen Cart page & in the Zen Cart debugger log
And here is the code from line 90 of autoload_func.php.Code:Fatal error: Call to a member function add_current_page() on a non-object in /home/elektrk2/public_html/isellortrade/includes/autoload_func.php on line 90
Line 90 itself is blank??? but this is the code bellow
The wordpress debugger returns this on the first lineCode:* include an init_script as specified by autoloader array */ if (file_exists($baseDir . $entry['loadFile'])) include($baseDir . $entry['loadFile']); else $debugOutput .= 'FAILED: '; $debugOutput .= 'include(\'' . $baseDir . $entry['loadFile'] . '\');' . '<br />'; break; case 'class': if (isset($entry['classPath'])) { $classPath = $entry['classPath']; } else { $classPath = DIR_FS_CATALOG . DIR_WS_CLASSES; }
Then about 18 lines that follow this patternCode:# 1 PHP error mysql_num_rows() /!\ PHP WARNING : mysql_num_rows(): supplied argument is not a valid MySQL result resource /!\
After this a lot of results (about 400 lines)most of which follow the pattern ofCode:/!\ PHP WARNING : dir(includes/templates/apple_zen/images/icons) [function.dir]: failed to open dir: No such file or directory /!\
then the end of the file has thisCode:PHP notice : Constant FOOTER_TEXT_REQUESTS_SINCE already defined PHP notice : xxxxx_xxxx_xxxx already defined
I also attached the complete debug file for wordpress.Code:# 432 PHP error mysql_num_rows() /!\ PHP WARNING : mysql_num_rows(): supplied argument is not a valid MySQL result resource /!\ # 433 PHP error mysql_num_rows() /!\ PHP WARNING : mysql_num_rows(): supplied argument is not a valid MySQL result resource /!\ # 434 PHP error functions_lookups.php 494 zen_get_configuration_key_value() PHP notice : Undefined property: queryFactoryResult::$fields # 435 PHP error functions_lookups.php 494 zen_get_configuration_key_value() PHP notice : Undefined property: queryFactoryResult::$fields # 436 PHP error fopen() /!\ PHP WARNING : fopen(/home/elektrk2/public_html/isellortrade/includes/configure.php) [function.fopen]: failed to open stream: Permission denied /!\ # 437 PHP error mysql_num_rows() /!\ PHP WARNING : mysql_num_rows(): supplied argument is not a valid MySQL result resource /!\ # 438 PHP error mysql_num_rows() /!\ PHP WARNING : mysql_num_rows(): supplied argument is not a valid MySQL result resource /!\ # 439 PHP error wordpress.php 26 require_once() PHP notice : Undefined variable: cat
wordpress_errors.zip
So I am a bit lost at this point as to what I should be searching for. I am just a beginner at PHP, but I know how to read the code fairly well.
Any suggestions or help on which files I should be looking at?
Thanks


Reply With Quote

