bruce-rez Posted June 25, 2013 Share Posted June 25, 2013 (edited) Hi, I get an error message on Log in page when I click on 'Create an account' after entering an email address. Error message: TECHNICAL ERROR: unable to load form. Details: Error thrown: [object Object] Text status: parsererror I've searched on line but couldn't find any solution or workaround. I would appreciate if anybody can give some info about this issue. I am on version 1.5.4.1 default theme. Please see the screenshot. Thank you Edited July 2, 2013 by bruce-rez (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted June 25, 2013 Share Posted June 25, 2013 turn on browser console (shift+ctrl+J in chrome) and check console log, please paste error code here Link to comment Share on other sites More sharing options...
bruce-rez Posted June 25, 2013 Author Share Posted June 25, 2013 vekia, turn on browser console (shift+ctrl+J in chrome) and check console log, please paste error code here Is it possible to do the similar thing in Firefox 21 or IE9? I don't have the Chrome. By the way I've turn on Prestashop error reporting and It does not show any error. Thank you Link to comment Share on other sites More sharing options...
vekia Posted June 25, 2013 Share Posted June 25, 2013 you can also paste the url to the website, i will check it. in firefox this is possible fith firebug extension Link to comment Share on other sites More sharing options...
bruce-rez Posted June 25, 2013 Author Share Posted June 25, 2013 (edited) vekia, Here you go: Link removed. Edited July 2, 2013 by bruce-rez (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted June 25, 2013 Share Posted June 25, 2013 your log: this is proper log: as you can see - you've got there "301 moved peranently" status - it mean that the problem may be related to the .htaccess file have you got any custom redirections there? try to regenerate it. Link to comment Share on other sites More sharing options...
bruce-rez Posted June 25, 2013 Author Share Posted June 25, 2013 vekia, Thanks for the report. have you got any custom redirections there? The only thing is that may domain name 'newstarfabrics.com' is redirected to 'newstarfabrics.com/en/'. I did this because it solved lot of broken links that I had before. Now everything is working fine except this current issue "Log in, Create an account". try to regenerate it. How can I regenerate? Is there any risk for the website if I do regenerate? Thanks. Link to comment Share on other sites More sharing options...
vekia Posted June 25, 2013 Share Posted June 25, 2013 i think that this issue may be related to this redirection, im not sure at all so it's not necessary to regenerate .htaccess btw. check this thread: http://www.prestashop.com/forums/topic/252882-solvedtechnical-error-unable-to-load-form-when-modify-authenticationtpl/page__fromsearch__1 Link to comment Share on other sites More sharing options...
bruce-rez Posted June 25, 2013 Author Share Posted June 25, 2013 vekia, I looked at the link you sent but I did not find any concrete solution to my problem. Link to comment Share on other sites More sharing options...
bruce-rez Posted June 25, 2013 Author Share Posted June 25, 2013 vekia, i think that this issue may be related to this redirection, Do you have any idea in what file should I look for and see if there is any redirection link that I need to modify? Thanks. Link to comment Share on other sites More sharing options...
bruce-rez Posted June 26, 2013 Author Share Posted June 26, 2013 I read somewhere that we need to modify the authentication.tpl to solve this problem but I don't know what code exactly I should editing, so it would be grateful if somebody can help. Thank you. Link to comment Share on other sites More sharing options...
bruce-rez Posted June 27, 2013 Author Share Posted June 27, 2013 (edited) Did anyone encounter this problem? I googled it but with no successful result. It would be grateful if somebody from Prestashop community can help or share if there is any workaround. Thank you Edited June 27, 2013 by bruce-rez (see edit history) Link to comment Share on other sites More sharing options...
benjamin utterback Posted June 27, 2013 Share Posted June 27, 2013 Hi bruce-rez, is this an upgraded store or new installation? Have you tried turning off the mobile theme? Link to comment Share on other sites More sharing options...
bruce-rez Posted June 27, 2013 Author Share Posted June 27, 2013 Hi Benjamin, This is a upgraded installation from 1.5.4 to 1.5.4.1 and I use my default theme which is duplicated from defaul theme in BO. Have you tried turning off the mobile theme? Where mobile theme is located? If you mean it's in back-office > Preferences > Themes, no It's not there. Thanks. Link to comment Share on other sites More sharing options...
vekia Posted June 27, 2013 Share Posted June 27, 2013 please remove the redirection that you created (for test purposes), we will check it without it Link to comment Share on other sites More sharing options...
bruce-rez Posted June 27, 2013 Author Share Posted June 27, 2013 Sorry,I think I found it (see screen shot). I checked and saved the "I'd like to disable it, please." but it did not resolve my problem. see screen shot. Link to comment Share on other sites More sharing options...
bruce-rez Posted June 27, 2013 Author Share Posted June 27, 2013 vekia, please remove the redirection that you created (for test purposes), we will check it without it What redirection? Thanks Link to comment Share on other sites More sharing options...
benjamin utterback Posted June 27, 2013 Share Posted June 27, 2013 The only thing is that may domain name 'newstarfabrics.com' is redirected to 'newstarfabrics.com/en/'. I did this because it solved lot of broken links that I had before. Now everything is working fine except this current issue "Log in, Create an account". I think he means this redirection that you did. Link to comment Share on other sites More sharing options...
bruce-rez Posted June 27, 2013 Author Share Posted June 27, 2013 I got it. I am affraid if I remove the redirection it's going to break my website and all links I had to fixed. Is there any other alternative safe way than removing the redirection? Thanks Link to comment Share on other sites More sharing options...
vekia Posted June 28, 2013 Share Posted June 28, 2013 but without redirection everything works well? Link to comment Share on other sites More sharing options...
bruce-rez Posted June 28, 2013 Author Share Posted June 28, 2013 vekia, Unfortunatly no, I had some problem like broken links, top menu horizontal, After redirection evrything looks working correctly except this current error message for 'Create an account' in login, excluding bugs. I am going to contact my hosting to see if there is way to disable temporary redirection in order to troublshooting the 'Create an account' issue and I'll get back here. Thank you Link to comment Share on other sites More sharing options...
bruce-rez Posted June 30, 2013 Author Share Posted June 30, 2013 (edited) vekia, After explaining the problem to my hosting about disabling temporarily the redirection, they told me to rename the .htaccess. I did it and then I get an error message 404. Thank you. Edited July 2, 2013 by bruce-rez (see edit history) Link to comment Share on other sites More sharing options...
bruce-rez Posted July 1, 2013 Author Share Posted July 1, 2013 I just wanted to follow up my topic and see if somebody has any suggestion or idea to resolve this problem. Thank you. Link to comment Share on other sites More sharing options...
benjamin utterback Posted July 1, 2013 Share Posted July 1, 2013 What did they tell you to rename the htaccess to? Link to comment Share on other sites More sharing options...
vekia Posted July 1, 2013 Share Posted July 1, 2013 it's really weird, i don't know how its possible that they suggest change the name of the .htaccess file, for what purposes? I totally don't understand why. Regenerate this file, just go to the preferences > Seo & urls and, for example, turn off friendly urls - save. Then turn it on again and save changes again. Link to comment Share on other sites More sharing options...
benjamin utterback Posted July 1, 2013 Share Posted July 1, 2013 I agree, it's strange that they told you to change the name, and then it leads to a 404 error which leads your pretty much back with the hosting company. Link to comment Share on other sites More sharing options...
bruce-rez Posted July 1, 2013 Author Share Posted July 1, 2013 vekia,Benjamin, agree with you. I contacted my hosting about the error message 404 and regarding disabling the redirection temporily for debugging, they say: Hello, I have seen the .htaccess file there but it is blank however, the website newstarfabrics.com comes up fine without any redirection rules. Please let us know if you are still facing the page not found issue. Best regards, Link to comment Share on other sites More sharing options...
benjamin utterback Posted July 1, 2013 Share Posted July 1, 2013 For me, the 404 error is not happening. The htaccess probably needed some time to update. I'm receiving the TECHNICAL ERROR now. In your root/themes folder, what do you have. Do you have something called default_grid? Link to comment Share on other sites More sharing options...
bruce-rez Posted July 1, 2013 Author Share Posted July 1, 2013 Benjamin, For me, the 404 error is not happening. The htaccess probably needed some time to update. I'm receiving the TECHNICAL ERROR now. Agree with you. Now the redirection is disabled and the website is like before with the wrong top menu bar and when I click on the "create an account" in login page and I get the same error message. So my understanding is that the problem is not about redirection. Do you agree with me? Thanks. Link to comment Share on other sites More sharing options...
benjamin utterback Posted July 1, 2013 Share Posted July 1, 2013 If you only want English as the language of your store, then it would be a good idea to disable all other languages of your shop in the backoffice Localization>Languages. Link to comment Share on other sites More sharing options...
bruce-rez Posted July 1, 2013 Author Share Posted July 1, 2013 (edited) Benjamin, Yes I want only English as the language. In BO > Localization > language now I have only English, I disbaled Spanish but I get error message 404 in FO. Edited July 1, 2013 by bruce-rez (see edit history) Link to comment Share on other sites More sharing options...
benjamin utterback Posted July 1, 2013 Share Posted July 1, 2013 Now regenerate your htaccess by toggling on and off Friendly URL. Make sure you have a backup ready though! Link to comment Share on other sites More sharing options...
bruce-rez Posted July 1, 2013 Author Share Posted July 1, 2013 (edited) Benjamin, In your root/themes folder, what do you have. Do you have something called default_grid? Yes I do. Now regenerate your htaccess by toggling on and off Friendly URL. Make sure you have a backup ready though! I will do it but before this, I've talked to my hosting about the "Create an account" issue then they searched on the net and they suggest me : Hello, I searched and found the same issue and they said: Have you installed the Mobile theme plugin ? If yes you should DELETE it and it would work. http://www.prestasho...echnical-error/ Please try this and let us know. Best regards, I know this topic,If you remember we talked about disabling the Mobile theme and I disabled in BO but this did not resolve my problem. By the way do you know how to delete the Mobile theme by FTP, I need to know where is located (in what folder)? What do you recommend: #1- I go with you rseggestion; Now regenerate your htaccess by toggling on and off Friendly URL. Make sure you have a backup ready though! I just remind you that my website is not redirected and what we see now it's the old version with all broken links. Or #2- I get back to redirection version and then doing your suggestion (#1). Thank you Edited July 1, 2013 by bruce-rez (see edit history) Link to comment Share on other sites More sharing options...
benjamin utterback Posted July 1, 2013 Share Posted July 1, 2013 My honest suggestions would be 1) be very careful and make sure you have a backup confirmed and working, it's good that your hosting is working with you so that shouldn't be a problem. 2) try out both suggestions. [Try to regenerate the .htaccess first] Hopefully that doesn't totally take your store offline. You have contacts with hostgator and a backup so that is not too big of a issue. Link to comment Share on other sites More sharing options...
bruce-rez Posted July 1, 2013 Author Share Posted July 1, 2013 Benjamin, I will contact my hosting to make sure they have a backup of my website before testing the suggestions, By the way do you know how to delete the Mobile theme by FTP, I need to know where is located (in what folder)? Thank you. Link to comment Share on other sites More sharing options...
benjamin utterback Posted July 1, 2013 Share Posted July 1, 2013 Well, I believe the files linked to the mobile template is located under root/theme/default/mobile However, I think that disabling the mobile theme would be enough for the suggestion to work. I'm not 100% positive so its worth taking a chance knowing if you have a working backup. Link to comment Share on other sites More sharing options...
bruce-rez Posted July 1, 2013 Author Share Posted July 1, 2013 (edited) Benjamin, I will do first the 2 above suggestions after I receive the answer from my hosting about having a backup of my website. I really appreciate your help and assistance. Thank you. Edited July 1, 2013 by bruce-rez (see edit history) Link to comment Share on other sites More sharing options...
benjamin utterback Posted July 1, 2013 Share Posted July 1, 2013 You can also backup your own files and database and test them. You can download your Database form Cpanel, and from FTP you can Copy your folders and files to somewhere safe. It's good to check with your hosting provider as well. I think your problem does not lie in the mobile theme, that was an error mainly from the earlier versions of PrestaShop 1.5. Link to comment Share on other sites More sharing options...
bruce-rez Posted July 1, 2013 Author Share Posted July 1, 2013 Behjamin, You can download your Database form Cpanel, and from FTP you can Copy your folders and files to somewhere safe. I will do it probably by FTP. it takes some times but It worths it. I think your problem does not lie in the mobile theme, that was an error mainly from the earlier versions of PrestaShop 1.5. Agree, I read somewhere that was related to an older version than 1.5.4.1. Thank you. Link to comment Share on other sites More sharing options...
benjamin utterback Posted July 1, 2013 Share Posted July 1, 2013 Behjamin, I will do it probably by FTP. it takes some times but It worths it. Agree, I read somewhere that was related to an older version than 1.5.4.1. Thank you. Make sure that you also have a download of your database. If you have any older backups, do not overwrite them. Just make sure they are grouped in a dated folder along with your PrestaShop files to note the data and time the backup was created. Link to comment Share on other sites More sharing options...
bruce-rez Posted July 1, 2013 Author Share Posted July 1, 2013 Make sure that you also have a download of your database. If you have any older backups, do not overwrite them. Just make sure they are grouped in a dated folder along with your PrestaShop files to note the data and time the backup was created. I am doing a backup right now through FTP. Thanks Link to comment Share on other sites More sharing options...
Noorlander Posted July 2, 2013 Share Posted July 2, 2013 (edited) So i have the same issue. I customized my site to only show the center column for visitors (ie hide right and left columns). Then i uncovered that the create account was no longer working. After searching this forum, i found the following: It has something to do with authentification.tpl. where the create account form has to load in the div: #center_column (as specified in line 120), but this div doesnt exist... I got it to work partially by updating the authentication.tpl and adding "<div id="center_column"></div>" at line 153 (just above the form section). The account creation page does load... (good!!) Unfortunately, it now shows both the my-account and account-creation forms on the same page (not so good...) See https://www.ice-cont...ccount-creation If anyone has an idea on how to fix this... Edited July 2, 2013 by Noorlander (see edit history) Link to comment Share on other sites More sharing options...
benjamin utterback Posted July 2, 2013 Share Posted July 2, 2013 So i have the same issue. I customized my site to only show the center column for visitors (ie hide right and left columns). Then i uncovered that the create account was no longer working. After searching this forum, i found the following: It has something to do with authentification.tpl. where the create account form has to load in the div: #center_column (as specified in line 120), but this div doesnt exist... I got it to work partially by updating the authentication.tpl and adding "<div id="center_column"></div>" at line 153 (just above the form section). The account creation page does load... (good!!) Unfortunately, it now shows both the my-account and account-creation forms on the same page (not so good...) See https://www.ice-cont...ccount-creation If anyone has an idea on how to fix this... Hi Noorlander, this is actually how it should work normally. There is no fix because this is how acts normally. Link to comment Share on other sites More sharing options...
Noorlander Posted July 2, 2013 Share Posted July 2, 2013 Hey Ben, i think i didnt explain correctly. After the partial fix as described above, the 'create account' button actually brings me to the next page, where all the account details are to be filled out: first name, last, data of birth, password, etc. So from that perspective the issue as encountered by Bruce has been resolved. However, on that same page, i now also get the breadcrums twice, then i see the form where all the detailed account information needs to be filled out and underneith i get the 2 forms for account creation and login all with the relevant buttons... . Link to comment Share on other sites More sharing options...
bruce-rez Posted July 2, 2013 Author Share Posted July 2, 2013 Problem fixed. For whom are interested here is the solution: http://stackoverflow.com/questions/14285631/prestashop-ajax-registration-bug Link to comment Share on other sites More sharing options...
Noorlander Posted July 2, 2013 Share Posted July 2, 2013 (edited) I resolve my issue by removing the div transition to display the transition Page now loads fine I quoted out lines 120 - 126 like this: // adding a div to display a transition //$('#center_column').html('<div id="noSlide">'+$('#center_column').html()+'</div>'); //$('#noSlide').fadeOut('slow', function(){ //$('#noSlide').html(jsonData.page); // update the state (when this file is called from AJAX you still need to update the state) //bindStateInputAndUpdate(); //$(this).fadeIn('slow', function(){ //document.location = '#account-creation'; Edited July 2, 2013 by Noorlander (see edit history) Link to comment Share on other sites More sharing options...
Mind Posted July 9, 2013 Share Posted July 9, 2013 Problem fixed. For whom are interested here is the solution: http://stackoverflow...egistration-bug It works!!! Thx a lot!!! Link to comment Share on other sites More sharing options...
bruce-rez Posted July 9, 2013 Author Share Posted July 9, 2013 Mind, You're welcome, happy that worked for you. Link to comment Share on other sites More sharing options...
Recommended Posts