ccmiller Posted October 4, 2011 Share Posted October 4, 2011 Hi all. I'm new to the forum, so if i break any rules or etiquette, I apologise in advance. I'm currently working on a store, and intend to go live within a week, but yesterday evening I encountered an error. I am unsure as to whether this error was there before, as this is the first time I have tested the cart. However, when I have filled in the details for a testing customer on the cart, and try to save the customer, i get a pop-up alert box with TECHNICAL ERROR: unable to save account Details: Error thrown: [object XMLHttpRequest] Text status: error I am at a loss as to what is causing this. it's happening on the single-page checkout. the five-stage checkout won't even load (i get a 404 error) Prestashop version:1.4.4.1 any help would be very much appreciated, and I can provide you with a link if you need it. Christopher Miller Director CCMiller Ltd Link to comment Share on other sites More sharing options...
Mike Kranzler Posted October 4, 2011 Share Posted October 4, 2011 Hi Christopher, Could you please post your URL so that I could check this out for you? -Mike Link to comment Share on other sites More sharing options...
ccmiller Posted October 5, 2011 Author Share Posted October 5, 2011 http://shop.ccmiller.co.uk and thanks :-) Link to comment Share on other sites More sharing options...
Mike Kranzler Posted October 5, 2011 Share Posted October 5, 2011 Hi Christopher, Per a bug report on this issue which you can find here, there are two potential fixes. You can either turn off "Automatically redirect to Canonical URL" in the Back Office under Preferences > SEO & URLS or replace classes/FrontController.php with the SVN version you can get here. Please let me know if these work for you. -Mike Link to comment Share on other sites More sharing options...
ccmiller Posted October 5, 2011 Author Share Posted October 5, 2011 hi. tried them both to no avail. currently on the SVN version AND the switched off canononical URLS Link to comment Share on other sites More sharing options...
Mike Kranzler Posted October 5, 2011 Share Posted October 5, 2011 Have you regenerated your htaccess? -Mike Link to comment Share on other sites More sharing options...
ccmiller Posted October 5, 2011 Author Share Posted October 5, 2011 nope... will try that now. Link to comment Share on other sites More sharing options...
ccmiller Posted October 5, 2011 Author Share Posted October 5, 2011 that still leaves the same error. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted October 5, 2011 Share Posted October 5, 2011 Hi Christopher, I'm sorry you continue to have issues with this. I see there have been a few bug reports opened on this issue, so I will try to sit down with a developer this afternoon to get more information on how we can help you fix this. -Mike Link to comment Share on other sites More sharing options...
Mike Kranzler Posted October 5, 2011 Share Posted October 5, 2011 Hi Christopher, I'm taking a look at this using Firebug, and it appears that you may be having an issue with your authentication.tpl file. Please try replacing your current version with the SVN file and let me know if that fixes your issue. -Mike Link to comment Share on other sites More sharing options...
ccmiller Posted October 6, 2011 Author Share Posted October 6, 2011 hiya... still not got it! Link to comment Share on other sites More sharing options...
ccmiller Posted October 6, 2011 Author Share Posted October 6, 2011 i'd happily provide back office access to someone to check i haven't really screwed up here.. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted October 6, 2011 Share Posted October 6, 2011 Hi Christopher, Did you already replace your authentication.tpl with the SVN version? -Mike Link to comment Share on other sites More sharing options...
ccmiller Posted October 6, 2011 Author Share Posted October 6, 2011 yep. still not working. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted October 6, 2011 Share Posted October 6, 2011 Hi Christopher, It appears that you have an incorrect redirect causing this issue. Please open your classes/FrontController.php file and look for this in Line 98: Tools::redirect('authentication.php'.($this->authRedirection ? '?back='.$this->authRedirection : '')); It looks like yours is set to redirect to authentication, not authentication.php. Can you please check for this and edit the file? -Mike Link to comment Share on other sites More sharing options...
ccmiller Posted October 6, 2011 Author Share Posted October 6, 2011 if ($this->auth AND !$cookie->isLogged($this->guestAllowed)) Tools::redirect('authentication.php'.($this->authRedirection ? '?back='.$this->authRedirection : '')); line 97 and 98 Link to comment Share on other sites More sharing options...
Mike Kranzler Posted October 6, 2011 Share Posted October 6, 2011 Can you please PM me with your FTP and back office credentials? I am going to sit down with a developer tomorrow morning to get this squared away for you. -Mike Link to comment Share on other sites More sharing options...
ccmiller Posted October 7, 2011 Author Share Posted October 7, 2011 done and sent. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted October 7, 2011 Share Posted October 7, 2011 Thanks Christopher. I've passed your information along to a developer who will hopefully be looking into it shortly. -Mike Link to comment Share on other sites More sharing options...
ccmiller Posted October 7, 2011 Author Share Posted October 7, 2011 thanks mike. much appreciated... bet it turns out i did something daft! lol Link to comment Share on other sites More sharing options...
Mike Kranzler Posted October 7, 2011 Share Posted October 7, 2011 Don't worry, it'll happen . I'll let you know as soon as I hear back from him. -Mike Link to comment Share on other sites More sharing options...
ccmiller Posted October 9, 2011 Author Share Posted October 9, 2011 any sign of a fix here? i've been waiting quite a while now... i know it's the weekend, but i've got a site that needs to go live within the next couple of days. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted October 10, 2011 Share Posted October 10, 2011 Hi Christopher, I'm going to look into this for you this morning and see what needs to be done in order to come to a resolution. -Mike Link to comment Share on other sites More sharing options...
Mike Kranzler Posted October 10, 2011 Share Posted October 10, 2011 Hi Christopher, I just finished up with a developer, and this appears to be an issue with your hosting. We ran several tests: RewriteRule ^(.*)$ http://www.google.com === Works fine RewriteRule ^(.*)$ http://www.google.com?$1 === Works fine and shows that $1 is authentication.php (should be "authentication") RewriteRule ^/authentication\.jpg/$ http://www.google.com [QSA,L] === Not working, there is something wrong with the "Common name" apache plugin If you pass this information along to your hosting provider, they should be able to adjust your settings accordingly. In the meantime, you should be able to get your site working fine temporarily until they fix this for you by disabling Friendly URL in your Back Office. I hope this helps. -Mike Link to comment Share on other sites More sharing options...
ccmiller Posted October 11, 2011 Author Share Posted October 11, 2011 thanks mike :-) i'll ring 1and1 and see what they say. chris. Link to comment Share on other sites More sharing options...
ccmiller Posted October 11, 2011 Author Share Posted October 11, 2011 rang them... apparently my .htaccess was messing with it. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted October 11, 2011 Share Posted October 11, 2011 Great! So were you able to resolve this? -Mike Link to comment Share on other sites More sharing options...
ccmiller Posted October 11, 2011 Author Share Posted October 11, 2011 yep. all working now! woohoo! shop goes live in the next 48 hours... just gotta sort out a problem with the catalogue now (my own mistake - not a problem with the software) thanks for all your help guys :-) Link to comment Share on other sites More sharing options...
Mike Kranzler Posted October 11, 2011 Share Posted October 11, 2011 It's our pleasure, congratulations on your upcoming launch! If you have any other questions, you know where to find us -Mike Link to comment Share on other sites More sharing options...
Recommended Posts