I'm using:
Zencart: 1.3.8a
Wordpress: 2.8.4
WOZ: 1.301
I installed using the readme in separate directories.
My shop url:
PHP Code:
www.myshopurl.com
Wordpress is in:
PHP Code:
www.myshopurl.com/blog
The wordpress url is working, but it take's me to the blog, without the zen cart shop surrounded.
In the wordpress admin I have set up the blog adress url to:
PHP Code:
http://www.myshopurl.com/
When I access in the sidebox to the blog it displayed the link:
PHP Code:
http://www.myshopurl.com/en/index/m/200909
but the blog is not showing, only my shop with products.
When I go to
PHP Code:
www.myshopurl.com/index.php?main_page=wordpress
it displayed the error:
PHP Code:
Warning: Cannot modify header information - headers already sent by (output started at /home/myusername/public_html/includes/templates/template_default/common/html_header.php:22) in /home/myuser/public_html/wp-includes/pluggable.php on line 850
As I read true the forum, for that error should be applaied the kiddo patch to includes/extra_configures/wordpress-config.php, witch is:
PHP Code:
// 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']);
}
Now, when I access that url it' take's me to the home page. The blog is not showing, only the shop with products.
I hope I was clear enought.
Thank's for your help.
Bookmarks