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

Wordpress On ZC [Support Thread]

Views: 620,592

Results 1,001 to 1,020 of 1,861
20 Nov 2009, 5:19 PM
#1001
rmelick avatar

rmelick

New Zenner

Join Date:
Nov 2009
Posts:
7
Plugin Contributions:
0

Wordpress On ZC [Support Thread]

My site (blackcuproaster.com) has all the layout/look I have been looking for with the wordpress blog being presented on the homepage and other aspects. I am running into a common issue of an error code popping up only on certain pages:

http://www.blackcuproaster.com/
http://blackcuproaster.com/index.php?main_page=index (after logging in, it is directed to this)

The error is the following:
Warning: Cannot modify header information - headers already sent by (output started at /home/content/t/b/c/tbcroaster/html/includes/templates/template_default/common/html_header.php:22) in /home/content/t/b/c/tbcroaster/html/wp/wp-includes/pluggable.php on line 865

I have done everything from change my htaccess to push anybody that goes to https://www.blackcuproaster.com to blackcuproaster.com, but that has errored out with every code made. I have talked to tech support from GoDaddy (I know, but I didnt make the decision, the boss did) and they said they couldnt do anything with the forwarding. It was bringing up the same issue that I was having.

As for the full on error code, I have also attempted every fix that I could find in these forums and others and am at a loss of what to do. I would really love to have some help with this issue so I might get it fixed for good. Anything would be great.

Thank you in advance.

21 Nov 2009, 9:25 PM
#1002
digidiva_kathy avatar

digidiva_kathy

Zen Follower

Join Date:
May 2006
Posts:
323
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

There's something in the read_me about changing some lines in /wp-includes/canonical.php, but the second set of lines referred to does not exist in the file I have. I am wondering if that's why my Wordpress links are not working.

http://www.focusfriends.com

Any help is appreciated.

22 Nov 2009, 12:26 AM
#1003
digidiva_kathy avatar

digidiva_kathy

Zen Follower

Join Date:
May 2006
Posts:
323
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Wilkesy:

Hi,

Ive just installed this mod as this will be soooo good in terms of SEO!

I have a problem tho, i dont get any content on the pages when i load them up. The sidebar works great, the titles change, the breadcrumbs change but no content??

what am i doing wrong?

www.funkyfancydress.com is the link

Many thanks

I actually got my links working, but now I also have no content on my pages. Am hoping you get a solution as it seems to be not just you or me. Are you running WP 2.8.6?

22 Nov 2009, 5:20 AM
#1004
digidiva_kathy avatar

digidiva_kathy

Zen Follower

Join Date:
May 2006
Posts:
323
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Okay, let me be the first to say I am NOT a coder, nor do I claim to be, but in trying to figure this out, I am confused by this in the templates/tpl_wordpress_default.php file:

print $define_page;

Logic said to me that the $define_page had to be set somewhere so I used the developer's toolkit and saw that in every instance of $define_page being used, there was a matching $define_page in a modules/pages/foldername/header_php.php file...except this one. There is no $define_page in the modules/pages/wordpress/header_php.php file. Could that be the problem?

23 Nov 2009, 2:00 PM
#1005
thevintagesound avatar

thevintagesound

New Zenner

Join Date:
Aug 2005
Posts:
90
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Ok, I have my paths set up correctly, I have the side bar displaying the categories and such but when you click on a category to view the postings you get a blank page within Zencart. Any body have this issue? What did you do to resolve it.

http://designs.attentiontodesign.com/?main_page=wordpress

23 Nov 2009, 2:26 PM
#1006
loosefast avatar

loosefast

Zen Follower

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

Re: Wordpress On ZC [Support Thread]

thevintagesound:

Ok, I have my paths set up correctly, I have the side bar displaying the categories and such but when you click on a category to view the postings you get a blank page within Zencart. Any body have this issue? What did you do to resolve it.

http://designs.attentiontodesign.com/?main_page=wordpress

Try a different theme in WordPress.

23 Nov 2009, 5:09 PM
#1007
thevintagesound avatar

thevintagesound

New Zenner

Join Date:
Aug 2005
Posts:
90
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Tried that. It will change no problem, but if you do a preview of any of the themes in WP is shows an error

Fatal error: Call to a member function get_template_dir() on a non-object in /home/attent5/public_html/designs/includes/languages/english/credit_cards.php on line 46

