New Zenner
- Join Date:
- Jul 2009
- Posts:
- 2
- Plugin Contributions:
- 0
Wordpress On ZC [Support Thread]
Hi all,
I encountered an error when I tried to read my RSS feed from my wordpress. The link to my side is:
http://ikimura.com/?feed=rss2
(The hosting is free by godaddy... :blush:)
I am using zen cart 1.3.8a and wordpress 2.8.2.. I have read the posting from Kiddos to insert a patch at extra_configures/wordpress-config.php.
So basically this is my wordpress-config.php:
<?php
//
// wordpress on zencart by [url]http://www.s-page.net/[/url]
//
//define ('ABSPATH','/var/www/vhost/example.com/public_html/blog/');
define ('ABSPATH','/home/content/h/k/a/hkartadi/html/blog/');
$woz_install=0;
if (file_exists(ABSPATH.'wp-config.php')) {
$woz_install=1;
define('WP_USE_THEMES', true);
$wp_did_header = true;
require_once(ABSPATH.'wp-config.php');
$i=strlen(DIR_WS_CATALOG);
$req=substr($_SERVER['REQUEST_URI'],$i,1);
if($req=='?'){
$_GET['main_page']='wordpress';
}
// kiddos patch for WP 2.7
$i=strlen(DIR_WS_CATALOG);
$req=substr($_SERVER['REQUEST_URI'],$i,1);
if(($req=='i') && ($_GET['main_page']=='wordpress')) {
$_SERVER['REQUEST_URI'] = str_replace("index.php","",$_SERVER['REQUEST_URI']);
}
if(isset($_GET['feed'])){
wp();
gzip_compression();
// require_once('./wordpress/wp-includes/template-loader.php');
// require_once(ABSPATH . WPINC . '/template-loader.php');
require_once('/home/content/h/k/a/hkartadi/html/blog/wp-includes/template-loader.php');
exit();
}
}
?>
I have spent few days to figure this out and google for hint. But found no luck...
I will be very appreciate if someone could help me! Thanks!
Regards,
Handi