Skip to Content Skip to Menu

(SOLVED) Fatal Error since update to joomla 1.5.8

16 years 5 days ago #79968 by xCapricorn
Hi there,

seems I have made a mistake anywhere, maybe someone can help me.

Everything worked perfect. I'm not sure, if it has the problem since the update from 1.5.7 to 1.5.8 (joomla).

Now, when i go to any user-profile in my community and want to send a quick message on the profile, i get an error:

[code:1]Fatal error: Call to undefined function mosmail() in ../components/com_comprofiler/plugin/user/plug_pmsuddeim/pms.uddeim.php on line 620[/code:1]

On line 620 you find the following Code:
[code:1] if (mosMail($this->config->emn_sendermail, $this->config->emn_sendername, $var_tomail,$subject,$this->_pmsMailcompatible($var_body))) {[/code:1]

It seems to be a problem since the last update from joomla. I have 2 Community's, both work on joomla 1.5.8 now and on both it worked before.

Maybe you all have the same problems? Or do you have a solution for me?

Post edited by: slabbi, at: 2008/11/18 09:51

Please Log in or Create an account to join the conversation.

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
16 years 5 days ago #79971 by slabbi
Replied by slabbi on topic Re:Fatal Error since update to joomla 1.5.8
I will check this.

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

Please Log in or Create an account to join the conversation.

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
16 years 5 days ago #79976 by slabbi
Replied by slabbi on topic Re:Fatal Error since update to joomla 1.5.8
It still works on my test server?

But you can try following: Replace the "if (mosMail)" with:

[code:1]if (class_exists('JUtility'))
$ret = JUTility:: sendMail($this->config->emn_sendermail, $this->config->emn_sendername, $var_tomail, $subject, $this->_pmsMailcompatible($var_body), 0, null, null, null, null, null);
else
$ret = mosMail($this->config->emn_sendermail, $this->config->emn_sendername, $var_tomail, $subject, $this->_pmsMailcompatible($var_body));

if ($ret) {
[/code:1]

This does not longer uses the deprecated mosMail on Joomla 1.5.

Post edited by: slabbi, at: 2008/11/18 08:58

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

Please Log in or Create an account to join the conversation.

16 years 5 days ago #79980 by xCapricorn
Replied by xCapricorn on topic Re:Fatal Error since update to joomla 1.5.8
wonderful :)

[code:1]<?php
echo "it works!";
?>[/code:1]

thanks a lot!

Post edited by: xCapricorn, at: 2008/11/18 09:16

Please Log in or Create an account to join the conversation.

Moderators: beatnantslabbikrileon
Powered by Kunena Forum