tumil Posted June 28, 2017 Share Posted June 28, 2017 (edited) Hi, so today I noticed this really strange problem. My customers cannot add their company information in 'Addresses' in their profile management. What's more the mails which are sent by Prestashop (e.g. with order information) are now not formatted, just plain text as if it was copied from notepad. Customers addresses are not present in the mail, there's no text under "address" header. Yesterday everything was OK. All I changed yesterday was clearing the smarty cache because it was too big for my database (I didn't do it manually, just using the Advanced>Performance> tab) Please help, how can I fix it? UPDATE: Addresses are not even shown during realization of the order. UPDATE 2: I enabled the dev mode and that's the error I'm facing when I enter "My addresses" Edited June 28, 2017 by tumil (see edit history) Link to comment Share on other sites More sharing options...
Scully Posted June 28, 2017 Share Posted June 28, 2017 (edited) I saw similar behavior on shops and it turned out, that the address format under localisation -> countries was malformed. Further investigation revealed a problem with database export/import procedures. During this process, we got \n\n as end-of-line for textarea fiels. So check the address format or simply set it back to default and change it back corresponding to your needs. In our case it looked like: company\n\nfirstname lastname\n\n address1\n\n address2\n\n postcode city\n\n Country:name\n\n Instead of company firstname lastname address1 address2 postcode city Country:name Overall I'd look at the parameterisation tables rather than the code somewhere on your server. Edited June 28, 2017 by Scully (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now