Re: Warning: sprintf(): Too few arguments
sportsandy <[email protected]> 13 Sep 2003 22:03:26 -0000
| Newsgroups | gmane.comp.web.oscommerce.installation |
|---|---|
| Message-ID | <e42deb109fbe650a7dc0538f7529cb52@osCommerce-Forums> |
This message was sent from: Installation and Configuration http://forums.oscommerce.com/viewtopic.php?p=229072#229072 ---------------------------------------------------------------- [quote="rip"]Thanks, I thought I had it, and it does look and work correctly; however when I log in as an account holder I get this error message on the first screen returned after the login... and would like to know if you or anyone would have some advice as to how to get rid of it: [quote]Warning: sprintf(): Too few arguments in /home/httpd/vhosts/upinsmoke.ca/httpdocs/uis/includes/functions/general.php on line 949[/quote] Line 949 in my general.php file looks like this: [quote]$option_string = sprintf(TEXT_OPTION_PERSONAL, tep_href_link(FILENAME_LOGOFF, ", 'SSL'), tep_href_link(FILENAME_ACCOUNT, ", 'SSL'));[/quote] Thanks in advance, I will keep working on a soloution in the meantime. Tammy[/quote] Hi Tammy, try putting a space between the two ", 'SSL'), as follows $option_string = sprintf(TEXT_OPTION_PERSONAL, tep_href_link(FILENAME_LOGOFF, ' ', 'SSL'), tep_href_link(FILENAME_ACCOUNT, ' ', 'SSL'));