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

Wordpress On ZC [Support Thread]

Views: 620,414

Results 1,481 to 1,500 of 1,861
22 Mar 2010, 11:48 AM
#1481
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Wordpress On ZC [Support Thread]

lankeeyankee:

are you guys talking about a different mod? Perhaps you should start another support thread for that mod to keep this one focused on Hira's WOZ to avoid confusion about what people are talking about... In fact, I thought that was one of the requirements for having a mod accepted in the downloads section? If we're going by the roolz and all that jazz....:P:laugh:

Thought it was all the same with WOZ whether it was embedded or sidebox only. Did not mean to cause any confusion. I am strictly referring to sideboxes. Kim

22 Mar 2010, 11:56 AM
#1482
loosefast avatar

loosefast

Zen Follower

Join Date:
Jun 2005
Posts:
199
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Hira includes a file named check_path.php in his WOZ 1.5 distribution which will display your ABSPATH info when it is uploaded to he blog folder and then navigated to, as in http://www.zen-cart.com/myblogfolder/check_path.php

22 Mar 2010, 1:08 PM
#1483
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]

loosefast:

Hira includes a file named check_path.php in his WOZ 1.5 distribution which will display your ABSPATH info when it is uploaded to he blog folder and then navigated to, as in http://www.zen-cart.com/myblogfolder/check_path.php
I've included similar instructions in the WOZ Sideboxes Only readme.. but that's not kburners issue..

22 Mar 2010, 1:13 PM
#1484
loosefast avatar

loosefast

Zen Follower

Join Date:
Jun 2005
Posts:
199
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Oh, just re-read his post. Does he have his blog on a separate domain?

DivaVocals:

I've included similar instructions in the WOZ Sideboxes Only readme.. but that's not kburners issue..

22 Mar 2010, 1:27 PM
#1485
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]

kburner:

Hi DivaVocals,

Thank you for responding. My blog is located at www.kjvladiesbible.com and does not have any extensions to my zencart site www.burnerbooks.com. I contacted Bluehost and they confirmed correct path and even told me to try it without folder name. My folder name in path is same as site with kjvladiesbible.

When I tried to add the site www.kjvladiesbible.com to my path it did not work, but - I did not add the http:...I will try it again tonight with http://. Thanks. KimKim,
This explains the issue.. Please look at the readme again.. Specifically the link I referenced in the section which explains what the ABSPATH is.

