Page 89 of 186 FirstFirst ... 3979878889909199139 ... LastLast
Results 881 to 890 of 1859
  1. #881
    Join Date
    Jun 2009
    Posts
    6
    Plugin Contributions
    0

    bug Debug WOZ worpress addon

    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
    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
    And here is the code from line 90 of autoload_func.php.
    Line 90 itself is blank??? but this is the code bellow
    Code:
           * 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;
    
          }
    The wordpress debugger returns this on the first line

    Code:
    # 1 PHP error  
    mysql_num_rows()  
    /!\ PHP WARNING : mysql_num_rows(): supplied argument is not a valid MySQL result resource /!\
    Then about 18 lines that follow this pattern

    Code:
    /!\ PHP WARNING : dir(includes/templates/apple_zen/images/icons) [function.dir]: failed to open dir: No such file or directory /!\
    After this a lot of results (about 400 lines)most of which follow the pattern of
    Code:
    PHP notice : Constant FOOTER_TEXT_REQUESTS_SINCE already defined
    PHP notice : xxxxx_xxxx_xxxx already defined
    then the end of the file has this

    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
    I also attached the complete debug file for wordpress.
    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

  2. #882

    Default Re: Debug WOZ worpress addon

    Quote Originally Posted by magicmike View Post
    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.
    Where is the add-on supposed to show up on your page, i.e. is it a sidebox widget, or is it a module that runs on the page, or both? Also, what is the add-on called?

    As well, if you have a link to add, that may be helpful for someone to visualize where beginning of the error starts (and how the two systems code might be interacting with each other).

    The info you gave is useful, but at my knowledge level, I would need these other things to help look into a solution.
    Last edited by rainthebat; 18 Aug 2009 at 08:17 PM.

  3. #883
    Join Date
    Jun 2009
    Posts
    6
    Plugin Contributions
    0

    Default Re: Debug WOZ worpress addon

    The plugin name is "Another Wordpress Classifieds Plugin"

    If you have a WOZ setup and want to test it out for yourself the plugin is here.
    http://wordpress.org/extend/plugins/...ifieds-plugin/

    The standalone install of the plugin on wordpress is here.
    http://www.michaelouellet.com/
    The link Trade Page under Pages is the plugin.


    But it does not matter what page I am on on my Zen Cart store I get the
    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

    and nothing else the site is blank except for the error code.
    I have to deactivate the AWPC plugin on wordpress for my website to come back.

  4. #884

    Default Re: Blog links opening in new window without css styling...

    Quote Originally Posted by digsshowroom View Post
    I've sifted through this whole forum, and I apologize if I've missed the answer to my problem.

    I got WOZ installed fine, and when the Blog Sidebar heading is clicked, it brings my blog up on the main page. However, if you click the Archives link (or categories, search, anything), it pops up a new window that doesn't look anything like my blog. The same is true when you click the comments link within the blog.

    I can't tell if this is what Kiddo's patch is supposed to fix, but I've tried to use that without luck.

    I also tried changing the settings in WP admin to use http://www.digsshowroom.com/index.ph...page=wordpress as my blog address. This fixed it so the links didn't pop up a new window, but brought up a 404 on the main page and the following error messages on my WP admin:


    Can anyone point me in the right direction? I would prefer the archives/categories/search to come up on the main page, but would settle for them coming up in a new window IF the styling was the same.

    I'm using ZC 1.3.7 and WP 2.8.2. (Maybe I need an older version of WP?). WP is installed in /blog directory.

    Site is here: http://www.digsshowroom.com

    Thanks in advance.
    Looks like you have fixed your issue?

    What a beautiful site! Very very nice.

  5. #885
    Join Date
    Jun 2009
    Posts
    25
    Plugin Contributions
    0

    Default Re: Wordpress On Zencart / Released

    Great addon!

    I get this error:
    Warning: Cannot modify header information - headers already sent by (output started at /home/nakayama/public_html/includes/templates/lambe_green_lite/common/html_header.php:22) in /home/nakayama/public_html/blog/wp-includes/pluggable.php on line 865

  6. #886
    Join Date
    Jun 2009
    Posts
    25
    Plugin Contributions
    0

    Default Re: Wordpress On Zencart / Released

    Okay, I cannot figure out where the functions.php is? I looked in every folder.

    Quote Originally Posted by kennyhoward View Post
    I have spent the last day trying to find a fix for the headers already sent error:


    Here is the all too easy fix:

    http://www.velvetblues.com/web-devel...l-redirection/

    I hope this helps those that haven't already figured this out. The reason the site was trying to redirect was because of the www or lack-there-of in the url. By that I mean the blog displayed correctly when viewing from http://domain-name.com but did not display correctly when viewing from http://www.domain-name.com

    Good luck.

  7. #887
    Join Date
    Jun 2009
    Posts
    25
    Plugin Contributions
    0

    Default Re: Wordpress On Zencart / Released

    Quote Originally Posted by KT Naturals View Post
    Okay, I cannot figure out where the functions.php is? I looked in every folder.

    Also tried Kiddo's fix, but couldn't find the original code in wordpress-config.php

    I have ZC and WP in diff. directories

  8. #888
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Wordpress On Zencart / Released

    ****Deleted****
    Last edited by DivaVocals; 20 Aug 2009 at 07:39 PM.

  9. #889
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Wordpress On Zencart / Released

    Quote Originally Posted by KT Naturals View Post
    Okay, I cannot figure out where the functions.php is? I looked in every folder.
    To turn off Canonical URL Redirection, you can add the following code to your theme’s functions.php file.
    As the article states, functions.php is in your WordPress folders.. (Usually with the theme/template files)

    Quote Originally Posted by KT Naturals View Post
    Also tried Kiddo's fix, but couldn't find the original code in wordpress-config.php

    I have ZC and WP in diff. directories
    As there have been ZERO updates to this add-on in well over a year, no reason this code would be different.. You may not have the right files.. Re-download WOZ and get a fresh copy of the mod files.. and then try applying kiddo's fix again..

  10. #890
    Join Date
    Jun 2009
    Posts
    25
    Plugin Contributions
    0

    Default Re: Wordpress On Zencart / Released

    Okay, so I did Kiddo's patch correctly and same error.

 

 

Similar Threads

  1. EasyPopulate 4.0 Support Thread
    By chadderuski in forum Addon Admin Tools
    Replies: 3662
    Last Post: 30 Apr 2025, 04:14 AM
  2. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 20
    Last Post: 23 Apr 2025, 08:49 AM
  3. WordPress® for Zen Cart® (wp4zen) [Support Thread]
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 109
    Last Post: 1 Dec 2024, 01:36 PM
  4. PurpleShades Support Thread
    By kobra in forum Addon Templates
    Replies: 122
    Last Post: 18 May 2011, 07:18 PM
  5. ZJ Black 2 support thread
    By Liamv in forum Addon Templates
    Replies: 1
    Last Post: 15 Feb 2010, 02:53 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR