Webmastersite.net
Register Log In

Fatal Error paypal.php
paypal.php throws fatal error

Comments on Fatal Error paypal.php

dorothai
Beginner

Usergroup: Member
Joined: Apr 06, 2008
Location: thailand

Total Topics: 1
Total Comments: 5
Posted Apr 06, 2008 - 1:58 PM:

Hi Paul,

we had an upgrade at the 4th of March.
The paypal.php is throwing since then a fatal error when a user is redirected back to the web site after payment process is completed.

Call to undefined function: redirect() in /home/s08761/public_html/paypal.php on line 152

Any idea? Any other updated files missing?

Cheers,
Doris
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7867
Paul
Posted Apr 06, 2008 - 4:56 PM:

function redirect is defined in includes/commonfuncs.php, and paypal.php includes start.php which in turn includes that file. But it only gets included when the payment is verified, I see. There's nothing really to do with an invalid payment anyway, but I'll move the include to ensure it doesn't create that error.
dorothai
Beginner

Usergroup: Member
Joined: Apr 06, 2008
Location: thailand

Total Topics: 1
Total Comments: 5
Posted Apr 07, 2008 - 6:02 PM:

The payment is received, booked and visible in admin's payment list.
That part worked fine.
The landing page did not work - it displayed the css style of the site with the fatal error.




Cheers and thanks
Doris
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7867
Paul
Posted Apr 07, 2008 - 9:12 PM:

I see it now, fixed.
dorothai
Beginner

Usergroup: Member
Joined: Apr 06, 2008
Location: thailand

Total Topics: 1
Total Comments: 5
Posted Apr 08, 2008 - 2:33 AM:

Ok and how did you fix it?
Did you update any files we need to download/upload to the server?
We did not change, modify or alter any files yet participating in this process.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7867
Paul
Posted Apr 09, 2008 - 1:47 AM:

Again, it would be counterproductive to say anything more.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.