♥Vger Posted August 20, 2004 Share Posted August 20, 2004 (edited) I am test running this contribution at the moment on my own computer, using Xitami web server. As I go through the checkout process I get this error (which relates to 'htmlspecialchars' in general.php) Fatal error: Call to undefined function: htmlspecialchar() in C:\Xitami\htdocs\mondberg\includes\functions\general.php on line 42 this is the code it is tripping up on return htmlspecialchar($string); If I rem that out then the process goes through, but with no customer name, billing address, shipping address etc., (obviously no good doing that!) Anyone have any idea as to what is going wrong here? Many Thanks - Vger Edited August 20, 2004 by Vger Quote Link to comment Share on other sites More sharing options...
Guest Posted August 20, 2004 Share Posted August 20, 2004 In catalog/includes/functions/general.php line 42 should read: return htmlspecialchars($string); You have an 's' missing :blink: Matti Quote Link to comment Share on other sites More sharing options...
♥Vger Posted August 20, 2004 Author Share Posted August 20, 2004 Hi, Thanks for the reply. Don't know what's going on here, because when I look in the file the 's' is there, and not missing. Any other thoughts? Vger Quote Link to comment Share on other sites More sharing options...
♥Vger Posted August 20, 2004 Author Share Posted August 20, 2004 OK, ignore that last post. Found the missing 's' just don't know why it showed in one text editor, and not show in another. I now progress onto the next screen (checkout_confirmation.php), but where the entries for billing and delivery address should be I get this error. Warning: htmlspecialchars() expects parameter 1 to be string, array given in C:\Xitami\htdocs\mondberg\includes\functions\general.php on line 42 Warning: htmlspecialchars() expects parameter 1 to be string, array given in C:\Xitami\htdocs\mondberg\includes\functions\general.php on line 42 Any ideas would be appreciated. Vger 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.