Hi, I used this ressources (http://www.interaktonline.info/files/51 ... ition.html)
to help me But I always have this problem, Who can help me please...
http://inscriptioneduc-ci.org/AdM1n/log ... nfo=DENIED
Thanks
Making the Interakt products compatible with PHP5.3
-
- Posts: 10
- Joined: 2012-09-25 12:32
Re: Making the Interakt products compatible with PHP5.3
Did it work before the upgrade?
Please paste line 217 from the tNG.class.php here I want to check something.
Please paste line 217 from the tNG.class.php here I want to check something.
Re: Making the Interakt products compatible with PHP5.3
Hi all having the same issue with one site, getting the error below after applying the KollectionPro patch following an upgrade by host to PHP 5.3.17;
Warning: Parameter 2 to Trigger_Default_FormValidation() expected to be a reference, value given in /home/thesite/public_html/includes/tng/tNG.class.php on line 217
Warning: Cannot modify header information - headers already sent by (output started at /home/thesite/public_html/includes/tng/tNG.class.php:217) in /home/thesite/public_html/includes/common/KT_functions.inc.php on line 425
Pity walexblom didn't post his fix here it may have been of use.
Here's my /includes/tng/tNG.class.php 217 line:
$ret = call_user_func_array($callBackFunction,$tempParam);
Anyone help?
Jamo
Warning: Parameter 2 to Trigger_Default_FormValidation() expected to be a reference, value given in /home/thesite/public_html/includes/tng/tNG.class.php on line 217
Warning: Cannot modify header information - headers already sent by (output started at /home/thesite/public_html/includes/tng/tNG.class.php:217) in /home/thesite/public_html/includes/common/KT_functions.inc.php on line 425
Pity walexblom didn't post his fix here it may have been of use.
Here's my /includes/tng/tNG.class.php 217 line:
$ret = call_user_func_array($callBackFunction,$tempParam);
Anyone help?
Jamo
Re: Making the Interakt products compatible with PHP5.3
Guys check you replaced all the files in the tng folder.
The true error is not on line 217 of tng.class.php it is in a function elsewhere.
It is obviously something to do with the validation trigger so check specifically the tng/triggers files.
Could be the tNG_defTrigg.inc.php file
Check line 49 and make sure the second value is $uniVal and not &$unival
The true error is not on line 217 of tng.class.php it is in a function elsewhere.
It is obviously something to do with the validation trigger so check specifically the tng/triggers files.
Could be the tNG_defTrigg.inc.php file
Check line 49 and make sure the second value is $uniVal and not &$unival
Re: Making the Interakt products compatible with PHP5.3
Hi Fred, thanks for the reply. I checked the tNG_defTrigg.inc.php file and it is as it should be.
The error seems to show after the action has been taken eg, login or upload etc.
Jimmy
The error seems to show after the action has been taken eg, login or upload etc.
Jimmy
Re: Making the Interakt products compatible with PHP5.3
You will just have to look at all the files in the tng folder.
Or do a site wide search for parent::tNG_fields($connection) and replace with parent::tNG($connection)
Thing is the warning is in Trigger_Default_FormValidation()
To confirm this you can comment out the validation SB on the page and the error should go away but you will not have any validation.
The warning says the second parameter i.e. function "Trigger_Default_FormValidation(&$tNG, $uniVal) {" is the problem so if you are 100% sure you applied the updates correctly you will need to backtrack this $uniVal value to find the error.
If you downloaded the patch, please check this atricle to make sure all the files are patched. http://www.interaktonline.info/article/ ... P-5.3.html
Or do a site wide search for parent::tNG_fields($connection) and replace with parent::tNG($connection)
Thing is the warning is in Trigger_Default_FormValidation()
To confirm this you can comment out the validation SB on the page and the error should go away but you will not have any validation.
The warning says the second parameter i.e. function "Trigger_Default_FormValidation(&$tNG, $uniVal) {" is the problem so if you are 100% sure you applied the updates correctly you will need to backtrack this $uniVal value to find the error.
If you downloaded the patch, please check this atricle to make sure all the files are patched. http://www.interaktonline.info/article/ ... P-5.3.html
Re: Making the Interakt products compatible with PHP5.3
Re applied the patch and issue seems to be resolved. Must have messed up first time!
Fred, thanks for your patience.
Jimmy
Fred, thanks for your patience.
Jimmy