ABSPATH is not the URL of your blog (ie http://www.yoursite.com) but the relative path to your blog.

Absolute path example:
/home/users/c/computerhope/public_html/cgi-bin

The problem here is that your blog is NOT the same domain as the main site. WOZ Sideboxes Only like the full flavor of WOZ assumes that you have installed your blog in the same base relative path as your store.

However, your blog has a different domain altogether (and I presume different hosting space than your store) and therefore a base relative path that is not the same base as your main website.

For example your setup I believe looks like this:

  • Store: /home/users/s/store/public_html/
  • Blog: /home/users/b/blog/public_html/

When WOZ Sideboxes Only requires something like this:

  • Store: /home/users/s/store/public_html/
  • Blog: /home/users/s/store/public_html/blog/

I do not know if you would be able to use ANY of the blog embedding solutions to link your blog with your store based on this setup.. (with the exception of one of the RSS feed solutions perhaps..)

kburner:

Thought it was all the same with WOZ whether it was embedded or sidebox only. Did not mean to cause any confusion. I am strictly referring to sideboxes. KimTrust me you didn't girl.. no worries..:smile:

loosefast:

Oh, just re-read his post. Does he have his blog on a separate domain?
Yep, and that is the problem unfortunately..

22 Mar 2010, 11:43 PM
#1486
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

DivaVocals:

Kim,
This explains the issue.. Please look at the readme again.. Specifically the link I referenced in the section which explains what the ABSPATH is.

ABSPATH is not the URL of your blog (ie http://www.yoursite.com) but the relative path to your blog.

Absolute path example:
/home/users/c/computerhope/public_html/cgi-bin

The problem here is that your blog is NOT the same domain as the main site. WOZ Sideboxes Only like the full flavor of WOZ assumes that you have installed your blog in the same base relative path as your store.

However, your blog has a different domain altogether (and I presume different hosting space than your store) and therefore a base relative path that is not the same base as your main website.

For example your setup I believe looks like this:

  • Store: /home/users/s/store/public_html/
  • Blog: /home/users/b/blog/public_html/

When WOZ Sideboxes Only requires something like this:

  • Store: /home/users/s/store/public_html/
  • Blog: /home/users/s/store/public_html/blog/

I do not know if you would be able to use ANY of the blog embedding solutions to link your blog with your store based on this setup.. (with the exception of one of the RSS feed solutions perhaps..)

Trust me you didn't girl.. no worries..:smile:

Yep, and that is the problem unfortunately..

Thanks DivaVocals for your help. I had a feeling the different domain name was the problem even though it is still in same directory as zencart store. :(

22 Mar 2010, 11:56 PM
#1487
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]

kburner:

Thanks DivaVocals for your help. I had a feeling the different domain name was the problem even though it is still in same directory as zencart store. :(Okay.. Now I am confused.. In order for me to FULLY answer your questions, you are going to have to provide some more complete information..

So post the following:
Your blog ABSPATH
Your store ABSPATH

Based on your post, is your domain pointed to a subfolder of your store??????? Does your blog HAVE to have it's own domain???

23 Mar 2010, 12:08 AM
#1488
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

DivaVocals:

Okay.. Now I am confused.. In order for me to FULLY answer your questions, you are going to have to provide some more complete information..

So post the following:
Your blog ABSPATH
Your store ABSPATH

Based on your post, is your domain pointed to a subfolder of your store??????? Does your blog HAVE to have it's own domain???

Store:
define ('ABSPATH','/home/xxxx/public_html/');

my zencart files are located after public_html...like admin, includes, images,etc.

Blog:
define ('ABSPATH','/home/xxxx/public_html/kjvladiesbible/');

kjvladiesbible folder (WordPress site) is also located in same area as other folders

I had problems with e-commerce with WordPress to get working and ended up with new domain name. I have different products listed than burnerbooks store.

Kim

23 Mar 2010, 12:18 AM
#1489
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]

kburner:

Store:
define ('ABSPATH','/home/xxxx/public_html/');

my zencart files are located after public_html...like admin, includes, images,etc.

Blog:
define ('ABSPATH','/home/xxxx/public_html/kjvladiesbible/');

kjvladiesbible folder (WordPress site) is also located in same area as other folders

I had problems with e-commerce with WordPress to get working and ended up with new domain name. I have different products listed than burnerbooks store.

KimNot sure I understand the significance of this statement.. Are you saying that this issue is the reason why the blog has it's own domain??

23 Mar 2010, 12:26 AM
#1490
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

DivaVocals:

Not sure I understand the significance of this statement.. Are you saying that this issue is the reason why the blog has it's own domain??

No. I started out with https://www.burnerbooks.com/blog. As I loaded e-commerce for Word Press I received lots of errors. I went back and forth between WP forum and host..and finally host said it would be better to just have different domain name. Could not get it to work. As soon as I switched to new domain name and reloaded...WP site works with e-commerce.

Zencart site was fine. After I got WP site working, I have been trying to get zencart sidebox to work. Kim

23 Mar 2010, 12:37 AM
#1491
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]

kburner:

No. I started out with www.burnerbooks.com/blog. As I loaded e-commerce for Word Press I received lots of errors. I went back and forth between WP forum and host..and finally host said it would be better to just have different domain name. Could not get it to work. As soon as I switched to new domain name and reloaded...WP site works with e-commerce.

Zencart site was fine. After I got WP site working, I have been trying to get zencart sidebox to work. KimTo my knowledge, you can't link your blog to Zen Cart if the blog directory is redirected to a domain name.

Though we would need to take any talk of WordPress specific issues to the WordPress Forums, I'll say this very quick.. I'm pretty sure that your host is wrong about WordPress needing it's own domain to support the WP e-commerce plugin.. I've created development sites for clients using both WP e-Commerce & eShop for Wordpress. ALL of my dev sites are using a sub folder of my main site. So clearly something else was going on if you were unable to get e-commerce to work..

23 Mar 2010, 3:21 AM
#1492
hira avatar

hira

Zen Follower

Join Date:
Jun 2004
Location:
Japan
Posts:
169
Plugin Contributions:
1

Re: Wordpress On ZC [Support Thread]

DivaVocals:

This is uniquely an issue with regards to permalinks. Permalinks work just fine, but I have never had good success getting permalinks to work. I am not fully sure what the issues have been.. (I'm fairly certain that it is not a bug of any sorts, but merely something that I am doing wrong when setting them up.. I'll admit that I never really had time to test to fully understand HOW to get WordPress permalinks to work correctly.. When my time permits, I'll REALLY spend some time testing and researching permalinks to fully understand how to get them to work..

You'll see that the default feed URL works fine
../testsite/blog/?feed=rss2

I just turned off permalinks on this test site until I can set them up to work correctly across the board.. That said, I think you will agreee that this is still a CLEANER solution than WOZ, and it is how WOZ should be working.. (Hence why I will continue to be of the opinion that your development approach for WOZ is not the right one..)

Roger.
I tested, but after all fail in feed.
I want to examine a cause.:smile:

23 Mar 2010, 3:24 AM
#1493
hira avatar

hira

Zen Follower

Join Date:
Jun 2004
Location:
Japan
Posts:
169
Plugin Contributions:
1

Re: Wordpress On ZC [Support Thread]

kburner:

No. I started out with https://www.burnerbooks.com/blog. As I loaded e-commerce for Word Press I received lots of errors. I went back and forth between WP forum and host..and finally host said it would be better to just have different domain name. Could not get it to work. As soon as I switched to new domain name and reloaded...WP site works with e-commerce.

Zencart site was fine. After I got WP site working, I have been trying to get zencart sidebox to work. Kim

Is it that an error happened in WOZ v1.5?
Please try it by all means if you do not try it.

23 Mar 2010, 4:13 AM
#1494
hira avatar

hira

Zen Follower

Join Date:
Jun 2004
Location:
Japan
Posts:
169
Plugin Contributions:
1

Re: Wordpress On ZC [Support Thread]

Hi kburner

hira:

Is it that an error happened in WOZ v1.5?
Please try it by all means if you do not try it.
In v1.5, please be careful to there not being includes/extra_configures/wordpress-config.php.
Please delete it if there is it on a server.
When there is it, an error may occur.

23 Mar 2010, 4:50 AM
#1495
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]

hira:

Hi kburner

In v1.5, please be careful to there not being includes/extra_configures/wordpress-config.php.
Please delete it if there is it on a server.
When there is it, an error may occur.
Hi Hira,

She's using the Sideboxes Only version as she wanted to keep her blog separate (not embedded).. Her issue is related to the fact that her blog is on a different domain than her site..

23 Mar 2010, 4:51 AM
#1496
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]

