|
Spiral Scripts Support Forum :: Other Joomla Extensions |
|
|
|
|
|
Subject :Mail Module Error..
20-03-2009 03:23:59
|
|
|
marrett |
|
Fresher |
|
Joined: 20-03-2009 00:55:18
Posts: 1
Location: |
|
|
|
<p>Hi</p><p> </p><p>Installed the mail module on the site : www.bedahkosmetik.com</p><p> </p><p>Hoever , I receive this error message ( can see it on the front page ):</p><p> Please advice</p><p>Thanks</p><p>John </p><span style="color: #393939; font-family: 'Trebuchet MS'; font-size: 11px; line-height: 16px" class="Apple-style-span"><h3 style="line-height: normal; color: #818181; margin-top: 0px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; padding-top: 8px; padding-right: 0px; padding-bottom: 2px; padding-left: 15px; font-size: 175%"><span>Mail This Page To A Friend!</span></h3><div class="ja-box-ct clearfix" style="font-size: 100%; background-image: none; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: initial; padding: 0px; margin: 0px"><br /><strong><span style="color: #ff0000" class="Apple-style-span">Warning</span></strong><span style="color: #ff0000" class="Apple-style-span">: preg_match() expects parameter 2 to be string, array given in</span><strong><span style="color: #ff0000" class="Apple-style-span">/home/minibond/public_html/bedahkosmetik.com/modules/mod_mail_this_page/helper.php</span></strong><span style="color: #ff0000" class="Apple-style-span">on line </span><strong><span style="color: #ff0000" class="Apple-style-span">128</span></strong><br /><div class="mail_this_page" style="font-size: 100%; background-image: none; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: initial; padding: 0px; margin: 0px"><a href="http://www.bedahkosmetik.com/#">Email this page to a friend</a><br />The message has been sent<div style="overflow-x: hidden; overflow-y: hidden; font-size: 100%; background-image: none; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: initial; padding: 0px; margin: 0px"><div id="mail_this_link_form" style="font-size: 100%; background-image: none; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: initial; padding: 0px; margin: 0px">Your name:<br /><br />Your email:<br /><br />Friend's name:<br /><br />Friend's email:<br /><br /></div></div></div></div></span><p><span style="color: #393939; font-family: 'Trebuchet MS'; font-size: 11px; line-height: 16px" class="Apple-style-span"></span> </p> |
IP Logged
|
|
|
|
|
|
|
Subject :Re: Mail Module Error..
20-03-2009 15:20:50
|
|
|
boggler |
|
Spiral Scripts Support |
|
Joined: 18-08-2009 10:14:13
Posts: 211
Location: |
|
|
|
<p>Do you know which version of PHP you are using? </p><p> I cannot see anything wrong with the line referenced in the error message but it is possible that if you are using PHP 4.x that might be causing the problem.</p> |
IP Logged
|
susan subway boggler |
|
|
|
|
|
|
Subject :Re: Mail Module Error..
10-04-2009 11:16:52
|
|
|
crony |
|
Fresher |
|
Joined: 20-03-2009 08:52:02
Posts: 3
Location: |
|
|
|
<p>Hello,</p><p>Same problem here...</p><p>First, while module is loaded I've got those 2 notices :</p><p><strong>Notice</strong>: Undefined property: stdClass::$error in <strong>/usr/home/v1001/html/alpha/modules/mod_mail_this_page/tmpl/default.php</strong> on line <strong>14</strong><br /> <br /> <strong>Notice</strong>: Undefined property: stdClass::$success_message in <strong>/usr/home/v1001/html/alpha/modules/mod_mail_this_page/tmpl/default.php</strong> on line <strong>14</strong></p><p> </p><p>And after sending a mail thru this module, I've got on top of it:</p><p><strong>Warning</strong>: preg_match() expects parameter 2 to be string, array given in <strong>/usr/home/v1001/html/alpha/modules/mod_mail_this_page/helper.php</strong> on line <strong>128</strong></p><p> </p><p>Locally, there was no problem at all, so I think it might be server side config related.</p><p><font color="#00ff00"><strong>ok</strong></font> Local conf / Php:5.2.4 Sql:5.0.45 </p><p><strong><font color="#ff0000">not ok</font></strong> Server conf / php: 5.2.6 Sql: 4.1.22 </p><p> Mbstring is activated locally, and not activated on the server</p><p>Safe mode is not activated locally, and activated on the server (with ftp configured in configuration.php , no problem with installs/uninstalls...) </p><p>Any clue to solve this ? </p><p> Thanks !</p> |
IP Logged
|
|
|
|
|
|
|
Subject :Re: Mail Module Error..
12-04-2009 12:12:25
|
|
|
boggler |
|
Spiral Scripts Support |
|
Joined: 18-08-2009 10:14:13
Posts: 211
Location: |
|
|
|
<p>The messages that you quote are warnings rather than errors - the reason why you don't see these locally is probably because you have these switched off in your PHP configuration.</p><p> However it is not great to see warning messages, so we have produced an updated version of the module (1.0.1) which should eliminate these, also there are a few other improvements, mainly better language support.</p><p>You can download the new version from this site.</p> |
IP Logged
|
susan subway boggler |
|
|
|
|
|
|
Subject :Re: Mail Module Error..
12-04-2009 18:24:11
|
|
|
crony |
|
Fresher |
|
Joined: 20-03-2009 08:52:02
Posts: 3
Location: |
|
|
|
<p>Hello,</p><p> Thank you for this update, I'll test it and post feedback here.</p><p> </p> |
IP Logged
|
|
|
|
|
|
|
Subject :Re: Mail Module Error..
14-04-2009 09:33:10
|
|
|
crony |
|
Fresher |
|
Joined: 20-03-2009 08:52:02
Posts: 3
Location: |
|
|
|
<p>Hello,</p><p> Unfortunately there's some errors stills...</p><p> </p><p>On load module:</p><p><strong>Notice</strong>: Undefined property: stdClass::$error in <strong>/usr/home/v1001/html/alpha/modules/mod_mail_this_page/tmpl/default.php</strong> on line <strong>14</strong><br /> <br /> <strong>Notice</strong>: Undefined property: stdClass::$success_message in <strong>/usr/home/v1001/html/alpha/modules/mod_mail_this_page/tmpl/default.php</strong> on line <strong>14</strong> </p><p>While mail is sended :</p><p><strong>Notice</strong>: Undefined offset: 0 in <strong>/usr/home/v1001/html/alpha/modules/mod_mail_this_page/helper.php</strong> on line <strong>137</strong> </p><p> </p><p>Thanks for your support. </p> |
IP Logged
|
|
|
|
|
|
|
Subject :Re: Mail Module Error..
15-04-2009 10:53:07
|
|
|
boggler |
|
Spiral Scripts Support |
|
Joined: 18-08-2009 10:14:13
Posts: 211
Location: |
|
|
|
<div><font face="Arial" size="2">I am sending you a new version of the module, which *MAY* stop these messages from appearing. This is also downloadable from this site.</font></div><div></div><div><font face="Arial" size="2">Please note that these are not errors, they do not stop the module from working correctly, they are simply notices that a couple of variables are not set - which sometimes they won't be, it is not a problem.</font></div><div></div><div><font face="Arial" size="2">If this version does not stop them then I think that what you need to do is turn of the error display in your PHP configuration. You do this by adding the line</font></div><div></div><div><font face="Arial" size="2">display_errors=0</font></div><div></div><div><font face="Arial" size="2">to your php.ini file.</font></div><div></div><div><font face="Arial" size="2">You should do this anyway because it is not good to have errors displayed on your site, it can help to give an attacker information about your server.</font></div> |
IP Logged
|
susan subway boggler |
|
|
|
|