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

Wordpress On ZC [Support Thread]

Views: 620,702

Results 401 to 420 of 1,861
17 Apr 2008, 12:51 PM
#401
ladyink avatar

ladyink

Zen Follower

Join Date:
Oct 2007
Posts:
105
Plugin Contributions:
0

Wordpress On ZC [Support Thread]

ladyink:

Good Morning!

I have installed Wordpress in the root directory... Zen cart in /store. Things are improved this morning- I'm not getting an error message! It all still looks a little funny but that's cosmetic!

My main question here is... When I goto https://www.mysite.com, I'm getting the generic wordpress template. When I goto https://www.mysite.com/store/index.php?main_page=wordpress I see the wordpress in my zen cart template (which is what I want - minus the cosmetic issues of course). How do I make https://www.mysite.com look like that?

Any help is greatly appreciated!

Nancy

Can anyone offer any assistance for this? I've got all of my other modules installed now and the customer would really like to see all of the "good stuff" when he goes to the main URL. I'm sure it's a simple setting somewhere- I'm just not that proficient when it comes to wordpress!

Thanks
Nancy

3 May 2008, 10:04 AM
#402
svault avatar

svault

New Zenner

Join Date:
May 2008
Posts:
37
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Hi all,

I've been trying to integrate both programs for the last 2 days. I don't seem to be getting anywhere. Not too sure what went wrong. I will list out the different methods I used.

Method A

  1. Created woz category and uploaded zen cart 1.3.8a and wordpress 2.5 into individual folders.
  2. Used different databases for both ZC and WP.
  3. Installation went fine. Uploaded WOZ folders into the stated folders.
    --> Do not understand the instructions: *[/ZC_ROOT/includes/templates/MY_TEMP/] to [/includes/templates/template_default/] --> can someone explain the meaning of this?
  4. Edited the file for ZC: ('ABSPATH','/var/www/vhosts/mysite.com/httpdocs/woz/wordpress_25/')
  5. Sideboxes were showing on ZC but I'm getting a "file not found".

This is what I get: https://www.singaporevault.com/woz/zen-cart-v1.3.8a/index.php?main_page=wordpress

Method B would be the same as above, except that I used wordpress 2.51. Same problem.

From my understanding, it is due to my editing of the file includes/extra_configures/wordpress-config.php

I am just not understanding what is wrong though. I followed the instructions given by HIRA on his site: http://www.s-page.net/en/2008/04/13/test_zenv138_and_wp25/

Any help would be grateful. Thank you...

3 May 2008, 9:45 PM
#403
hira avatar

hira

Zen Follower

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

Re: Wordpress On ZC [Support Thread]

I think that ABSPATH is wrong simply.
Please confirm whether ABSPATH has a file(wp-config.php).

4 May 2008, 2:40 AM
#404
svault avatar

svault

New Zenner

Join Date:
May 2008
Posts:
37
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

I'm not good with ABSPATH.

My "wp-config.php" file is in "wew.singaporevault.com/woz/wordpress_25/wp-config.php"

So, what should I type into the "includes/extra_configures/wordpress-config.php" file?

What does "/var/" means?
What does "/vhosts/" means?
What does /httpdocs/" means?

If I've a better idea on how to create the path, I should be able to make it work.

I've tried a different method.
Method C:

  1. Put both ZC and WP into the same folder.
  2. Used the same database
  3. Installed everything but again, I get the same problem.

Check: https://www.singaporevault.com/next/index.php?main_page=wordpress

I'm encountering same issue.

Arigato HIRA...

4 May 2008, 3:36 AM
#405
svault avatar

svault

New Zenner

Join Date:
May 2008
Posts:
37
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Hi HIRA,

I've figured out the path for ABSPATH.

For anyone who needs to find it, I found it in post #218.

hi,
It seems to have been hard to understand my explanation.

1.At first open [/includes/configure.php] on the server.
2.Please look at the line of [ define('DIR_FS_CATALOG', '***'); ] ,
and please copy text .
3.Open [/includes/extra_configures/wordpress-config.php] ,
and please paste a [
]+WordPress directory.
If it is your environment, it is the following images.
define ('ABSPATH','***wordpress/');

An important thing is to input it without making a mistake a COMPLETE path to your WordPress directory.

Now, I've a different problem. I got it to work when I put everything into the same folder but when I put them in 2 different folders, I get an error.

See the error at: http://www.singaporevault.com/woz/zen-cart-v1.3.8a/index.php?main_page=wordpress

4 May 2008, 3:55 AM
#406
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Wordpress On ZC [Support Thread]

Svault:

I'm not good with ABSPATH.

My "wp-config.php" file is in "wew.singaporevault.com/woz/wordpress_25/wp-config.php"

So, what should I type into the "includes/extra_configures/wordpress-config.php" file?

define ('ABSPATH','woz/wordpress_25/');

It's that simple... first active line in wordpress-config.php

If you place all in the root, "wew.singaporevault.com" then 'ABSPATH','/'

6 May 2008, 12:04 AM
#407
rlfreshwater avatar

rlfreshwater

New Zenner

Join Date:
Oct 2007
Location:
Atlanta, GA
Posts:
79
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

:censored:

I've been in the process of switching webhosts and my new host set me up a temporary website while I got all the kinks worked out. I had everything working perfectly, but as soon as the domain name propagated today I got this error:

Warning: Cannot modify header information - headers already sent by (output started at /home/queerrep/public_html/includes/templates/qr/common/html_header.php:22) in /home/queerrep/public_html/wp-includes/pluggable.php on line 689

I read that sometimes this error is caused by an extra space or lines in the first file it mentions ... so I checked and there's no extra space or lines. So I looked at the second file and on lines 688 and 689 it reads,

status_header($status); // This causes problems on IIS and some FastCGI setups
		header("Location: $location");

Is this what's causing this message? If so, how do I get rid of it?

page is here:
http://www.queerrepublictees.com/index.php?main_page=wordpress

I'm running ZenCart 1.3.7 and this is WP 2.5

6 May 2008, 5:20 AM
#408
reden avatar

reden

New Zenner

Join Date:
Dec 2007
Posts:
23
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

I need help please. I don't understand why when viewing archives, all the archives work and show posts except for Categories. When it's in the categories archive, it shows nothing, all it says is "Not Found" and is replaced by a search box, any help on this please? It's driving me insane.

You can see the problem here

http://www.oxylifeco.com/store/?cat=29

Thanks guys

6 May 2008, 12:59 PM
#409
rlfreshwater avatar

rlfreshwater

New Zenner

Join Date:
Oct 2007
Location:
Atlanta, GA
Posts:
79
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

reden:

I need help please. I don't understand why when viewing archives, all the archives work and show posts except for Categories. When it's in the categories archive, it shows nothing, all it says is "Not Found" and is replaced by a search box, any help on this please? It's driving me insane.

You can see the problem here

http://www.oxylifeco.com/store/?cat=29

Thanks guys
Which version of Word Press are you using? I see you're using BlueHost and I was told by them this morning that people using WP 2.5 need to upgrade to 2.5.1 because there are too many problems on their platform with 2.5.

Is anybody out there using 2.5.1 successfully with the WOZ module?

I guess I'll take one for the team and try it later today ....

6 May 2008, 2:06 PM
#410
reden avatar

reden

New Zenner

Join Date:
Dec 2007
Posts:
23
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

I''m using version 2.3.2. Do you have an idea of what's going on?

6 May 2008, 2:18 PM
#411
rlfreshwater avatar

rlfreshwater

New Zenner

Join Date:
Oct 2007
Location:
Atlanta, GA
Posts:
79
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

reden:

I''m using version 2.3.2. Do you have an idea of what's going on?
No, I'm sorry ... I don't. I'm not technical at all. If you haven't already, it wouldn't hurt to call BlueHost and ask if they can help. They were a tremendous help to me this morning installing some affiliate software.

Sounds really strange, though, that everything else seems to be working correctly for you.

6 May 2008, 5:47 PM
#412
svault avatar

svault

New Zenner

Join Date:
May 2008
Posts:
37
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

rlfreshwater:

No, I'm sorry ... I don't. I'm not technical at all. If you haven't already, it wouldn't hurt to call BlueHost and ask if they can help. They were a tremendous help to me this morning installing some affiliate software.

