Zen Cart Logo
Forums / All Other Contributions/Addons / Wordpress On ZC [Support Thread]

Wordpress On ZC [Support Thread]

Views: 620,623

Results 761 to 780 of 1,861
22 Apr 2009, 3:05 PM
#761
bluechip avatar

bluechip

New Zenner

Join Date:
Jan 2007
Posts:
3
Plugin Contributions:
0

Wordpress On ZC [Support Thread]

Proper Sequence for installing WordPress 2.7 on Zencart 1.38a

I just want to be sure I have the installation sequence correct, I read the post from about 40 on and realize there are 2 methods imbedded, and stand alone. From what I gather imbedded allows google sitemap to collect posts whereas stand alone (seperate directory) presents SEO challenges.

For the purposes of this query though I just wan to be sure I install in proper order:

  • Install Wordpress 2.7 in root of store
  • Use existing database making sure to define unique table name extentions
  • Install the WOZ addon from addons
  • Install the Kiddo mod.
  • Tweak from thereIs this correct?

My goal is to then add RSS feeds to the site.

Thanks ahead of time for your reply :smile:

Chip,

22 Apr 2009, 9:26 PM
#762
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Wordpress On ZC [Support Thread]

bluechip:

Proper Sequence for installing WordPress 2.7 on Zencart 1.38a

I just want to be sure I have the installation sequence correct, I read the post from about 40 on and realize there are 2 methods imbedded, and stand alone. From what I gather imbedded allows google sitemap to collect posts whereas stand alone (seperate directory) presents SEO challenges.

For the purposes of this query though I just wan to be sure I install in proper order:

  • Install Wordpress 2.7 in root of store
  • Use existing database making sure to define unique table name extentions
  • Install the WOZ addon from addons
  • Install the Kiddo mod.
  • Tweak from there

Is this correct?

My goal is to then add RSS feeds to the site.

Thanks ahead of time for your reply :smile:

Chip,
You missed one small step.. When copying WordPress into the same directory as ZenCart (which you would ONLY do if you intend to use the imbedding features of this mod) make sure you delete or rename the WordPress "index.php" file..

22 Apr 2009, 9:37 PM
#763
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Wordpress On ZC [Support Thread]

bluechip:

Proper Sequence for installing WordPress 2.7 on Zencart 1.38a

I just want to be sure I have the installation sequence correct, I read the post from about 40 on and realize there are 2 methods imbedded, and stand alone. From what I gather imbedded allows google sitemap to collect posts whereas stand alone (seperate directory) presents SEO challenges.

For the purposes of this query though I just wan to be sure I install in proper order:

  • Install Wordpress 2.7 in root of store
  • Use existing database making sure to define unique table name extentions
  • Install the WOZ addon from addons
  • Install the Kiddo mod.
  • Tweak from there

Is this correct?

My goal is to then add RSS feeds to the site.

Thanks ahead of time for your reply :smile:

Chip,

One additional small point. The embedding feature of this mod is supposed to work whether you put WordPress in the same directory as ZenCart or in a seperate directory. However there are specific reasons between putting WordPress files in the same directory or a different directory as ZenCart. These differences breaks down as follows:

If you plan to use SEO, or sitemap tools, then it probably works best if both ZenCart abd WordPress are in the same directory (someone using these tools will have to confirm -- in theory, this makes sense though)

If you want to use the WOZ sideboxes ONLY, then you should install WordPress in it's own directory (along with a few other mods to the install instructions -- I posted the how-to in this thread)

If you don't care about using the WOZ sideboxes by themselves (no embedded blog) or you don't care about SEO or other sitemap mods, then it's up to you to decide whther you want WP files in their own directory or in the same directory as Zen Cart..

Please note that there are reported issues with using this mod with the latest version of WordPress.. Most of them seem to revolve around errors and strange behavior when embedding WordPress.. There are some workarounds, but this mod is far from perfect, and it appears that the original author is no longer supporting it. Enjoy!

23 Apr 2009, 11:13 AM
#764
sachin1234 avatar

sachin1234

New Zenner

Join Date:
Nov 2008
Posts:
15
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Hello All,
I want to integrate the wordpress-mu with my zencart I dont want wordpress.

I have succesfully integrated the wordpress with zen cart by installing zen cart wordpress integration module .

But I need integration of zen cart with wordpress -mu.

The one problem which I am facing is in the admin of wordpress-mu when I tried to change blog address url to zen cart address url, it give me
FATAL error saying that
"**Could Not Find Blog! **"
on both my zen cart and worpress-mu.

But the above process is working fine with simple wordpress integration and I can see the side boxes and blog post on my zencart website.

Is there any one to help me out.

