The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
PayPal installation - Error 200 - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5) +--- Thread: PayPal installation - Error 200 (/showthread.php?tid=239) |
PayPal installation - Error 200 - airmale - Aug 12th, 2009 I must be typing the path wrong. According to directions, I have to edit this part in the donate/includes/library.php file: // the path needs to be updated to include your api.php $includes_folder = dirname(__FILE__); require_once("$includes_folder/path/to/global/api/api.php"); if the path is ../formtools/global/api/api.php what should the above line(s) look like? Update - this code: // the path needs to be updated to include your api.php $includes_folder = dirname(__FILE__); require_once("$includes_folder/../../formtools/global/api/api.php"); produces an "Error 200" instead of my usual "not found" errors. RE: PayPal installation - Error 200 - Ben - Aug 13th, 2009 Hi Airmale, If the path is ../formtools/global/api/api.php, the code should be: PHP Code: // the path needs to be updated to include your api.php The 200 error you mentioned - is that a Form Tools error code? If so, check out: http://docs.formtools.org/api/?page=error_codes#200 - Ben RE: PayPal installation - airmale - Aug 14th, 2009 Hi Ben, Success! I think clearing the browser cache helped. I did need to start the path with a double /../../ On to step 2 of the tutorial. ~Darrel RE: PayPal installation - Error 200 - Ben - Aug 15th, 2009 Excellent! Glad it got sorted out. Setting up PayPal enabled forms is always one of my least favourite jobs.... And thanks very much for the donation! :-) It's very much appreciated! - Ben |