Sounds really strange, though, that everything else seems to be working correctly for you.

rlfreshwater:

Which version of Word Press are you using? I see you're using BlueHost and I was told by them this morning that people using WP 2.5 need to upgrade to 2.5.1 because there are too many problems on their platform with 2.5.

Is anybody out there using 2.5.1 successfully with the WOZ module?

I guess I'll take one for the team and try it later today ....

I'm using WP 2.5.1 and ZC 1.3.8 and it's working fine. I've not used the achieves function. Hence, can't tell you if it works properly. I've used WP 2.5 and it works too.

rlfreshwater:

Warning: Cannot modify header information - headers already sent by (output started at /home/queerrep/public_html/includes/templates/qr/common/html_header.php:22) in /home/queerrep/public_html/wp-includes/pluggable.php on line 689

I believe this problem might be caused by having ZC and WP installed in 2 different directories. From what I've read in the forum, it's best to install both ZC and WP in the same directory. Everything will be in the same place. Do not install WP index.php when you install everything in the same location. ZC has it's own index.php which you will be using.

Next, if everything is already installed in the same folder, then check WP Blog URL. Check if you have typed in "www" or without "www". Example: http://mysite.com/blog or http://www.mysite.com/blog.
If you used http://mysite.com/blog, then your ZC's WP address will be: http://mysite.com/blog/index.php?main_page=wordpress
If you used http://www.mysite.com/blog, then your ZC's WP address will be: http://www.mysite.com/blog/index.php?main_page=wordpress

Hope my explanation is not too complicated for you. Took me like 3 days to figure things out.

Good luck...

6 May 2008, 7:07 PM
#413
reden avatar

reden

New Zenner

Join Date:
Dec 2007
Posts:
23
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

rlfreshwater:

No, I'm sorry ... I don't. I'm not technical at all. If you haven't already, it wouldn't hurt to call BlueHost and ask if they can help. They were a tremendous help to me this morning installing some affiliate software.

Sounds really strange, though, that everything else seems to be working correctly for you.

Well, I just upgraded to 2.5.1 Wordpress and that didn't fix the issue for me. This is a very weird problem.

6 May 2008, 7:24 PM
#414
reden avatar

reden

New Zenner

Join Date:
Dec 2007
Posts:
23
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

rlfresh, I also just spoke to Bluehost, they're telling me they can't help me, lol. I am literally out of ideas.

6 May 2008, 9:50 PM
#415
reden avatar

reden

New Zenner

Join Date:
Dec 2007
Posts:
23
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

I set up a different file for example

http://www.oxylifeco.com/store/main.php?cat=29

Like that, it does display posts per category, what's happening in this madness? some conflict I'm not seing?

7 May 2008, 10:06 AM
#416
rlfreshwater avatar

rlfreshwater

New Zenner

Join Date:
Oct 2007
Location:
Atlanta, GA
Posts:
79
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Svault:

I believe this problem might be caused by having ZC and WP installed in 2 different directories. From what I've read in the forum, it's best to install both ZC and WP in the same directory. Everything will be in the same place. Do not install WP index.php when you install everything in the same location. ZC has it's own index.php which you will be using.

Thanks, Svault. I did have them in the same directory and I agree with you that it's the way to go. It worked for me last time with my old host (ipower) and it worked for me again this time with my new one (bluehost).

To fix the problem that I was having yesterday, I reinstalled both Wordpress (v2.5.1) and the WOZ module and now it's working fine.

reden:

rlfresh, I also just spoke to Bluehost, they're telling me they can't help me, lol. I am literally out of ideas.
Sorry to hear that. Maybe I just lucked up when I called.

I went back to the link you gave first: http://www.oxylifeco.com/store/?cat=29 and notice that it gives the same error message that I was getting.

The link that you gave in your last post: http://www.oxylifeco.com/store/main.php?cat=29 ... no clue why they show up there correctly.

You mentioned you upgraded to 2.5.1 ... did you do an "upgrade" or did you completely reinstall it? If the former, then maybe you should reinstall both WP and WOZ? That's what I had to do and now it's working fine. :wacko:

13 May 2008, 9:44 AM
#417
picci avatar