23 Apr 2009, 1:23 PM
#765
goldengirl avatar

goldengirl

New Zenner

Join Date:
Apr 2009
Posts:
1
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Hello All,

I have been going crazy for hours searching the forum and can't believe no one has had this problem. I have Zen cart installed in my root directory and wordpress in /blog.

I am using Zen Cart 1.3.8a
And the latest version of Wordpress.

There is something in the .htaccess file preventing me from navigating to https://www.example.com/blog

when I rename the file I can access https://www.example.com/blog but this causes server errors with the Zen cart installation.

Any advice would be really helpful:wacko:

25 Apr 2009, 6:42 AM
#766
sachin1234 avatar

sachin1234

New Zenner

Join Date:
Nov 2008
Posts:
15
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Hello All,
Misty I have read your suggestion.
First of all will let you know about how I install worpress and my test zen cart cart then what is the problem I am facing.

  1. Here is the location of my wordpress /data/www/wordpress

  2. Here is the location of my zencart /data/www/test_shop

  3. I have created one database which has table of worpress and zencart.

  4. the location of wordpress-config.php is in the zencart folder test_shop\includes\extra_configures\wordpress-config.php.

define ('ABSPATH',$_SERVER['DOCUMENT_ROOT'].'/wordpress/');

I can see the side box of wordpress on my zencart shop but when i click on the link like about, Uncategorized... then it redirects me to index page . I cant see the wordpress posting and comments .

So please let me know where I am wrong.

Thx

25 Apr 2009, 6:59 AM
#767
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Wordpress On ZC [Support Thread]

4) the location of wordpress-config.php is in the zencart folder test_shop\includes\extra_configures\wordpress-config.php.


PHP Code:
define ('ABSPATH',$_SERVER['DOCUMENT_ROOT'].'/wordpress/');  

Incorrect path i suspect.. see previous post at
http://www.zen-cart.com/forum/showpost.php?p=443320&postcount=274

25 Apr 2009, 8:51 AM
#768
sachin1234 avatar

sachin1234

New Zenner

Join Date:
Nov 2008
Posts:
15
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Thanks for your reply misty but path is correct .
I have checked it.

25 Apr 2009, 10:08 AM
#769
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Wordpress On ZC [Support Thread]

but path is correct
If it were correct then wordpress would be working,
but you say it is not...
Path should be similar to zencart config...with allowance
made for fact you are configuring wordpress..
i.e.

define('ABSPATH', '/home/myservername/public_html/blog/');
25 Apr 2009, 10:16 AM
#770
sachin1234 avatar

sachin1234

New Zenner

Join Date:
Nov 2008
Posts:
15
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

  1. Here is the location of my wordpress /data/www/wordpress

  2. Here is the location of my zencart /data/www/test_shop
    and path in zen cart config

define('DIR_FS_CATALOG', '/data/www/test_shop/');

Should I install wordpres again in the directory
/data/www/test_shop/NEW_INSTALLTION_OF_WORDPRESS

Let me know your concerns.

25 Apr 2009, 3:13 PM
#771
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Wordpress On ZC [Support Thread]

Then if your zencart works with that config, try

define ('ABSPATH', '/data/www/wordpress/');  
26 Apr 2009, 5:07 PM
#772
rainthebat avatar

rainthebat

Zen Follower

Join Date:
Feb 2007
Posts:
314
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

goldengirl:

Hello All,

I have been going crazy for hours searching the forum and can't believe no one has had this problem. I have Zen cart installed in my root directory and wordpress in /blog.

I am using Zen Cart 1.3.8a
And the latest version of Wordpress.

There is something in the .htaccess file preventing me from navigating to www.example.com/blog

when I rename the file I can access www.example.com/blog but this causes server errors with the Zen cart installation.

Any advice would be really helpful:wacko:

A little more info will be needed. First, what is in the code in the .htaccess? And, what is the server error that you get from the Zen Cart installation?

26 Apr 2009, 5:12 PM
#773
rainthebat avatar

rainthebat

Zen Follower

Join Date:
Feb 2007
Posts:
314
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

sachin1234:

define ('ABSPATH',$_SERVER['DOCUMENT_ROOT'].'/wordpress/');

> 
> So please let me know where I am wrong.
> 
> Thx

This sounds like the defining of the blog location in the options of the wordpress admin. Wordpress Admin>>Settings>>General:

WordPress address (URL):
Blog address (URL):

Make sure these are set correctly. Particularly because you have the blog installed in its own directory. Sometimes it takes a little experimenting.

Actually a little more info may also be helpful. What is the link location that you are getting for the sidebox link? Hover the mouse over the link, right click>copy link location.
27 Apr 2009, 7:46 AM
#774
sachin1234 avatar

