Well, everything is ok. But, today, I added the module for bank transfer that I just edited to the website. Then, stuffhappened!
After the checkout in my local language, there are this error
Warning: sprintf() [function.sprintf]: Too few arguments in /home/axxxx/public_html/catalog/controller/checkout/success.php on line 68
I don't know what it is because I didn't touch this file at all. Below is the code of checkout/success.php on line 68.
code:
$this->data['text_message'] = sprintf($this->language->get('text_guest'), $this->session->data['last_order_id'], $this->url->link('information/contact'));
But, if I check out with English language, this error won't show up.
Please help me solve this problem.
Thank you.
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
The files that I added to original opencart are
admin>controller>payment> 6 files in English that I edited from "bank_transfer.php"
admin>language>english>payment> 6 files in English that I edited from "bank_transfer.php"
admin>language>thai>payment> 7 files in thai that I edited from "bank_transfer.php" and "english.php"
admin>view>template>payment> 6 files that I edited from "bank_transfer.tpl"
catalog>controller>payment> 6 files in English that I edited from "bank_transfer.php"
catalog>language>english>payment> 6 files in English that I edited from "bank_transfer.php"
catalog>language>thai>payment> 7 files in thai that I edited from "bank_transfer.php" and "english.php"
catalog>model>payment> 6 files in English that I edited from "bank_transfer.php"
catalog>view>theme>default>template>payment> 6 files that I edited from "bank_transfer.tpl"
So, could you please guide me where to look at?
Thank you so much for your kind help.
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
If you compare it with the English file you see that in your file there are to many <a href="%s">.
You need to alter your language file to match with the English file.
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
I finally fixed it. You are right that I made some mistake on the translation. And I am too stupid to notice that.
Without you, I will not be able to solve it.
Thank you so muchhhhhhhhh for your help and your patience.
Hope you have a great day.
K

Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
Users browsing this forum: Amazon [Bot] and 53 guests