PDA

View Full Version : Bug in global.php


Frankc
7th July 2006, 10:06 AM
The following line should perhaps be removed from global.php in the root directory.

require_once('settings/paramNames.php');

My affilliate signup form did not work until I removed above line.

tigerincanada
7th July 2006, 06:14 PM
It looks like this was pointed at the wrong folder. Try this:

require_once('./cache/paramNames.php');


(Version 3.0.0)

anuska
11th July 2006, 04:11 PM
Hi,

try to copy ParamNames.php from CACHE to SETTINGS directory or download new version.

regards,
Anuska

tigerincanada
12th July 2006, 12:34 AM
Anuska -

Quite a few other pages, like /merchants/global.php look for this in the CACHE_PATH folder.

It is supposed to get rewritten if someone changes their parameter names in the Integration Wizard. However, if /cache/paramNames.php is not writeable (according to the PHP fopen error) the error message in PostAffiliate mentions /settings/paramNames.php - so it looks like a decision was made to change this, but not everything was updated?

Please clarify this...