Making the Interakt products compatible with PHP5.3

Any tips and tricks that has to with the interakt extensions that doesn't fit into one of the other categories
[email protected]
Posts: 6
Joined: 2012-09-25 12:32

Re: Making the Interakt products compatible with PHP5.3

Postby [email protected] » 2012-09-25 12:40

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
User avatar
Fred
Site Admin
Posts: 484
Joined: 2010-02-15 12:10
Location: Armagh, Northern Ireland
Contact:

Re: Making the Interakt products compatible with PHP5.3

Postby Fred » 2012-09-25 21:32

Did it work before the upgrade?

Please paste line 217 from the tNG.class.php here I want to check something.
Fred
eXel content Management Systems (XMS Systems)

Please click the "Accept the Answer" icon if you are happy with the response.
jamo
Posts: 14
Joined: 2011-01-10 18:59

Re: Making the Interakt products compatible with PHP5.3

Postby jamo » 2012-12-11 12:29

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
User avatar
Fred
Site Admin
Posts: 484
Joined: 2010-02-15 12:10
Location: Armagh, Northern Ireland
Contact:

Re: Making the Interakt products compatible with PHP5.3

Postby Fred » 2012-12-12 13:26

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
Fred
eXel content Management Systems (XMS Systems)

Please click the "Accept the Answer" icon if you are happy with the response.
jamo
Posts: 14
Joined: 2011-01-10 18:59

Re: Making the Interakt products compatible with PHP5.3

Postby jamo » 2012-12-12 14:06

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
User avatar
Fred
Site Admin
Posts: 484
Joined: 2010-02-15 12:10
Location: Armagh, Northern Ireland
Contact:

Re: Making the Interakt products compatible with PHP5.3

Postby Fred » 2012-12-12 16:08

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
Fred
eXel content Management Systems (XMS Systems)

Please click the "Accept the Answer" icon if you are happy with the response.
jamo
Posts: 14
Joined: 2011-01-10 18:59

Re: Making the Interakt products compatible with PHP5.3

Postby jamo » 2012-12-12 18:57

Re applied the patch and issue seems to be resolved. Must have messed up first time!

Fred, thanks for your patience.

Jimmy

Return to “MX Kollection - General Info”

Who is online

Users browsing this forum: No registered users and 1 guest