Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Paypal ipn_main_handler.php?type=ec Blank Page

Paypal ipn_main_handler.php?type=ec Blank Page

Locked

Views: 5,990

Results 1 to 20 of 20
This thread is locked. New replies are disabled.
30 Oct 2010, 4:48 PM
#1
vinogradov avatar

vinogradov

New Zenner

Join Date:
Aug 2010
Posts:
39
Plugin Contributions:
0

Paypal ipn_main_handler.php?type=ec Blank Page

Ive been searching and looking for solutions for hours and still cant find why my http://www.anotherroundgolfclubs.com/ipn_main_handler.php?type=ec is blank! I enables CURL with hostgator like I was supposed to, but still nothing.

And yes, ive used the search feature, no clear solution. I put in the API key and everything.

Can anybody help me?

30 Oct 2010, 7:59 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Paypal ipn_main_handler.php?type=ec Blank Page

Click "Reply" below and answer all the questions in the "Posting Tips" section.

30 Oct 2010, 8:25 PM
#3
vinogradov avatar

vinogradov

New Zenner

Join Date:
Aug 2010
Posts:
39
Plugin Contributions:
0

Re: Paypal ipn_main_handler.php?type=ec Blank Page

What version of Zen Cart are you using?

You are presently using: v1.3.9e

Has your site been upgraded? When? From what version(s)?

Nope

What addons have you installed? When?

Easy Populate, Fed Ex, Add Customers from admin panel, Max Mind, etc ,etc. There has been many but 90% of them are not related to payment processing.

In what ways is your site customized or different from a brand new uncustomized install?

I installed a theme, thats pretty much it.

30 Oct 2010, 9:18 PM
#5
vinogradov avatar

vinogradov

New Zenner

Join Date:
Aug 2010
Posts:
39
Plugin Contributions:
0

Re: Paypal ipn_main_handler.php?type=ec Blank Page

HostGator is using php 5 now I believe. I can change between php 4 and php 5 in the cpanel.

30 Oct 2010, 9:28 PM
#6
drbyte avatar

drbyte

Sensei

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

Re: Paypal ipn_main_handler.php?type=ec Blank Page

Which specific PHP version are you using?
Login to your Zen Cart admin, and click the "Version Info" link in the top right navigation bar.

Also, what's in the log files I mentioned?

30 Oct 2010, 9:39 PM
#7
vinogradov avatar

vinogradov

New Zenner

Join Date:
Aug 2010
Posts:
39
Plugin Contributions:
0

Re: Paypal ipn_main_handler.php?type=ec Blank Page

Here it is: PHP Version 5.2.14

EDIT: I dont know where those log files are.

30 Oct 2010, 11:32 PM
#8
drbyte avatar

drbyte

Sensei

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

Re: Paypal ipn_main_handler.php?type=ec Blank Page

As per the article, they're in the /cache/ folder of your site, which you must access via FTP.

31 Oct 2010, 3:20 AM
#9
vinogradov avatar

vinogradov

New Zenner

Join Date:
Aug 2010
Posts:
39
Plugin Contributions:
0

Re: Paypal ipn_main_handler.php?type=ec Blank Page

Ok, ill pull them up and then reply.

31 Oct 2010, 7:09 AM
#10
vinogradov avatar

vinogradov

New Zenner

Join Date:
Aug 2010
Posts:
39
Plugin Contributions:
0

Re: Paypal ipn_main_handler.php?type=ec Blank Page

It doesnt have anything related to paypay as far as I can see. Ill look at all of them.

31 Oct 2010, 1:45 PM
#11
drbyte avatar

drbyte

Sensei

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

Re: Paypal ipn_main_handler.php?type=ec Blank Page

Your issue might not be a PayPal issue at all. Maybe you've got something else broken on your site, which is only manifesting when attempting to use PP.

31 Oct 2010, 6:03 PM
#12
vinogradov avatar

vinogradov

New Zenner

Join Date:
Aug 2010
Posts:
39
Plugin Contributions:
0

Re: Paypal ipn_main_handler.php?type=ec Blank Page

Well, I saw you work on the other problems that had the same issue, is there anything in particular that solved it? Should I reupload the files, or what?

31 Oct 2010, 6:22 PM
#13
drbyte avatar

drbyte

Sensei

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

Re: Paypal ipn_main_handler.php?type=ec Blank Page

In most cases the problem was a result of missing or damaged files, and usually the exact cause of the problem was documented in the debug logs which I've asked you to share a couple times already.

