Results 1 to 10 of 2217

Threaded View

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

    Default Re: Tabbed Products Pro (TPP) Contrib - Official Thread

    So to expand on part of what I said above.. It sounds like your ABSPATH value is incorrect. I am going to assume it was you who asked this question on Numix's blog:
    here is the erro i get.. any ideas?
    PHP Warning: require_once(/var/www/zc138/wordpress/wp-includes/classes.php) [function.require-once]: failed to open stream: No such file or directory in /home2/mtphsoft/public_html/wordpress/wp-load.php on line 46
    Numinix's response was:
    M23perrault, this could happen because you have installed a module for Zen Cart whcih defines ABS_PATH. Try searching for this constant in the Developer’s Toolkit and then disable that module which has the incorrect path hard-coded into the module.
    Numinix is absolutely right, the ABSPATH value is indeed hardcoded into the class.rlwp.php file, and it looks like you did not update it to match the correct ABSPATH value for your site. The contents of the class.rlwp.php file is as follows:
    Code:
     
    define ('ABSPATH','/var/www/zc138/wordpress/'); // abs-path to wp
    if (file_exists(ABSPATH.'wp-config.php')) {
    require_once(ABSPATH.'wp-config.php');
    $wpinstall = true;
    }
    Please note the part highlighted in red and compare to the error message you have.. As I suggested in my previous post, you need to update the ABSPATH value in the class.rlwp.php file to match the ABSPATH value in your ZenCart includes/configure.php file with your blog folder added to the end of the value. Try changing this to the correct value for your site and see if you still have the issue..

    If you do, then try simply removing the class.rlwp.php file. Please note that if you delete this file that you will no longer have the ability to create WordPress tabs using TPP, but you will likely no longer have any issues using Numinix's embedded WordPress solution either..

    and like I said.. If all else fails, you can always roll back to ver 1.05..

    Quote Originally Posted by autoace View Post
    Does anyone know if this is the correct syntax:

    Code:
    define ('ABSPATH','/xxx/XXX/xxx_xxx/blog/');
    Should it be this instead?
    Code:
    define ('ABSPATH' . '/xxx/XXX/xxx_xxx/blog/');
    Or any other suggestions?

    File: class.rlwp.php in includes>functions>extra_functions

    Just trying to resolve an issue with my blog. Thanks for your help.
    Last edited by DivaVocals; 14 Nov 2009 at 12:16 AM.

 

 

Similar Threads

  1. Main Image Replacer (MIR) Contrib - Official Thread
    By qhome in forum All Other Contributions/Addons
    Replies: 21
    Last Post: 5 Aug 2017, 02:47 AM
  2. v154 Tabbed Prod Pro (TPP): Adding Anchor Links
    By Feznizzle in forum All Other Contributions/Addons
    Replies: 10
    Last Post: 30 May 2016, 07:50 PM
  3. v139h Conflicts between Tabbed Home and Tabbed Products Pro v1.07
    By swdynamic in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 14 Sep 2014, 06:29 PM
  4. Column Divider Pro (CDP) Contrib - Official Thread
    By qhome in forum All Other Contributions/Addons
    Replies: 275
    Last Post: 3 Nov 2013, 07:44 AM
  5. Tabbed Products Contrib [WIP]
    By qhome in forum All Other Contributions/Addons
    Replies: 22
    Last Post: 22 Sep 2008, 01:43 AM

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