#367 Email works but strict standards error generated in 1.4.10

open
nobody
None
1
2015-05-15
2013-07-22
No

Hi,
I have configured MRBS 1.4.10 to send a message to the booker using the mail backend. Unlike our current 1.4.8 installation, after saving a booking the following message is displayed (I've removed our directory paths). What causes this and given that the email does arrive, is this something to worry about? If not can we change something in MRBS to prevent it or is the display of this message due to the php configuration on the server?
Thanks

Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /Mail/mimePart.php on line 307 Strict Standards: Non-static method Mail::factory() should not be called statically in /functions_mail.inc on line 1299 Warning: Cannot modify header information - headers already sent by (output started at /Mail/mimePart.php:307) in /edit_entry_handler.php on line 677

Discussion

  • Campbell Morrison

    It's not something to worry about, but you obviously don't want the message appearing. The fact that it appears is unfortunately a bug in 1.4.10. I've now fixed it in the trunk (Rev 2746) but you can patch your system by changing line 396 of internalconfig.inc.php from

      $error_level = $error_level ^ E_STRICT;
    

    to

      $error_level = $error_level & !E_STRICT;
    

    (Incidentally it would be a good idea to have error messages sent to an error log rather than the browser by setting "display_errors" to "0" in your php.ini file. This stops system error messages being displayed to the user. Your error log will fill up, but at least the user won't see anything wrong).

    Campbell

     
  • Andrew Hardisty

    Andrew Hardisty - 2013-07-22

    Hi,
    That's done the trick. Thanks for the speedy response.

     
    • Comment has been marked as spam. 
      Undo

      You can see all pending comments posted by this user  here

      Anonymous - 2013-08-08

      You are the Hero of the Day.
      Thanks a lot Campbell

       
      Last edit: Anonymous 2013-08-08
  • Ocean

    Ocean - 2013-08-12

    thanks a lot

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2013-08-12

    ty Campbell :)

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2013-09-05

    hey !
    just a quick google search for that error, and 1. hit was the solution here !
    nice !

    thanks

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2014-06-19

    Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /home/songspkh/public_html/music/id.php on line 468

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2014-06-19

    if(!PEAR::isError( $id3tag)) {
    this is 468 line

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2014-06-19

    solve that one please

     
    • Campbell Morrison

      id.php is not an MRBS file and the error from line 468 that you are seeing is nothing to do with MRBS.

      Campbell

       


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks