Zen Cart Logo
Forums / Addon Payment Modules / Website crashes after installing paypal IPN

Website crashes after installing paypal IPN

Locked

Views: 1,774

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
3 Aug 2007, 2:07 PM
#1
cjjune avatar

cjjune

Zen Follower

Join Date:
Apr 2007
Posts:
139
Plugin Contributions:
0

Website crashes after installing paypal IPN

Hi

My website crashes after installing paypal IPN ZC 1.3.7. If I remove the PP IPN module, the website is OK.

When I mean crash, the website cannot display most of the thing on the website. SQl error and nothing works right.

What is wrong? I didnt change any code.:frusty:

Please help.

3 Aug 2007, 2:42 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Website crashes after installing paypal IPN

You may wish to upgrade to the Zen Cart v1.3.7.1 which has the current updates in it:
http://www.zen-cart.com/forum/showthread.php?t=69769

3 Aug 2007, 2:47 PM
#3
cjjune avatar

cjjune

Zen Follower

Join Date:
Apr 2007
Posts:
139
Plugin Contributions:
0

Re: Website crashes after installing paypal IPN

Hi Linda,

Ok thanks.
However the PP IPN works good on local host with testing using the sandbox. :wacko:

4 Aug 2007, 5:36 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Website crashes after installing paypal IPN

CJJUNE:

When I mean crash, the website cannot display most of the thing on the website. **SQl error and nothing works right.**Please do not post a problem without also posting the details ... such as the SQL error message that you get on your site.
We cannot magically guess the cause of the problem ...

5 Aug 2007, 1:28 PM
#5
cjjune avatar

cjjune

Zen Follower

Join Date:
Apr 2007
Posts:
139
Plugin Contributions:
0

Re: Website crashes after installing paypal IPN

Hi Dr Byte,

Sorry for not elaborating further.

After installating PP IPN with the patch dated 17 June my website cannot display any product listing from Home (no random new product display) and New Product. I can only navigate from 3 links and they are Home, New Product and Contact Us. Login is missing Sideboxes are missing.

After click Home the website display as per attached.

After click New Product the SQL error generated was this error below:-

1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-0, MAX_DISPLAY_PRODUCTS_NEW' at line 10
in:
[SELECT p.products_id, p.products_type, pd.products_name, p.products_image, p.products_price, p.products_tax_class_id, p.products_date_added, m.manufacturers_name, p.products_model, p.products_quantity, p.products_weight, p.product_is_call, p.product_is_always_free_shipping, p.products_qty_box_status FROM zen_products p LEFT JOIN zen_manufacturers m ON (p.manufacturers_id = m.manufacturers_id), zen_products_description pd WHERE p.products_status = 1 AND p.products_id = pd.products_id AND pd.language_id = 1 order by pd.products_name limit -0, MAX_DISPLAY_PRODUCTS_NEW]

The website crashed at most of the module. :frusty:

6 Aug 2007, 3:43 PM
#7
cjjune avatar

cjjune

Zen Follower

Join Date:
Apr 2007
Posts:
139
Plugin Contributions:
0

Re: Website crashes after installing paypal IPN

Dear Dr Byte,

Thanks for the help.:clap:
Now my PP IPN works like beauty.
Does it mean i have to execute the SQL statements as a monthly routine thing to avoid such crashing problem?

6 Aug 2007, 11:55 PM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Website crashes after installing paypal IPN

CJJUNE:

Does it mean i have to execute the SQL statements as a monthly routine thing to avoid such crashing problem?

No -- those were necessary due to the large number of contributions and built-in modules you've installed/activated.

Those SQL statements will be built-in to the next release of Zen Cart, so you will not have to do them repeatedly.