24 Nov 2009, 1:46 PM
#1008
loosefast avatar

loosefast

Zen Follower

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

Re: Wordpress On ZC [Support Thread]

I just set up a new install of zen 1.3.8a wordpress 3.8.5 and woz 1.4 and everything seems to work. The woz sidebox shows whatever widgets I assign in the dashboard. The links to posts in the sidebox resolve just fine. Also using a free theme from http://www.zenflavor.com.

So, I would suggest a new install for anyone having issues. This is a first for me using this mod. Welcome back Hira!

24 Nov 2009, 2:29 PM
#1009
digidiva_kathy avatar

digidiva_kathy

Zen Follower

Join Date:
May 2006
Posts:
323
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

loosefast:

I just set up a new install of zen 1.3.8a wordpress 3.8.5 and woz 1.4 and everything seems to work. The woz sidebox shows whatever widgets I assign in the dashboard. The links to posts in the sidebox resolve just fine. Also using a free theme from http://www.zenflavor.com.

So, I would suggest a new install for anyone having issues. This is a first for me using this mod. Welcome back Hira!

Wordpress 3.8.5?? You mean 2.8.5? I'm running 2.8.6, maybe that's the problem. It seems that several of us are experiencing the same thing so I don't think it's us...

24 Nov 2009, 2:32 PM
#1010
loosefast avatar

loosefast

Zen Follower

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

Re: Wordpress On ZC [Support Thread]

digidiva-kathy:

Wordpress 3.8.5?? You mean 2.8.5? I'm running 2.8.6, maybe that's the problem. It seems that several of us are experiencing the same thing so I don't think it's us...

Ooops, I meant WordPress 2.8.6.
Here is the site http://berkautoguide.com/zen/

24 Nov 2009, 4:32 PM
#1011
thevintagesound avatar

thevintagesound

New Zenner

Join Date:
Aug 2005
Posts:
90
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

I'm running 2.8.6 here with that problem.

24 Nov 2009, 4:50 PM
#1012
loosefast avatar

loosefast

Zen Follower

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

Re: Wordpress On ZC [Support Thread]

have you tried a fresh install of zen and wordpress and the latest WOZ?

24 Nov 2009, 6:37 PM
#1015
thevintagesound avatar

thevintagesound

New Zenner

Join Date:
Aug 2005
Posts:
90
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

PHP Version: 5.2.9 (Zend: 2.2.0)

25 Nov 2009, 4:21 AM
#1016
loosefast avatar

loosefast

Zen Follower

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

Re: Wordpress On ZC [Support Thread]

thevintagesound:

PHP Version: 5.2.9 (Zend: 2.2.0)

I think Hira mentioned a few pages back that he developed this mod on PHP4. Does your host allow you to switch back and forth to PHP 4 or use an .htaccess to assign version?

Is anybody else using this on PHP 5 with no issue?

25 Nov 2009, 4:54 AM
#1017
aliepinieks avatar

aliepinieks

Zen Follower

Join Date:
Jun 2009
Location:
Brisbane, QLD AUS
Posts:
209
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Hi RMelick,

I had a similar problem (from memory) when performing my own 'manual' redirects from the root index.php file. I actually fixed it once (no idea how) however a subsequent re-install of ZC meant i could not reproduce my feats of the past.

An interesting point - I noticed certain WP templates raised the error where others did not. Some in fact raised more errors, however I have yet to understand how I originally fixed it

Anyway, I simply gave up in the end and stopped trying a full integration, which might sound like a lazy approach, but check out the site to see how i've integrated it first: www.qualityhomebrew.com.au.

the primary reason for 'giving up' was actually conflicting CSS, which I had neither the time or the patience to fix. Instead, I installed wordpress in a subfolder, used a redirect for the variable index.php?main_page=wordpress, and then incorporated wordpress entries manually into my zen-cart layout. i actually learnt quite a lot in the process, and as the whole purpose of wordpress in this site was to improve SEO and make it a 'sub-component' of ZC, i think it works quite well.

last but not least, there is a wealth of information on calling wordpress functions and variables directly from your ZC templates, so in a funny kind of way i have made my implementation a little more robust as no longer is WP relying on ZC or vica-versa.

I'm unfortunately not in a position to test using this site anymore as the one site I implemented it on is now LIVE, and just a tad busy this week to go from scratch again but if I can find a solution i'll post it here.

Good luck!

25 Nov 2009, 5:47 PM
#1018
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]

