Jump to content

Multiple errors, linked to encoding? Please help.


Recommended Posts

I have successfully installed PrestaShop 1.6.1.20 through Softaculous installer.

I have configured the software perfectly, and everything would be perfect if it weren't for these two issues I have ran into.

 

I have looked far and wide for an answer to this question, and I did find a peculiar website which has exactly the same issues I am facing, and it tells me how to fix them, but I am unsure on where to find the files talked about and wouldn't know where they are located. Furthermore, I should note - I have tried disabling debug mode.

Thread: http://prestatuts.com/tutorials/prestashop-how-to-fix-technical-error-unable-to-load-form-details-error-thrown-object-object-text-status-error/

 

New registrations are denied by the following message/s:

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

and (when trying to click "Add to cart")

Impossible to add the product to the cart.
textStatus: 'error'
errorThrown: ''
responseText:

 

Thanks.

 

Edited by JakeGreeziak
Wasn't complete when I hit control enter by habbit. (see edit history)
Link to comment
Share on other sites

  On 8/13/2018 at 1:24 AM, NemoPS said:

Can you share the site's url? You should inspect the network response with the debug tools (f12 on chrome)

Expand  

 

Hello, 

Thanks for the quick reply. I have been asked to not sure the site's URL until it's finished... I understand if this causes issues. I'm sure you can understand this agreement.

I did look at the response, and got the following message:
Failed to load /index.php?rand=1534160200115 : Response for preflight is invalid (redirect)

I also looked at the response when trying to create an account (Create an account):
Failed to load /index.php?rand=1534160477784 : Response for preflight is invalid (redirect)      index.php?controller...n&back=my-account:1

 

Both the issues I am encountering here relate to the issues encountered in the thread I linked, which details how to fix it. My question was how I go about performing that action. The thread I linked stated: "To solve it  just change the encoding in the corresponding translation file you are dealing with. Open the file with a text editor like Notepad++   and change  “encode UTF-8” to “UTF-8 without BOM”   and save the file.". How would I do this, I don't know which file they are referring to.

Thanks again.

Link to comment
Share on other sites

I should also maybe point out this redirect issue happens on a fresh installation, and is fixed when I disable SSL on all pages. 

I am using CloudFlare, which has a page rule to apply SSL to all pages. I have tried pretty much everything I can find, however it doesn't seem there's much support... 

Link to comment
Share on other sites

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...