HA!!! I'm testing for ME and my clients, but I always like to give back what I discover in case it helps others.. :smile:
Printable View
I just installed WordPress via a SimpleScript to a directory ("blog") at the root level within my Zen-Cart. It installed perfectly and I followed instructions in regard to the ZC implementation. The blog is working (www.db8zone.com/blog) but my storefront has disappeared. PLEASE HELP - I haven't modified any other files. Is this due to a database error of some kind? WordPress is not using the same database as ZC. Any advice would be greatly appreciated!
Disregard - fixed!
Hi out there,
So I finally got WordPress working. I would like to add a built in stream of my blog posts to my homepage (utilizing define pages and define_main_page.php) ... what is the code I need to insert into the HTML?
I am getting the following error "Fatal error: Call to a member function add_current_page() on a non-object in /njoy/nezen/includes/autoload_func.php on line 90" I saw a few other posts regarding this issue but I could not find a solution to. Does anyone know of to resolve this issue. Thanks
I am using the latest version of Zen Cart and the latest version of WOZ. I have read through the entire forum extensively, and there seems to be a lot of conflicting information and even some technical help for related mods that does not apply to WOZ.
My website is: http://www.OurCollegeTown.net
The blog address is: http://www.ourcollegetown.net/BearZone/
I have the mod installed and the sidebar shows up correctly on the zen cart website. However, whenever any of the links are clicked, I get blank pages.
The links appear as: http://www.ourcollegetown.net/?p=156
Is this the correct format of the links? I noticed that on the websites that work, the links sometimes carry a different prefix: ?main_page=wordpress&p=3
However, on my site, even http://www.ourcollegetown.net/?main_page=wordpress shows a blank page.
I have the following code in my html_header file:
I have the following in my Wordpress-config file:PHP Code:
<!-- for woz BOF -->
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
<?php woz_wp_head(); ?>
<!-- for woz EOF -->
PHP Code:
$woz_install=0;
if (ABSPATH != NULL && file_exists(ABSPATH . 'wp-config.php')) {
$woz_install = 1;
define('WP_USE_THEMES', true);
$wp_did_header = true;
require_once(ABSPATH . 'wp-config.php');
wp();
$i = strlen(DIR_WS_CATALOG);
$req = substr($_SERVER['REQUEST_URI'],$i,1);
if($req == '?'){
$_GET['main_page'] = FILENAME_WORDPRESS;
}
if(is_feed()){
gzip_compression();
require_once(ABSPATH . WPINC . '/template-loader.php');
exit();
}
}
?>
Do you have any idea of how to get the content to show up? I have already tried Kiddos fix, and not noticed any difference. I have since uninstalled it.
I thought if I got this far that I might be able to drive it home. I guess not?