blr044 Posted January 19, 2010 Posted January 19, 2010 Whenever create_account.php page loads, I get an error message in status bar. Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0) Timestamp: Tue, 19 Jan 2010 22:09:13 UTC Message: Syntax error Line: 102 Char: 28 Code: 0 URI: https://brs-giftshop.com/create_account.php I looked into line 102, but not sure what I am looking for. Any ideas would be appreciated. Thanks. Bennett
MrPhil Posted January 19, 2010 Posted January 19, 2010 Oh my eyes! My poor eyes! All that blue and red together! The horror, the horror! I think the following line of Javascript code is bad: check_input("street_address", , "Your Street Address must contain a minimum of characters."); Note that it's missing the character count both as a function parameter and in the text. The value appears to be ENTRY_STREET_ADDRESS_MIN_LENGTH, and is defined in your .sql setup file. It should be accessible from the admin settings. Perhaps your setup was done in a non-standard way, where the database settings weren't loaded up?
blr044 Posted January 19, 2010 Author Posted January 19, 2010 This is what is located at lines 99 through 102 // $check_email_query = tep_db_query("select count(*) as total from " . TABLE_CUSTOMERS . " where customers_email_address = '" . tep_db_input($email_address) . "'"); // PWA BOF 2b $check_email_query = tep_db_query("select count(*) as total from " . TABLE_CUSTOMERS . " where customers_email_address = '" . tep_db_input($email_address) . "' and guest_account != '1'"); // PWA EOF 2b The settings are set. So do I need to look into phpMyAdmin on the settins? Note: Sorry for hurting your eyes. I have to depend on comments, because I am somewhat color blind. So I will be looking into this. Thanks for that suggestion.
Guest Posted January 19, 2010 Posted January 19, 2010 This is what is located at lines 99 through 102 The settings are set. So do I need to look into phpMyAdmin on the settins? Note: Sorry for hurting your eyes. I have to depend on comments, because I am somewhat color blind. So I will be looking into this. Thanks for that suggestion. I think the error is in includes/form_check.js.php Try uploading a fresh copy of it. IE6 shows the error as being on line 119 of the source code.
germ Posted January 20, 2010 Posted January 20, 2010 Look at the page source: check_password_new("password_current", "password_new", "password_confirmation", 5, "Your Password must contain a minimum of 5 characters.", "Your new Password must contain a minimum of 5 characters.", "The Password Confirmation must match your new Password."); ***ADD AFTER: Delete the last line I posted (***ADD AFTER:). If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
blr044 Posted January 20, 2010 Author Posted January 20, 2010 Thanks for the suggestions in post four and five. Page no longer loads with any errors. Bennett
Recommended Posts
Archived
This topic is now archived and is closed to further replies.