hira:

Roger.
I tested, but after all fail in feed.
I want to examine a cause.:smile:Yep.. I will be examining this as well.. I've never had good luck with getting permalinks to work correctly for the feeds..

23 Mar 2010, 5:14 AM
#1497
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]

hira:

Roger.
I tested, but after all fail in feed.
I want to examine a cause.:smile:While the feed links may not work correctly on my other test site using the Numinix blog embedding (ONLY while permalinks are active), I just tested and permalinks don't seem to work at all with WOZ.. (They also work funny when using the Sideboxes Only version too..)

23 Mar 2010, 2:45 PM
#1498
hira avatar

hira

Zen Follower

Join Date:
Jun 2004
Location:
Japan
Posts:
169
Plugin Contributions:
1

Re: Wordpress On ZC [Support Thread]

DivaVocals:

While the feed links may not work correctly on my other test site using the Numinix blog embedding (ONLY while permalinks are active), I just tested and permalinks don't seem to work at all with WOZ.. (They also work funny when using the Sideboxes Only version too..)

I succeeded in working of feed!:clap:
I insert the following code just after wp();.

WOZ v1.5 over: includes/init_includes/init_woz.php
Other : includes/extra_configures/wordpress-config.php

  if ($_GET['main_page'] == FILENAME_WORDPRESS && is_feed()) {
    gzip_compression();
    require_once(ABSPATH . WPINC . '/template-loader.php');
    exit();
  }

Please try it.
And I am glad when you feed back.

-- Postscript --
When it is an old version, FILENAME_WORDPRESS may not be defined.
In that case, please add the following.

define('FILENAME_WORDPRESS', 'wordpress');
23 Mar 2010, 3:14 PM
#1499
hira avatar

hira

Zen Follower

Join Date:
Jun 2004
Location:
Japan
Posts:
169
Plugin Contributions:
1

Re: Wordpress On ZC [Support Thread]

hira:

I succeeded in working of feed!:clap:
I insert the following code just after wp();.

WOZ v1.5 over: includes/init_includes/init_woz.php
Other : includes/extra_configures/wordpress-config.php

if ($_GET['main_page'] == FILENAME_WORDPRESS && is_feed()) {
gzip_compression();
require_once(ABSPATH . WPINC . '/template-loader.php');
exit();
}

> 
> Please try it. 
> And I am glad when you feed back.
> 
> -- Postscript --
> When it is an old version, FILENAME_WORDPRESS may not be defined. 
> In that case, please add the following.
> ```
define('FILENAME_WORDPRESS', 'wordpress');

Because the trackback did not work like feed normally, I changed it on the following code.

  if ($_GET['main_page'] == FILENAME_WORDPRESS && ( is_feed() || is_trackback() )) {
    gzip_compression();
    require_once(ABSPATH . WPINC . '/template-loader.php');
    exit();
  }
23 Mar 2010, 4:39 PM
#1500
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

DivaVocals:

Hi Hira,

She's using the Sideboxes Only version as she wanted to keep her blog separate (not embedded).. Her issue is related to the fact that her blog is on a different domain than her site..

Thanks for replying back DivaVocals...Looks like I will have to give up on this module at this time. Still have a help ticket into my host. Kim