ERROR after e-mail confirmation

17 years 3 months ago #26526 by get4free
ERROR after e-mail confirmation was created 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

Please Log in to join the conversation.

17 years 3 months ago #26586 by nant
Replied by nant on topic Re:ERROR after e-mail confirmation
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?

Please Log in to join the conversation.

17 years 3 months ago #26621 by get4free
Replied by get4free on topic Re:ERROR after e-mail confirmation
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

Please Log in to join the conversation.

17 years 3 months ago #26637 by nant
Replied by nant on topic Re:ERROR after e-mail confirmation
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.

Please Log in to join the conversation.

16 years 11 months ago #34738 by am123
Replied by am123 on topic Re:ERROR after e-mail confirmation
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 :)

Please Log in to join the conversation.

14 years 3 months ago #118299 by paul.pronin
Replied by paul.pronin on topic Re:ERROR after e-mail confirmation
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' ));

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.378 seconds

Facebook Twitter LinkedIn