Hi,
I need help to remove this! it comes when someone have registrated...
Warning: sprintf(): Too few arguments in /home/hangonpu/public_html/shop/catalog/model/account/customer.php on line 28Warning: Cannot modify header information - headers already sent by (output started at /home/hangonpu/public_html/shop/index.php:102) in /home/hangonpu/public_html/shop/system/engine/controller.php on line 28Warning: Cannot modify header information - headers already sent by (output started at /home/hangonpu/public_html/shop/index.php:102) in /home/hangonpu/public_html/shop/system/engine/controller.php on line 29
Thanks!
Tom
For the sprintf() error, below is an example of how it works:
$format = 'There are %d monkeys in the %s';
echo sprintf($format, $num, $location);
So whomever edited or added the sprintf function didn't set it up properly.
Search your catalog/model/account/customer.php file for the sprintf function, and make sure you have an equal number of %s/%d items for every variable.
In the above example, there is %s and %d (2), which are filled in with $num and $location (2).
$format = 'There are %d monkeys in the %s';
echo sprintf($format, $num, $location);
So whomever edited or added the sprintf function didn't set it up properly.
Search your catalog/model/account/customer.php file for the sprintf function, and make sure you have an equal number of %s/%d items for every variable.
In the above example, there is %s and %d (2), which are filled in with $num and $location (2).
Who is online
Users browsing this forum: No registered users and 315 guests