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
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.
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.
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.
Comments on Fatal Error paypal.php
Beginner
Usergroup: Member
Joined: Apr 06, 2008
Location: thailand
Total Topics: 1
Total Comments: 5
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
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
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.
Beginner
Usergroup: Member
Joined: Apr 06, 2008
Location: thailand
Total Topics: 1
Total Comments: 5
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
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
I see it now, fixed.
Beginner
Usergroup: Member
Joined: Apr 06, 2008
Location: thailand
Total Topics: 1
Total Comments: 5
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.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Again, it would be counterproductive to say anything more.