FYI,

Your site loads VERY slow, and though my screen resolution is set to 1152 X 864, the left and right side of your site extends OFF my screen without even a scrollbar to see the far left and far right of the layout..

ALiepinieks:

Anyway, I simply gave up in the end and stopped trying a full integration, which might sound like a lazy approach, but check out the site to see how i've integrated it first: www.qualityhomebrew.com.au.
I don't think what you're doing is lazy.. I too gave up on full integration using WOZ because it was far too aggravating for me trying to work through all these hiccups for every site I tried using this module with.

I posted this earlier in the WOZ support thread: http://www.zen-cart.com/forum/showpost.php?p=693495&postcount=655. These are my down and dirty instructions I came up with for using only the sideboxes from the WOZ module. I have since tweaked this process to include removing quite a bit of the code from the wp-configure.php file which interferes with other Zen Cart mods (Google feeds and SEO mods in particular). The code I removed was not needed for the WOZ sideboxes to work standalone.. I’ve also removed any files that were only used for the WOZ blog embedding, and were also not needed for the WOZ sideboxes to work standalone.

I'm also gonna create a 'wp_posts' sidebox which displays the same content as your WordPress latest posts widget (I'll be creating this sidebox based on these two links: http://codex.wordpress.org/Template_Tags/get_posts & http://www.dezinashop.com/demo/?p=4) Hira has code in the language files that implies that this sidebox exists, but it is not included in the WOZ files..

I have been giving some thought to packaging this up as an alternate add-on, or as an alternate install option in the WOZ app.. (Giving all credit to Hira of course..:clap:) It's another option that folks might wanna give a try..

Not to take anything away from Hira, but IMO a better method for blog embedding can be found here:
http://www.numinix.com/blog/2009/09/26/integrating-wordpress-into-zen-cart-1-3-8a/

As of this writing, I have taken a quick glance at the instructions and supporting files provided by Numinix. Numinix's embedding/integration method would appear to work with my WOZ sidebox only method. However, in order to make this look aesthetically pleasing, I probably should disable the display of the blog sidebar on most of the blog pages while still being able to enable/display the WP widgets elsewhere. I believe some variation of this would work:

I will be editing the following files within my blog’s theme:

  • index.php
  • page.php
  • single.php
  • archive.php
  • search.phpWithin these files I’ll find and delete the following line:
 
<?php get_sidebar(); ?>
```The sidebar will no longer display, while the WOZ sideboxes will continue to display. I could then continue to activate and use my WP widgets, but they will only display within the WOZ sideboxes. 
 
I’ll be testing this over the weekend of course, but IMO this is a better solution for those who must embed WP content.. Best of both worlds IMO.. Again no disrespect to Hira, but I have never had good success getting the embedding portion of this module to work trouble free..
25 Nov 2009, 6:08 PM
#1019
loosefast avatar

loosefast

Zen Follower

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

Re: Wordpress On ZC [Support Thread]

It seems to me that we are getting away from discussing WOZ here.

Most recent posts are instead discussing other methods of using WordPress together with Zen Cart.

That's fine, but really not what this forum topic is about. I don't think it helps the folks having issues with this mod.

Has anybody setup the version 1.4 of WOZ with zen and gotten it to work?

25 Nov 2009, 6:37 PM
#1020
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:

It seems to me that we are getting away from discussing WOZ here.

Most recent posts are instead discussing other methods of using WordPress together with Zen Cart.So I am clear, the majority of my recent post IS about using WOZ. I like the WOZ sideboxes, just not the embedding part.. too much work to get it to function, and I've expressed that before.. (and will probably continue to do so since I still feel that way..:smile:) Perhaps the rest was off topic, but there are other posts in this thread that also dance around that fine line as well (for example how to embed recent posts on the front page -- this is an often asked about topic and technically NOT part of WOZ..)

My point is that the posts in this thread really never stray that far from this mod. However, for a variety of reasons, historically it has been difficult and painful for many to resolve issues with this mod.. (a peek through this thread bears that out..) So naturally people look for alternatives and share them with the community.. I think that is helpful.. (It is after all how I figured out how to make a recent posts side box for this module) Pehaps these solutions are not helpful for you, but they might be for those who have decided for whatever reason that this module is not working for them. So I think sharing my WOZ sidebox only solution IS helpful.. If you believe otherwise, we'll have to agree to disagree..:smile: