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

Wordpress On ZC [Support Thread]

Views: 620,602

Results 901 to 920 of 1,861
21 Aug 2009, 8:07 AM
#901
divavocals avatar

divavocals

Totally Zenned

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

Wordpress On ZC [Support Thread]

KT Naturals:

It was the functions.php that messed up the admin. So, now back to the same old original problem.

It may be easy for some to modify a WP theme to look like their ZC, but to me it's not and takes a lot of work.

Sigh, wish I could get this to work.It may help to find a WP template closer to the layout you desire.. I don't use ANY of the default WP templates EVER.. They are a PITA to modify, and I've NEVER had good success modifying either the classic or default templates..

But there are lots of other MUCH simpler templates that are great starting points.. Your site design in particular would be SUPER easy to do in WP.. In fact the template I used for the record company site would be a GREAT starting point for your site.. especially since the color palette of the original template is VERY similar to your site's color palette..

Anyway it's a suggestion.. if you can work your way through making your Zen Cart store look good (and you did..) trust me WP will be a breeze.. Quite honestly I started down the road of using this WOZ add-on because I was not "getting it" when it came to customizing WP templates.. Then I got some advice from the WP forums to NOT use the classic or default templates as a starting point, and off I went..

22 Aug 2009, 9:02 PM
#902
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

Re: Wordpress On ZC [Support Thread]

Has anyone run into the problem where they embed wordpress and then when you go to the site's homepage the wordpress homepage is embedded into the zen cart homepage? For instance, if I type in example.com/site then example.com/site/? is what comes up in the brwoser address bar and the wordpress content is there. I don't want that, I just want it embedded into zen cart and showing only when you click on a link in the sidebox. I think this might be due to one of a zillion mods I have on the zen cart, which is 1.3.7.1 and wp is 2.8.4, but I am not sure. I have seen where other sites are running this without this problem, such as http://asialuna.com/ which was posted in this thread.

I have tried doing a redirect with .htaccess but it won't work for some reason. Any ideas??

23 Aug 2009, 5:54 PM
#903
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
856
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Hi All,
I have seen very little mention of this here. The RSS Feed is broken. The error " XML Parsing Error: XML or text declaration not at start of entity ".

When viewing the page source I see that normal headers and footers are loading. I have created a new override folder in includes/templates/myTemp/ with blank header and footer files.

This has not worked so far but I could also have the folder named incorrectly.

Does anyone have a fix for this?

Thanks,
John

23 Aug 2009, 9:09 PM
#904
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]

lankeeyankee:

Has anyone run into the problem where they embed wordpress and then when you go to the site's homepage the wordpress homepage is embedded into the zen cart homepage? For instance, if I type in example.com/site then example.com/site/? is what comes up in the brwoser address bar and the wordpress content is there. I don't want that, I just want it embedded into zen cart and showing only when you click on a link in the sidebox. I think this might be due to one of a zillion mods I have on the zen cart, which is 1.3.7.1 and wp is 2.8.4, but I am not sure. I have seen where other sites are running this without this problem, such as http://asialuna.com/ which was posted in this thread.

