and though you weren't a fan of my longer answer.. Here's another long answer..:smile: It helps others who might come along with the SAME question.. Yes or no may help you, but it won't help others who stumble on this thread with a similar issue.. Hope that's clearer..:smile:
You might want to consider rolling back to ver 1.05 of this mod.
Don't know if you've looked through this support thread, but based on other posts in this thread, starting with version 1.06 is where people began reporting issues with this mod.. If you read through the various download versions starting with version 1.06 you will see why...
Starting with version 1.06
addon for WordPress
example: !--%WordPress%--__!--###getWPTag###--
this syntax creates a tab called WordPress, calls a function with the name getWPTag with the parameter products_id. in WordPress you must use a tag with the products-id
The class.rlwp.php file you speak of was introduced in this version of TPP, and the original author has not posted here to support it that I am aware of..
IMO this particular version (and it's variants) should NOT be used by anyone who does NOT have a WordPress Blog as part of their site or used by anyone who is using either WOZ of Numinix's WordPress code on their site. (or you will get errors..)
Now if you do not need the WordPress tabs functionality, it may just simply be a matter of simply deleting or commenting out the contents of the class.rlwp.php file..The other possibility is that you do not have your ABSPATH setting entered correctly.. I haven't personally tested if there is a better fix (I use version 1.05 because it works just fine).. Hopefully anyone using one of these WordPress mods along with ver 1.06x of TPP can chime in with a fix. However, the introduction of the WordPress code in version 1.06 seems to be at the heart of your issue, and rolling back to ver 1.05 will DEFINITELY solve your problem..
Regarding versions 1.06b & 1.06c the mod author CLEARLY states the following:
1.06b uses the exact same code with 1.06, all credits obviously go to the original author(s). This updated version takes advantage of CJ Loader to boost your site loading speed
Updated version for compatibility with other modules. You do not need to use this version unless you plan to or using CSS Javascript Loader
I took this to mean that unless you are using the Zencart Css Javascript Loader that you should NOT use this version of TPP.. and since version 1.06b and 1.06c are both based on version 1.06 which introduced the WordPress code, unless you cand resolve the conflict, you should not use it with any embedded WordPress solutions.
If you don't want to roll back I would say check that your ABSPATH value in this file matches the ABSPATH value in your Zen Cart configure.php file with the addition of your blog folder at the end..
This is how it's done in the WOZ add-on:
<?php
//
// wordpress on zencart by http://www.s-page.net/
//
define ('ABSPATH','/var/www/vhost/example.com/public_html/blog/');
Like I said, I could answer yes or no, but I think it's better if others have a full and complete answer..:smile:
autoace:
Does anyone know if this is the correct syntax:
define ('ABSPATH','/xxx/XXX/xxx_xxx/blog/');
>
> Should it be this instead?
> ```
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.