steve_s Posted December 14, 2009 Posted December 14, 2009 Hi All, Im hoping someone has or knows a fix for this, when trying to create an account using IE8 i get this error which refers to create_account.php : line 153, character 52 if (strlen($city) < ENTRY_CITY_MIN_LENGTH) { $error = true; $messageStack->add('create_account', ENTRY_CITY_ERROR); } Line 153 $error = true; Steve
MrPhil Posted December 15, 2009 Posted December 15, 2009 Was that reported as a PHP error or a JavaScript error? I ask because "line and character" type errors are usually JavaScript, but this is PHP code. Was the error a pop-up on the browser, with "!" in a triangle? If it was, some add-on or code modification must have gone very, very wrong, to be dumping raw PHP code into the output. If it was a JavaScript error, are you sure it was referring to create_account.php? It might be that page, but it should be referring to the 153rd line of JavaScript code seen by the browser (counting through all included .js files, plus any inline JS code).
steve_s Posted December 15, 2009 Author Posted December 15, 2009 Was that reported as a PHP error or a JavaScript error? I ask because "line and character" type errors are usually JavaScript, but this is PHP code. Was the error a pop-up on the browser, with "!" in a triangle? If it was, some add-on or code modification must have gone very, very wrong, to be dumping raw PHP code into the output. If it was a JavaScript error, are you sure it was referring to create_account.php? It might be that page, but it should be referring to the 153rd line of JavaScript code seen by the browser (counting through all included .js files, plus any inline JS code). Hi Thanks for the reply here is the image, yes it more than likely is java script as ie8 doesnt seem to like java script much Steve
Xpajun Posted December 15, 2009 Posted December 15, 2009 When did the error occur? On initial loading or on application? Just wondering if IE8 is objecting to non standard characters - like ö or ß My store is currently running Phoenix 1.0.3.0 I'm currently working on 1.0.7.2 and hope to get it live before 1.0.8.0 arrives (maybe 🙄 ) I used to have a list of add-ons here but I've found that with the ones that supporters of Phoenix get any other add-ons are not really neccessary
steve_s Posted December 15, 2009 Author Posted December 15, 2009 When did the error occur? On initial loading or on application? Just wondering if IE8 is objecting to non standard characters - like ö or ß The error occurred on that page loading Steve
germ Posted December 16, 2009 Posted December 16, 2009 The error occurred on that page loading Steve This is one of those errors that you'll need to PM someone the store URL so they can look at the source if you want suggestions to get it fixed (IMHO) 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 >
MrPhil Posted December 16, 2009 Posted December 16, 2009 When I attempt to load any page in IE6, I get an "error creating the XMLHttpRequest object". It looks like you have code added (Order Editor) that uses AJAX. When I go to login/create an account, I get a JavaScript error about "Automation server can't create object" (line 18 character 3). The statement appears to be return new ActiveXObject("Microsoft.XMLHTTP");. I notice that all your added Javascript is before the DOCTYPE statement, rather than within the <head> section. Perhaps moving where you load the Order Editor JavaScript would help. Firefox 3.5 seems to tolerate the site. At least, it issues no errors.
steve_s Posted December 16, 2009 Author Posted December 16, 2009 When I attempt to load any page in IE6, I get an "error creating the XMLHttpRequest object". It looks like you have code added (Order Editor) that uses AJAX. When I go to login/create an account, I get a JavaScript error about "Automation server can't create object" (line 18 character 3). The statement appears to be return new ActiveXObject("Microsoft.XMLHTTP");. I notice that all your added Javascript is before the DOCTYPE statement, rather than within the <head> section. Perhaps moving where you load the Order Editor JavaScript would help. Firefox 3.5 seems to tolerate the site. At least, it issues no errors. Thanks MrPhil i moved the javascript, looks like IE8 can't create the XMLHttpRequest when it's put before the opening tag. It works now Steve
Recommended Posts
Archived
This topic is now archived and is closed to further replies.