In the top of the Orderconfirmation email sent to the customer i get the following message:
Warning: sprintf() [function.sprintf]: Too few arguments in "Joomlapath"/libraries/joomla/methods.php on line 268
What to do ?? ???
Best Regards,
Maibritt
We worked on this problem last days already, so it may be already fixed in the svn.
Hi,
As said Milbo, we probably have fixed it.
Is your shop in english?
Great,
No my shop is Danish, is that a problem?
:D
Hi,
Nei det er ikke et problem :)
But I think that it is a translation problem.
The string in english has been probably changed, and should be changed also in danish file.
I have the same problem in virtuemart 1.9.8m and polish translation for joomla 1.7.3. When I recive confirmation email, on top of the message appears "Warning: sprintf() [function.sprintf]: Too few arguments..." in file methods.php (line 268). I really dont know what to do.. how to fix it.. i know the problem.. but my knowledge of this topic is to poor to solve it.
Hi,
It is a problem with the language file. There is a %s missing on that key.
Quote from: alatak on December 02, 2011, 15:24:43 PM
Hi,
It is a problem with the language file. There is a %s missing on that key.
Hello! I have the same Problem. I donĀ“t know who in the line the %s is missing...:-(
Here the line 268: return call_user_func_array('sprintf', $args);
Can you help me, please?
Quote from: Norman27 on December 16, 2011, 15:22:18 PM
Can you help me, please?
Sure!
Open file:
/webpage/language/pl-PL/.pl-PL.com_virtuemart.ini (polish language in this case - please open your language file)
Near line 42:
This (polish language in this case - just remove %1$s przez %2$s and change it to %s):
COM_VIRTUEMART_CART_MAIL_SHOPPER_SUMMARY="otrzymalismy od Ciebie potwierdzenie zakupu %1$s przez %2$s."
Change to this:
COM_VIRTUEMART_CART_MAIL_SHOPPER_SUMMARY="otrzymalismy od Ciebie potwierdzenie zakupu %s."
Hi,
I work with Virtuemart 2.0 and i have the same problem. I changed translation file (PL) as it is show here and nothig changed. Whet to do?
Hi,
where do you have that code?
QuoteHere the line 268: return call_user_func_array('sprintf', $args);