PHP Error When Saving Settings
Posted: 30 August 2010 11:51 PM   [ Ignore ]
Wallflower
Rank
Total Posts:  1
Joined  2010-04-13

I don’t have the error message right now (I applied a quick fix), but I initially received a PHP error that xss_clean() function did not exist at line 212 in ext.safecracker.php.

I opened the file and noticed the xss_clean was not prepended by the global ee instance. I simply changed all instances of xss_clean() to $this->EE->security->xss_clean().

PHP errors when away.

However, my license key will not save now.

Profile
 
 
Posted: 30 August 2010 11:54 PM   [ Ignore ]   [ # 1 ]
Teen Scream
Avatar
RankRankRank
Total Posts:  3541
Joined  2009-05-29

Good find, we’ll have that xss_clean bug fixed in the next release.

And ha, yes, the license number doesn’t seem to be saving. Well, I’ll fix that in the next release too. For now, don’t worry about it, it won’t have any effect.

Profile