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..

Originally Posted by
autoace
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.
Bookmarks