This topic has 2 voices, contains 6 replies, and was last updated by TB Support 334 days ago.
ThemeBurn Support › Forums › OpenCart Themes › Pavilion OpenCart Theme › No Success message on checkout
This topic has been marked as resolved.
I’ve just tested a purchase in my shop and i noticed i didn’t get the Success message on the Success page – I did get the heading though, but not the page content message and continue button!
I’m using danish language and the language file is present in the folder: /catalog/language/da-dk/checkout/success.php
Can it have something to do with i have “Pretty System URLs” active i Pavilion Control Panel or could it be something else?
I’ve also tested registration an account and here is the same problem;
Only the heading is shown from the language file – The success message is missing.
This time i’ve noticed an error message:
Warning: sprintf(): Too few arguments in /catalog/controller/account/success.php on line 32
Can you please check, if the same problem exists when using the default theme? If this is a theme issue, we will need the website url, admin and ftp access, so we can check.
You can use hidepost to share private information with the support staff.
I think i found the problem:
The problem is in the language files, if you use another language than english.
The issue is with %s – Too few or too many calls of %s in the language file will generate the error.
Can you compare your language files and more precisely catalog/language/english/checkout/success.php
Both files should have the %s string equal times.
That was what i did. My language file had one %s too many.
Glad to see this has been fixed!
Register | Log in
Support forums are restricted to verified buyers only. To apply for access click the "Register" link above and follow the on screen instructions.
Product support is offered by forum only. Requests made by email or any other way will be redirected to the forum.