I have tried doing a redirect with .htaccess but it won't work for some reason. Any ideas??Don't know if there is a "fix" for this, but it certainly is normal behavior for this mod.. (BTW if you go to http://asialuna.com/? this does bring up their blog)

Before kiddos fix this was a sort of work around for those of use who could not get the http://yoursite.com/index.php?main_page=wordpress to display the blog correctly..

23 Aug 2009, 10:53 PM
#905
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

Re: Wordpress On ZC [Support Thread]

DivaVocals:

Don't know if there is a "fix" for this, but it certainly is normal behavior for this mod.. (BTW if you go to http://asialuna.com/? this does bring up their blog)

Before kiddos fix this was a sort of work around for those of use who could not get the http://yoursite.com/index.php?main_page=wordpress to display the blog correctly..

Ah, yes, I should have clarified. I know that going to mysite.com/? will go to the blog, but on a clean zc 1.3.7.1 install with wp embedded the default behavior when you go to mysite.com is to go to mysite.com and the regular zen main page is displayed. For some reason, when I go to my super modified site(a clone testing site of course!:smile:) and go to mysite.com/test_site it will go to mysite.com/test_site/?. That is what I can't figure out. I have tried to redirect with an htaccess file but everything that I have tried so far doesn't work or will break the functionality of the zen cart wordpress sidebox and when you click a wp link it just redirects back to the index page.

It's been frustrating the heck out of me. I just had a thought that perhaps the test site being in a subdirectory and not the root might have something to do with it somehow. I will try installing a test clone into one of my dormant domain's root to see if that is the problem.

There is some weird conflict going on and I can't quite get it right. I have tried changing some of the logic in includes/extra_configures/wordpress-config.php but still haven't gotten it with or without Kiddo's fix.

If anyone else has had a similar problem and a fix I am all ears!:D I will keep working on isolating the problem, and once figured out I will post my results.

23 Aug 2009, 11:08 PM
#906
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: Wordpress On ZC [Support Thread]

@lankeeyankee

what happens when you go to mysite.com/test_site/index.php

23 Aug 2009, 11:20 PM
#907
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
856
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Forgot to include the address. You'll see the page load with the name META_TAG_TITLE, this is not a problem. Will get to it next.

http://www.12volt-travel.com/knowledgebase/feed/

Thanks,
John

24 Aug 2009, 12:29 AM
#908
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

Re: Wordpress On ZC [Support Thread]

niccol:

@lankeeyankee

what happens when you go to mysite.com/test_site/index.php

It opens as expected on the regular zen cart homepage. I have tried to redirect mysite.com/test_site and mysite.com/test_site/ to mysite.com/test_site/index.php with an htaccess rewrite rule but it isn't working, it doesn't redirect so I am doing something wrong.

Here's a new thing, though. When I went back to it today it is working as expected when going to mysite.com/test_site or mysite.com/test_site/ meaning it's going to the regular zen cart homepage.

Last night I found that I had www.mysite.com/test_site in the zc config file and mysite.com/test_site in wp config, so I changed the zc config to match wp, ie. no www. at the beginning.

And I also have query cache mod installed, I don't know how long the database cache lasts, and I was thinking that perhaps this was one of those times when clearing the browser cache and cookies and refreshing the page still didn't show the new changes?

Either way, it appears to be working right now, but I thought I had it before and came back to it to find out that I hadn't gotten it, so I can't say for sure yet.:smile:

Do you have any suggestions as what to do to make sure that we always get to the default index.php page when someone first gets to mysite.com/test_site ?

24 Aug 2009, 12:35 AM
#909
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

Re: Wordpress On ZC [Support Thread]

bumba000:

Forgot to include the address. You'll see the page load with the name META_TAG_TITLE, this is not a problem. Will get to it next.

http://www.12volt-travel.com/knowledgebase/feed/

Thanks,
John

I'm not sure I understand where the error is coming from. Is it on a wordpress page's RSS link? Or do you have the zen cart RSS feed module installed and that is what is giving the error? It is missing the XML declaration line, so possibly there is a corrupt file that is not outputting the declaration line before the rest of the feed info?

24 Aug 2009, 12:53 AM
#910
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
856
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Hi lankeeyankee,
If you look at the source of that page you'll see that the declaration line is before the rest of the feed info but there is also a standard header, footer and everything in between.

Simply put, the source behind the page isn't just the feed.

Thanks,
John

24 Aug 2009, 1:26 AM
#911
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

Re: Wordpress On ZC [Support Thread]

bumba000:

Hi lankeeyankee,
If you look at the source of that page you'll see that the declaration line is before the rest of the feed info but there is also a standard header, footer and everything in between.

Simply put, the source behind the page isn't just the feed.

Thanks,
John

I see what you mean. Perhaps it has something to do with the rewritten url? On mine, with the default permalinks the feed is mysite.com/?feed=rss2 and yours is /feed. I had problems getting anything but the default permalinks working correctly within zen cart. If I changed them to anything but the default permalink all of the wordpress links in my zc sidebox would just resolve to the homepage.

24 Aug 2009, 1:34 AM
#912
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
856
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

If the url is changed to ...com/knowledgebase/?feed=rss2 on enter it pauses and then forwards to ...com/knowledgebase/feed/. Gives same error.

Changed permalinks back to default and still gave the same error.

Thanks,
John

24 Aug 2009, 1:43 AM
#913
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

Re: Wordpress On ZC [Support Thread]

You changed the permalink setting in the wp admin and it still resolves to knowledgebase/feed instead of knowledgebase/?feed=rss2? That is weird, I wonder if it's a cache issue?

Do you have other wp modules installed that could be causing a confilct?

24 Aug 2009, 1:45 AM
#914
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
856
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

No, sorry about that. When I changed the permalinks the url kept the ?feed=rss2?.

24 Aug 2009, 1:58 AM
#915
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

Re: Wordpress On ZC [Support Thread]

And does it work that way or still broken?

24 Aug 2009, 2:01 AM
#916
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
856
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Still broken. I should be able to make a dir in includes/templates/myTemp/ called knowledgebase_feed and put a blank header, sidebox and footer file in there. Then the body (the feed) would load on it's own.

Can't seem to come up with a working directory name for the override. calling the dir "knowledgebase_feed" doesn't work. I have tried many other names too. ZERO success.

24 Aug 2009, 2:41 AM
#917
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
856
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

I have changed everything back (permalinks + deleted override dir) and now the feed doesn't go to a page with an error message. It stays in the blog but doesn't load any of the feed anywhere.

I'm completely stumped.

24 Aug 2009, 4:01 AM
#919
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
856
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Scratch my last comment. I cleared cache an I'm back to the error. Whew!! I had no idea what I had done to cause that. :D

Still broken though.

24 Aug 2009, 4:49 AM
#920
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
856
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

yes, permalinks are set to default.