help-gift
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [help-GIFT] Problem with client interface


From: Claude Heiland-Allen
Subject: Re: [help-GIFT] Problem with client interface
Date: Wed, 27 Apr 2011 10:52:42 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8

Hi,

On 27/04/11 02:25, Rahayu A Hamid wrote:
[Wed Apr 27 11:24:19 2011] [error] [client ::1] PHP Notice:  Undefined 
variable: HTTP_SERVER_VARS in /var/www/index.php on line 31

This is the problem, and the cause is likely that your PHP installation is newer than the version that the GIFT PHP code was originally written for, and your PHP installation no longer supports the old ways (at least by default).

So, how do I solve this????

This might be a temporary workaround (untested):

http://www.php.net/manual/en/ini.core.php#ini.register-long-arrays

It would be better in the long run to update the PHP code to use the non-deprecated features:

http://www.php.net/manual/en/language.variables.superglobals.php

Hopefully this helps (I haven't tested it with GIFT but had to fix some similar issues in an unrelated project recently)...


Claude



reply via email to

[Prev in Thread] Current Thread [Next in Thread]