ERROR after e-mail confirmation

10 years 8 months ago #26526 by get4free
Hi

I have error after e-mail confirmation:

Warning: sprintf() [function.sprintf]: Too few arguments in /home/xxxxx/public_html/administrator/components/com_comprofiler/comprofiler.class.php on line 3998

But User has been sucesuful created!
- Welcome message received
- PM from Admin with connection request received

Scripts Version:

My Joomla: 1.0.11
My CB: 1.0.2
My PM: uddeIM version: 0.5b (build 4)

Thanks, Artur

Post edited by: get4free, at: 2006/12/07 12:10

____________________________________________________

Joomla: 1.5.9
CB: 1.2
Fire Board: 1.0.5RC2

PHP Built on: Linux
Database Collation: utf8_general_ci
PHP Version: 5.2.9
Apache version: 2.2.11 (Unix)
MySQL version: 5.0.51a-community
Web Server: WebServerX
10 years 8 months ago #26586 by nant
get4free wrote:

Hi

I have error after e-mail confirmation:

Warning: sprintf() [function.sprintf]: Too few arguments in /home/xxxxx/public_html/administrator/components/com_comprofiler/comprofiler.class.php on line 3998

But User has been sucesuful created!
- Welcome message received
- PM from Admin with connection request received

Scripts Version:

My Joomla: 1.0.11
My CB: 1.0.2
My PM: uddeIM version: 0.5b (build 4)

Thanks, Artur

Post edited by: get4free, at: 2006/12/07 12:10


What language file are you using?
10 years 8 months ago #26621 by get4free
Joomla: Polish
CB: Polish

On CB I find couple not translated:

_UE_ALLOW_EMAIL_REPLYTO
_UE_ALLOW_EMAIL_REPLYTO_DESC

_UE_NOVERSIONCHECK
_UE_AUTOMATIC
_UE_NOVERSIONCHECK_DESC

This can be a problem...?

____________________________________________________

Joomla: 1.5.9
CB: 1.2
Fire Board: 1.0.5RC2

PHP Built on: Linux
Database Collation: utf8_general_ci
PHP Version: 5.2.9
Apache version: 2.2.11 (Unix)
MySQL version: 5.0.51a-community
Web Server: WebServerX
10 years 8 months ago #26637 by nant
bad language file.

do your own debuging.

look at the comprofiler.class.php line you quoted in your first post.

You should be able to spot the _UE_ string that is causing the problem - compare with default language file to see the mistake.
10 years 4 months ago #34738 by am123
problem is in language file:
default_language.php but probles is form bad translating.
I copy oryginal line:
DEFINE('_UE_SENDEMAILNOTICE...
and thet work ok.

So copy thata and change again to polish like ex:
DEFINE('_UE_SENDEMAILNOTICE',"
NOTA:
\r\n\r\nTa wiadomo¶ć jest od %s at %s ( %s ).\r\n\r\nUzytkownik nie widzi do tej pory twojego adresu e-mail. Je¶li odpowiesz adres bedzie widoczny.");

and then is ok.

Pozdrawiam :)
7 years 8 months ago #118299 by paul.pronin
Hi Nick,

I know it is beatne up topic, however the answers are not clear on how to fix this issue. Can you explain where the files you mentioning can be found?

Here is what I get when users try to send messages to the CB members:

Warning: sprintf() [function.sprintf]: Too few arguments in /xxxx/obomneni/public_html/administrator/components/com_comprofiler/comprofiler.class.php on line 4810
Your mail has been sent!

E-mail works, but how to get read of the message?

Environment:
Russian Language plugin
CB 1.2.1
Joomla 1.5.15

By the way, here is what line 4810 in comprofiler.class.php looks like:

$premessage = sprintf(_UE_SENDEMAILNOTICE, $uname, cb_html_entity_decode_all($_CB_framework->getCfg( 'sitename' )), $_CB_framework->getCfg( 'live_site' ));
Time to create page: 0.223 seconds
Facebook Twitter Google LinkedIn