Zen Cart Logo
Forums / All Other Contributions/Addons / Wordpress & checkout

Wordpress & checkout

Locked

Views: 1,488

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
22 Sep 2007, 5:50 PM
#1
thebooktrunk_com avatar

thebooktrunk_com

New Zenner

Join Date:
Aug 2007
Posts:
30
Plugin Contributions:
0

Wordpress & checkout

I have installed wordpress on zencart contribucion twice, and i get always the same problem, when i go to the second step in Checkout i get a blank page, anyone knows why? I am breaking my head, because the contribucion files dont have anything to do with the checkout process, that i know.
Please help.:cry:
Thanks.
www.thebooktrunk.com

22 Sep 2007, 11:16 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Wordpress & checkout

Have you tried to first get the cart to function before applying the WP Module?

23 Sep 2007, 12:01 AM
#3
thebooktrunk_com avatar

thebooktrunk_com

New Zenner

Join Date:
Aug 2007
Posts:
30
Plugin Contributions:
0

Re: Wordpress & checkout

Yes, I have just deleted wordpress, and the cart is working fine

:blink:

23 Sep 2007, 12:25 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Wordpress & checkout

I have not looked at the files that this mod touches but that is where I would start looking...

23 Sep 2007, 5:10 AM
#5
tick avatar

tick

New Zenner

Join Date:
Jun 2007
Location:
Phoenix, AZ
Posts:
66
Plugin Contributions:
0

Re: Wordpress & checkout

When I encountered this in my development environment it was due to an out of memory condition. Check the php error log (if you have one set up). If not, an easy experiment would be to increase the amount of memory a script is allowed to use. Look for a line in your php.ini file that starts with "memory_limit" and change the value on the right to "32M" without the quotes.

Note that your hosting provider may or may not let you modify this value. I haven't tried it in my production environment yet. Also, if you own the box and php is installed as an Apache module, you may have to issue an "apachectl graceful" as root so that the ini file gets re-read.

Alternately, you can move the file that was installed in includes/extra_configures to includes/modules/YOUR_TEMPLATE so that it only loads the WordPress framework on the page that actually renders WordPress. Make sure the file in includes/modules/YOUR_TEMPLATE is named the same as your main_page variable (e.g. the file should be named wordpress.php if your url is http://yoursite/index.php?main_page=wordpress).

Finally, a quick head's up: I tried that contribution and it didn't seem ready for prime time. It had some issues (you've hit one), and the integration with Zen was pretty much nonexistent. (You'll have two user databases, one for Zen, one for WordPress). I also didn't like the terms of the licensing which stated they wanted a PayPal "donation" for the right to remove their "powered by WoZ" footer. (I'm not sure those terms are permissible under the GPL, so you may be able to disregard it. I elected not to use the contribution so I never did the research.) I've scrapped the contribution and am writing an improved WordPress module from scratch. If you're not willing to do that, then your best bet may be to install the two products separately and modify the WordPress theme to include links to your store. YMMV.

23 Sep 2007, 5:21 AM
#6
tick avatar

tick

New Zenner

Join Date:
Jun 2007
Location:
Phoenix, AZ
Posts:
66
Plugin Contributions:
0

Re: Wordpress & checkout

One last thing: if your server extremely busy, edit the memory_limit setting at your own peril. It may very well bring the box to its knees. Make sure your server can handle the change before tinkering with any setting in the ini file.

Good luck!

23 Sep 2007, 5:41 AM
#7
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Wordpress & checkout

If you are on a 'nix server and have Mod_Rewrite available you can add this to you htaccess file to change the php memory if that is the issue:

RewriteEngine On
php_value memory_limit 33554432

For a 32 MB limit and other valid byte values for larger