picci

Zen Follower

Join Date:
Feb 2006
Posts:
125
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Regarding upgrading Wordpress to the latest version for your Wordpress on Zencart:

Your theme has a header.php page that is basically an include for the blog header. You will see the header.php file in all the themes (i.e. default, classic etc.).

I edit that file to remove the DOCTYPE, meta, title tags (first 8 lines in WP 2.5.1) as these tags get placed in the middle of your Zen Cart page where they do not belong and your Zen Cart page already has these in the right place.

I have found that leaving them in does not appear to break the page but removing them does not break Wordpress either.

13 May 2008, 4:23 PM
#418
busymom avatar

busymom

New Zenner

Join Date:
Jul 2007
Posts:
61
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

I've got things more or less working on a local server with zc 1.3.8a and wp 2.5 both together in the same directory, although they use different databases. On my main page, I have a single current post showing up the way I want to, and my sidebox links by category and by month/year properly navigate to the right pages. If I manually direct the browser to http://www.example.com/?, I am able to navigate to the right page.

Unfortunately I still have this small hiccup I haven't figured out how to fix yet! The title of the wp_cats sidebox is a link directed to the wrong place. The wp_archives sidebox title is not a link, so the problem I'm encountering is only with the wp_cats title. When I try to get to my blog by clicking on the wp_cat sidebox title link, I get a 404 error because the link is navigating to
http://www.example.com/index.php?main_page=1&zenid=xxxx
where xxx is the actual zenid number. How do I make this sidebox title link to go to the right place?

PS I tried setting up a permalink, but I obviously haven't got the .htaccess coded right yet or something, so I backed out the permalinks to debug this problem first.

Thanks in advance, Karen

15 May 2008, 5:40 PM
#419
busymom avatar

busymom

New Zenner

Join Date:
Jul 2007
Posts:
61
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

busyMom:

Unfortunately I still have this small hiccup I haven't figured out how to fix yet! The title of the wp_cats sidebox is a link directed to the wrong place. The wp_archives sidebox title is not a link, so the problem I'm encountering is only with the wp_cats title. When I try to get to my blog by clicking on the wp_cat sidebox title link, I get a 404 error because the link is navigating to
http://www.example.com/index.php?main_page=1&zenid=xxxx
where xxx is the actual zenid number. How do I make this sidebox title link to go to the right place?

OK, I sorted out what was wrong here... In case anyone else makes the same mistake, here's what you need to know:

  1. It doesn't matter which of the sideboxes you choose to use, but if you want the title to be a link, you need to make sure the appropriate file in includes/modules/sideboxes/YOUR_TEMPLATE/*.php has the variable $title_link set properly.
  2. Therein lies my mistake. I just assumed that since I didn't want the value to be "false", then I must've wanted it to be "true". The logical value of True was correctly being passed into the link as the link parameter "index.php?main_page=1" instead of "index.php?main_page=wordpress" as it should've been. My wp_sidebar.php had it correct, but since I had that sidebox disabled, it took awhile to trackdown that I had used the wrong value when I changed my sidebox $title_link!!

Now with that corrected, I'll see if I can get permalinks working with Hira's SEO instructions. It does seem like a bit of a disconnect, though -- all the recommendations here say to install the ZC and WP code into the same directory in order to avoid unspecified probable issues, but Hira's instructions indicate that they should be in different directories for the SEO instructions. I'm hoping that is just a detail based on his experimentation, though, and off I go to try to get it working with them both installed in the root directory!

Hope this helps someone following in my (wrong) footsteps!
Karen

15 May 2008, 10:40 PM
#420
bumba000 avatar

bumba000

Totally Zenned

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

Re: Wordpress On ZC [Support Thread]

Can someone tell me where to look in the db for wordpress links.
I was using woz until I found that it was breaking a few other things and just didn't want to deal with it. Anyways, I would like to build a sidebox that works with wp being in a separate dir. Looking in the db I can't find category names or the count of how many posts there are for each.

The sideboxes that are intended to work with woz haven't been much help as a guide.

Thanks in advance,
John

PS Just leaving the sidebox and language files up kinda works but it breaks Live Product Feed and Google Base Feed.