The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
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
$includes_folder dirname(__FILE__);
require_once(
"$includes_folder/../formtools/global/api/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