31 Oct 2010, 6:32 PM
#14
vinogradov avatar

vinogradov

New Zenner

Join Date:
Aug 2010
Posts:
39
Plugin Contributions:
0

Re: Paypal ipn_main_handler.php?type=ec Blank Page

Also why the **** is it so hard to upgrade zen cart compared to other php applications, omg. Zen Cart developers are really smart....

31 Oct 2010, 6:39 PM
#15
vinogradov avatar

vinogradov

New Zenner

Join Date:
Aug 2010
Posts:
39
Plugin Contributions:
0

Re: Paypal ipn_main_handler.php?type=ec Blank Page

Ok, well one of the logs said, this is probably it:

[30-Oct-2010 09:43:57] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/tylerjok/public_html/includes/classes/order.php:2) in /home/tylerjok/public_html/includes/modules/payment/paypalwpp.php on line 1570
[30-Oct-2010 09:43:57] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/tylerjok/public_html/includes/classes/order.php:2) in /home/tylerjok/public_html/includes/functions/functions_general.php on line 45

Here is another one:

[17-Aug-2010 00:15:50] PHP Fatal error: Can't use function return value in write context in /home/tylerjok/public_html/includes/modules/sideboxes/more_information.php on line 25

Here is another:

[01-Sep-2010 15:28:35] PHP Warning: require(includes/languages/english/html_includes/define_page_2.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/tylerjok/public_html/includes/templates/template_default/templates/tpl_page_2_default.php on line 21
[01-Sep-2010 15:28:35] PHP Warning: require(includes/languages/english/html_includes/define_page_2.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/tylerjok/public_html/includes/templates/template_default/templates/tpl_page_2_default.php on line 21
[01-Sep-2010 15:28:35] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/languages/english/html_includes/define_page_2.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/tylerjok/public_html/includes/templates/template_default/templates/tpl_page_2_default.php on line 21

Here is the last:

[17-Aug-2010 00:15:52] PHP Fatal error: Can't use function return value in write context in /home/tylerjok/public_html/includes/modules/sideboxes/more_information.php on line 25

1 Nov 2010, 2:40 AM
#17
vinogradov avatar

vinogradov

New Zenner

Join Date:
Aug 2010
Posts:
39
Plugin Contributions:
0

Re: Paypal ipn_main_handler.php?type=ec Blank Page

Bump. I really need to fix this soon.

1 Nov 2010, 5:07 AM
#18
drbyte avatar

drbyte

Sensei

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

Re: Paypal ipn_main_handler.php?type=ec Blank Page

vinogradov:

[30-Oct-2010 09:43:57] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/tylerjok/public_html/includes/classes/order.php:2) in ...Yes, you need to deal with that.
Fortunately that's addressed in this Tutorial/FAQ article which can be found simply by searching the Tutorials/FAQs section for that error message: https://www.zen-cart.com/tutorials/index.php?article=87

vinogradov:

[17-Aug-2010 00:15:50] PHP Fatal error: Can't use function return value in write context in /home/tylerjok/public_html/includes/modules/sideboxes/more_information.php on line 25If that's never come up again since August 17, then it was likely a bad edit you made temporarily. If it's still a problem then I'd expect you'd be getting blank pages on every click to your storefront.

vinogradov:

[01-Sep-2010 15:28:35] PHP Warning: require(includes/languages/english/html_includes/define_page_2.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in ...That's telling you that when that error occurred, you were missing the file mentioned.
Again, if it's not happening anymore, then evidently you've fixed the problem either by putting the missing file onto your server or by turning off the link that you were clicking on to trigger it.

1 Nov 2010, 9:02 PM
#19
vinogradov avatar

vinogradov

New Zenner

Join Date:
Aug 2010
Posts:
39
Plugin Contributions:
0

Re: Paypal ipn_main_handler.php?type=ec Blank Page

Well, the host gator support guy fixed it for me. Also, why can't zen cart just show the errors? I hate some of the ways zen cart does things.

1 Nov 2010, 11:43 PM
#20
drbyte avatar

drbyte

Sensei

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

Re: Paypal ipn_main_handler.php?type=ec Blank Page

Zen Cart can't "just show the errors" because that creates HUGE security problems. If you give away the error message details to hackers, they can do all kinds of havoc with your system. Plus, your bank will shut you down because your site poses security problems.

If you'd rather get hacked, you can always break the safeties and turn on the error messages and just live with the consequences. Just don't come crying to us when you get hacked.