sachin1234

New Zenner

Join Date:
Nov 2008
Posts:
15
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Hello rainthebat,
The installation director of wordpress is
/data/www/wordpress

The installation director of wordpress is
/data/www/test_shop

WordPress address (URL): http://www.example.com/wordpress_test
Blog address (URL): http://www.example.com/test_shop

sidebox link: http://www.example.com/test_shop/?cat=1

Let me know what else you want.

27 Apr 2009, 1:36 PM
#775
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Wordpress On ZC [Support Thread]

sachin1234:

Hello rainthebat,
The installation director of wordpress is
/data/www/wordpress

The installation director of wordpress is
/data/www/test_shop

WordPress address (URL): http://www.example.com/wordpress_test
Blog address (URL): http://www.example.com/test_shop

sidebox link: http://www.example.com/test_shop/?cat=1

Let me know what else you want.I think that rainbat meant it would help if you posted ACTUAL links for your site..

27 Apr 2009, 3:25 PM
#776
cannie avatar

cannie

New Zenner

Join Date:
Mar 2009
Posts:
17
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

I have wordpress installed. I've followed the instructions for the add-on as well.

This is the error I have received.

Warning: Cannot modify header information - headers already sent by (output started at /home/content/d/l/s/dlshostacct/html/gripp/includes/templates/template_default/common/html_header.php:22) in /home/content/d/l/s/dlshostacct/html/gripp/blog/wp-includes/pluggable.php on line 850

http://gripp-performance.com/index.php?main_page=wordpress
It can be seen here...I'm assuming I at least got the ABSPATH location right for wordpress to show up, but I'm not sure what I need to change to not have that error and it actually show up.

If any one could help me figure it out it would greatly be appreciated.

27 Apr 2009, 8:49 PM
#777
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Wordpress On ZC [Support Thread]

Cannie:

I have wordpress installed. I've followed the instructions for the add-on as well.

This is the error I have received.

Warning: Cannot modify header information - headers already sent by (output started at /home/content/d/l/s/dlshostacct/html/gripp/includes/templates/template_default/common/html_header.php:22) in /home/content/d/l/s/dlshostacct/html/gripp/blog/wp-includes/pluggable.php on line 850

http://gripp-performance.com/index.php?main_page=wordpress
It can be seen here...I'm assuming I at least got the ABSPATH location right for wordpress to show up, but I'm not sure what I need to change to not have that error and it actually show up.

If any one could help me figure it out it would greatly be appreciated.Search this thread for kiddos fix.

28 Apr 2009, 6:10 AM
#778
sachin1234 avatar

sachin1234

New Zenner

Join Date:
Nov 2008
Posts:
15
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

DivaVocals:

I think that rainbat meant it would help if you posted ACTUAL links for your site..

I have solved the problem. I commented some line in the extra_configure/wordpress-config.php file

	/*$i=strlen(DIR_WS_CATALOG);
	$req=substr($_SERVER['REQUEST_URI'],$i,1);
	if($req=='?'){
		$_GET['main_page']='wordpress';
	}*/

and just use ```php
$_GET['main_page']='wordpress';


After long exploration of files within worpress and zen cart I came into conclusion that zencart dont get **?main_page=wordpress** in the URL so that why when we click on the wordpress sidebox link it will redirected me to index page of zen cart
30 Apr 2009, 5:59 AM
#779
calixto avatar

calixto

New Zenner

Join Date:
Mar 2009
Posts:
30
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Where is the function vtu_checkUserWS?

I getFatal error: Call to undefined function: vtu_checkuserws() in /home2/calixto/ayconetworks-www/zencart/includes/classes/observers/class.loginWordPress.php on line 27

30 Apr 2009, 1:23 PM
#780
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Wordpress On ZC [Support Thread]

sachin1234:

I have solved the problem. I commented some line in the extra_configure/wordpress-config.php file

/*$i=strlen(DIR_WS_CATALOG);
$req=substr($_SERVER['REQUEST_URI'],$i,1);
if($req=='?'){
    $_GET['main_page']='wordpress';
}*/

and just use php
$_GET['main_page']='wordpress';


> **sachin1234:**
>
> After long exploration of files within worpress and zen cart I came into conclusion that zencart dont get **?main_page=wordpress** in the URL so that why when we click on the wordpress sidebox link it will redirected me to index page of zen cartBut to be CLEAR, you are trying to get this mod to work with ***WordPress****-MU*** correct??? I assume part of your problem might have been related to the differences between ***WordPress**-MU*** and WordPress (since this mod was written specifically for WordPress and NOT ***WordPress**-MU***)..