Guest kilobit Posted October 1, 2005 Share Posted October 1, 2005 Hello, i upgraded 3.0.0 through 3.0.3 and no problems, except for this one. When you goto your cart to checkout you must login or register, well after filling out the info i get this error Fatal error: Call to undefined function: treatget() in /home/kilobit/public_html/headheadshop/includes/content/reg.inc.php on line 123 on that line it says: $redir = base64_decode(treatGet($_GET['redir'])); Any help would be appreciated Quote Link to comment Share on other sites More sharing options...
Guest estelle Posted October 1, 2005 Share Posted October 1, 2005 That treatGet() function was only added in 3.0.4, so it looks like you have an incomplete upgrade to 3.0.4. Perhaps you should check through the 3.0.3 to 3.0.4 upgrade notes (link) and make sure you haven't missed anything. Quote Link to comment Share on other sites More sharing options...
Guest kilobit Posted October 3, 2005 Share Posted October 3, 2005 There is no sql upgrade for 3.0.4 just the files. I have uploaded all the current files and the same error occurs Quote Link to comment Share on other sites More sharing options...
Guest estelle Posted October 3, 2005 Share Posted October 3, 2005 That is correct. There is no SQL upgrade script for 3.0.4. Please check if your includes/functions.inc.php contains the following code: ////////////////////////////////// // treat GET vars stop XSS //////// function treatGet($text){ $text = preg_replace("/(\<script)(.*?)(script>)/si", "", "$text"); $text = strip_tags($text); $text = str_replace(array("'","\"",">","<","\\"), "", $text); return $text; } If it doesn't, you will need to update your includes/functions.inc.php to the latest version. Quote Link to comment Share on other sites More sharing options...
Guest kilobit Posted October 3, 2005 Share Posted October 3, 2005 oh my, no its not. Why did it not update that file? thats weird. Man i would have never figured that out, thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.