Jump to content

"technical Error Unable To Load Form" When Creating A Account


Recommended Posts

  • 2 weeks later...

I had found a solution. Most of sources told that i should turn off mobile functionality in theme. I did so, but it didn't help. So I checked form it was referencing to certain adress but AJAX request was directed to homepage.

So I'd modified AJAX request in file so it directs same place as form.

In /themes/default/authentication.tpl about line 97 there was line:

 

 

url: baseUri,

I had changed it to:

url: baseUri + 'index.php?controller=authentication',

Link to comment
Share on other sites

  • 1 month later...

 

I had found a solution. Most of sources told that i should turn off mobile functionality in theme. I did so, but it didn't help. So I checked form it was referencing to certain adress but AJAX request was directed to homepage.

So I'd modified AJAX request in file so it directs same place as form.

In /themes/default/authentication.tpl about line 97 there was line:

 

 

url: baseUri,

I had changed it to:

url: baseUri + 'index.php?controller=authentication',

 

 

Thanks a lot!! it worked just perfect!

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...
  • 4 months later...
  • 1 month later...

I had found a solution. Most of sources told that i should turn off mobile functionality in theme. I did so, but it didn't help. So I checked form it was referencing to certain adress but AJAX request was directed to homepage.

So I'd modified AJAX request in file so it directs same place as form.

In /themes/default/authentication.tpl about line 97 there was line:

 

 

url: baseUri,

I had changed it to:

url: baseUri + 'index.php?controller=authentication',

 

Hello,

 

I am using PrestaShop 1.5.6.0 and having this issue.

 

Your fix worked for me and I would like to thank you for the info.

 

for PrestaShop 1.5.6.0, here is the exact line number of the edit:

 

# diff authentication.tpl.orig authentication.tpl
100c100
<                       url: baseUri,
---
>                       url: baseUri + 'index.php?controller=authentication',
 

  Peter.

Edited by xthunder (see edit history)
Link to comment
Share on other sites

  • 3 weeks later...
  • 2 weeks later...
  • 3 months later...
  • 1 year later...
I have an authentication error and happens when the client wants to create an account. I have read many possible solutions and I could not fix mine


 

The error is:

TECHNICAL ERROR: unable to load form. Details: Error thrown: [object Object] Text status: parsererror

 

For more details of the problem I went to the Theme folder, authentication.js made a change on the line 82:

 

error = "TECHNICAL ERROR: unable to load form.\n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus;

 

to

 

error = "TECHNICAL ERROR: unable to load form.\n\nDetails:\nError thrown: " + errorThrown + "\n" + 'Text status: ' + textStatus; 

 

And the mistake was more explicit, the result was as follows:

TECHNICAL ERROR: unable to load form. Details: Error thrown: SyntaxError: Unexpected token < Text status: parsererror

 

I appreciate the support that this community has provided, and that helped me solve many cases. Only I could with this problem and I'm a little stressed.

 

Thanks

 

 

No answear 2 years ago, what if i never had new accounts? :( Help, who ca help me to fix this error?

Edited by sduran (see edit history)
Link to comment
Share on other sites

  • 3 weeks later...

I just had this problem, and none of the provided solutions solved it.

What I did was the following:

 

- Indeed change the "url" field, but in "authentication.js" in /[your-theme]/js/authentication.js

- Here, change code line 38 where goes

 

url: baseUri  + '?rand=' + new Date().getTime(),

 

to

 

url: baseUri + 'index.php?controller=authentication' + '?rand=' + new Date().getTime(),
 
I don't know how the default theme works in previous versions, but currently the url for the ajax request is not provided in authentication.tpl, but rather in authentication.js - This is where you have to make the change.
 
Hope this helps you and anybody with the same problem!
Link to comment
Share on other sites

  • 3 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...