meeting-room-booking-system / mrbs-code

MRBS application code
Other
107 stars 56 forks source link

Email Location: / #2609

Open jberanek opened 4 years ago

jberanek commented 4 years ago

Good day, I know this is a simple perfectionist problem, but I just want to know what happened to my Location details on email. Where can I edit it so that the room name will be the Location and not the slash (/). Or did I accidentally removed something from the code? Please see attached image. Thanks to all.

Reported by: *anonymous

Original Ticket: mrbs/support-requests/1914

Attachments: https://sourceforge.net/p/mrbs/support-requests/1914/attachment/location.PNG

jberanek commented 4 years ago

The location should be "[area]/[room]". It looks like the area and room names are blank for some reason and you are just left with a '/'. Could you answer a few questions please to help diagnose the problem:

  1. Which version of MRBS are you using?
  2. Have you modified the code at all, except for the config file?
  3. What is the email client that you are using?
  4. What are the names of your area and room? If they are confidential, can you create a test area and room that demonstrates the same problem?

Original comment by: campbell-m

jberanek commented 4 years ago

Good day, thank you for the reply.

  1. MRBS 1.4.11
  2. I modified some page, i forgot which one. but no major modification, just change of views, interface and names.
  3. microsoft outlook 2010
  4. i created a test area and room. i attached a screen shot of room description and email sample.

I just want to know where did the function for that email notification so that i can check if i modified something on that particular file.

thanks.

Original comment by: *anonymous

Attachments: https://sourceforge.net/p/mrbs/support-requests/_discuss/thread/185e198b42/48b5/61fc/attachment/area.PNG https://sourceforge.net/p/mrbs/support-requests/_discuss/thread/185e198b42/48b5/61fc/attachment/email.PNG

jberanek commented 4 years ago

First of all add the following lines, temporarily, to the bottom of internalconfig.inc.php to see if you are getting any errors which might give you a clue:

error_reporting(-1);
ini_set('display_errors', '1');

The files to check are functions_ical.inc (though I would be surprised if you have changed that file), functions_mail.inc, edit_entry_handler.php and mrbs_sql.inc.

By the way, you might want to consider upgrading to the latest version of MRBS, to take advantage of the latest new features and bug fixes.

Original comment by: campbell-m

jberanek commented 4 years ago

Good day,

after puting the codes and trying to book room this messages prompted.


( ! ) Notice: Undefined index: area_name in C:\wamp\www\crrs\functions_ical.inc on line 889
Call Stack
#   Time    Memory  Function    Location
1   0.0000  386968  {main}( )   ..\edit_entry_handler.php:0
2   0.0312  2123016 mrbsMakeBookings( ) ..\edit_entry_handler.php:674
3   0.0624  2369192 notifyAdminOnBooking( ) ..\mrbs_sql.inc:1709
4   0.0624  2418352 create_ical_event( )    ..\functions_mail.inc:1006

( ! ) Notice: Undefined index: room_name in C:\wamp\www\crrs\functions_ical.inc on line 889
Call Stack
#   Time    Memory  Function    Location
1   0.0000  386968  {main}( )   ..\edit_entry_handler.php:0
2   0.0312  2123016 mrbsMakeBookings( ) ..\edit_entry_handler.php:674
3   0.0624  2369192 notifyAdminOnBooking( ) ..\mrbs_sql.inc:1709
4   0.0624  2418352 create_ical_event( )    ..\functions_mail.inc:1006

( ! ) Strict standards: Non-static method Mail::factory() should not be called statically in C:\wamp\www\crrs\functions_mail.inc on line 1324
Call Stack
#   Time    Memory  Function    Location
1   0.0000  386968  {main}( )   ..\edit_entry_handler.php:0
2   0.0312  2123016 mrbsMakeBookings( ) ..\edit_entry_handler.php:674
3   0.0624  2369192 notifyAdminOnBooking( ) ..\mrbs_sql.inc:1709
4   0.1092  2422176 sendMail( ) ..\functions_mail.inc:1016

( ! ) Strict standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\wamp\www\crrs\Mail\smtp.php on line 365
Call Stack
#   Time    Memory  Function    Location
1   0.0000  386968  {main}( )   ..\edit_entry_handler.php:0
2   0.0312  2123016 mrbsMakeBookings( ) ..\edit_entry_handler.php:674
3   0.0624  2369192 notifyAdminOnBooking( ) ..\mrbs_sql.inc:1709
4   0.1092  2422176 sendMail( ) ..\functions_mail.inc:1016
5   0.1248  3120032 Mail_smtp->send( )  ..\functions_mail.inc:1325
6   0.1248  3120616 Mail_smtp->getSMTPObject( ) ..\smtp.php:248

( ! ) Strict standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\wamp\www\crrs\Net\SMTP.php on line 386
Call Stack
#   Time    Memory  Function    Location
1   0.0000  386968  {main}( )   ..\edit_entry_handler.php:0
2   0.0312  2123016 mrbsMakeBookings( ) ..\edit_entry_handler.php:674
3   0.0624  2369192 notifyAdminOnBooking( ) ..\mrbs_sql.inc:1709
4   0.1092  2422176 sendMail( ) ..\functions_mail.inc:1016
5   0.1248  3120032 Mail_smtp->send( )  ..\functions_mail.inc:1325
6   0.1248  3120616 Mail_smtp->getSMTPObject( ) ..\smtp.php:248
7   0.1248  3410712 Net_SMTP->connect( )    ..\smtp.php:365

( ! ) Strict standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\wamp\www\crrs\Net\SMTP.php on line 391
Call Stack
#   Time    Memory  Function    Location
1   0.0000  386968  {main}( )   ..\edit_entry_handler.php:0
2   0.0312  2123016 mrbsMakeBookings( ) ..\edit_entry_handler.php:674
3   0.0624  2369192 notifyAdminOnBooking( ) ..\mrbs_sql.inc:1709
4   0.1092  2422176 sendMail( ) ..\functions_mail.inc:1016
5   0.1248  3120032 Mail_smtp->send( )  ..\functions_mail.inc:1325
6   0.1248  3120616 Mail_smtp->getSMTPObject( ) ..\smtp.php:248
7   0.1248  3410712 Net_SMTP->connect( )    ..\smtp.php:365

( ! ) Strict standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\wamp\www\crrs\Net\SMTP.php on line 398
Call Stack
#   Time    Memory  Function    Location
1   0.0000  386968  {main}( )   ..\edit_entry_handler.php:0
2   0.0312  2123016 mrbsMakeBookings( ) ..\edit_entry_handler.php:674
3   0.0624  2369192 notifyAdminOnBooking( ) ..\mrbs_sql.inc:1709
4   0.1092  2422176 sendMail( ) ..\functions_mail.inc:1016
5   0.1248  3120032 Mail_smtp->send( )  ..\functions_mail.inc:1325
6   0.1248  3120616 Mail_smtp->getSMTPObject( ) ..\smtp.php:248
7   0.1248  3410712 Net_SMTP->connect( )    ..\smtp.php:365

( ! ) Strict standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\wamp\www\crrs\Net\SMTP.php on line 441
Call Stack
#   Time    Memory  Function    Location
1   0.0000  386968  {main}( )   ..\edit_entry_handler.php:0
2   0.0312  2123016 mrbsMakeBookings( ) ..\edit_entry_handler.php:674
3   0.0624  2369192 notifyAdminOnBooking( ) ..\mrbs_sql.inc:1709
4   0.1092  2422176 sendMail( ) ..\functions_mail.inc:1016
5   0.1248  3120032 Mail_smtp->send( )  ..\functions_mail.inc:1325
6   0.1248  3120616 Mail_smtp->getSMTPObject( ) ..\smtp.php:248
7   0.1248  3410712 Net_SMTP->connect( )    ..\smtp.php:365
8   2.9016  3421640 Net_SMTP->_negotiate( ) ..\SMTP.php:398

( ! ) Strict standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\wamp\www\crrs\Net\SMTP.php on line 230
Call Stack
#   Time    Memory  Function    Location
1   0.0000  386968  {main}( )   ..\edit_entry_handler.php:0
2   0.0312  2123016 mrbsMakeBookings( ) ..\edit_entry_handler.php:674
3   0.0624  2369192 notifyAdminOnBooking( ) ..\mrbs_sql.inc:1709
4   0.1092  2422176 sendMail( ) ..\functions_mail.inc:1016
5   0.1248  3120032 Mail_smtp->send( )  ..\functions_mail.inc:1325
6   0.1248  3120616 Mail_smtp->getSMTPObject( ) ..\smtp.php:248
7   0.1248  3410712 Net_SMTP->connect( )    ..\smtp.php:365
8   2.9016  3421640 Net_SMTP->_negotiate( ) ..\SMTP.php:398
9   2.9172  3421784 Net_SMTP->_put( )   ..\SMTP.php:441
10  2.9172  3422064 Net_SMTP->_send( )  ..\SMTP.php:265

( ! ) Strict standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\wamp\www\crrs\Net\SMTP.php on line 445
Call Stack
#   Time    Memory  Function    Location
1   0.0000  386968  {main}( )   ..\edit_entry_handler.php:0
2   0.0312  2123016 mrbsMakeBookings( ) ..\edit_entry_handler.php:674
3   0.0624  2369192 notifyAdminOnBooking( ) ..\mrbs_sql.inc:1709
4   0.1092  2422176 sendMail( ) ..\functions_mail.inc:1016
5   0.1248  3120032 Mail_smtp->send( )  ..\functions_mail.inc:1325
6   0.1248  3120616 Mail_smtp->getSMTPObject( ) ..\smtp.php:248
7   0.1248  3410712 Net_SMTP->connect( )    ..\smtp.php:365
8   2.9016  3421640 Net_SMTP->_negotiate( ) ..\SMTP.php:398

( ! ) Strict standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\wamp\www\crrs\Mail\smtp.php on line 249
Call Stack
#   Time    Memory  Function    Location
1   0.0000  386968  {main}( )   ..\edit_entry_handler.php:0
2   0.0312  2123016 mrbsMakeBookings( ) ..\edit_entry_handler.php:674
3   0.0624  2369192 notifyAdminOnBooking( ) ..\mrbs_sql.inc:1709
4   0.1092  2422176 sendMail( ) ..\functions_mail.inc:1016
5   0.1248  3120032 Mail_smtp->send( )  ..\functions_mail.inc:1325

( ! ) Strict standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\wamp\www\crrs\Mail\smtp.php on line 285
Call Stack
#   Time    Memory  Function    Location
1   0.0000  386968  {main}( )   ..\edit_entry_handler.php:0
2   0.0312  2123016 mrbsMakeBookings( ) ..\edit_entry_handler.php:674
3   0.0624  2369192 notifyAdminOnBooking( ) ..\mrbs_sql.inc:1709
4   0.1092  2422176 sendMail( ) ..\functions_mail.inc:1016
5   0.1248  3120032 Mail_smtp->send( )  ..\functions_mail.inc:1325

( ! ) Strict standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\wamp\www\crrs\Net\SMTP.php on line 837
Call Stack
#   Time    Memory  Function    Location
1   0.0000  386968  {main}( )   ..\edit_entry_handler.php:0
2   0.0312  2123016 mrbsMakeBookings( ) ..\edit_entry_handler.php:674
3   0.0624  2369192 notifyAdminOnBooking( ) ..\mrbs_sql.inc:1709
4   0.1092  2422176 sendMail( ) ..\functions_mail.inc:1016
5   0.1248  3120032 Mail_smtp->send( )  ..\functions_mail.inc:1325
6   2.9640  3584536 Net_SMTP->mailFrom( )   ..\smtp.php:285

( ! ) Strict standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\wamp\www\crrs\Net\SMTP.php on line 230
Call Stack
#   Time    Memory  Function    Location
1   0.0000  386968  {main}( )   ..\edit_entry_handler.php:0
2   0.0312  2123016 mrbsMakeBookings( ) ..\edit_entry_handler.php:674
3   0.0624  2369192 notifyAdminOnBooking( ) ..\mrbs_sql.inc:1709
4   0.1092  2422176 sendMail( ) ..\functions_mail.inc:1016
5   0.1248  3120032 Mail_smtp->send( )  ..\functions_mail.inc:1325
6   2.9640  3584536 Net_SMTP->mailFrom( )   ..\smtp.php:285
7   2.9640  3584704 Net_SMTP->_put( )   ..\SMTP.php:837
8   2.9640  3584896 Net_SMTP->_send( )  ..\SMTP.php:265

( ! ) Strict standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\wamp\www\crrs\Net\SMTP.php on line 840
Call Stack
#   Time    Memory  Function    Location
1   0.0000  386968  {main}( )   ..\edit_entry_handler.php:0
2   0.0312  2123016 mrbsMakeBookings( ) ..\edit_entry_handler.php:674
3   0.0624  2369192 notifyAdminOnBooking( ) ..\mrbs_sql.inc:1709
4   0.1092  2422176 sendMail( ) ..\functions_mail.inc:1016
5   0.1248  3120032 Mail_smtp->send( )  ..\functions_mail.inc:1325
6   2.9640  3584536 Net_SMTP->mailFrom( )   ..\smtp.php:285

( ! ) Strict standards: Non-static method Mail_RFC822::parseAddressList() should not be called statically, assuming $this from incompatible context in C:\wamp\www\crrs\Mail.php on line 253
Call Stack
#   Time    Memory  Function    Location
1   0.0000  386968  {main}( )   ..\edit_entry_handler.php:0
2   0.0312  2123016 mrbsMakeBookings( ) ..\edit_entry_handler.php:674
3   0.0624  2369192 notifyAdminOnBooking( ) ..\mrbs_sql.inc:1709
4   0.1092  2422176 sendMail( ) ..\functions_mail.inc:1016
5   0.1248  3120032 Mail_smtp->send( )  ..\functions_mail.inc:1325
6   2.9796  3582864 Mail->parseRecipients( )    ..\smtp.php:291

( ! ) Strict standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\wamp\www\crrs\Net\SMTP.php on line 867
Call Stack
#   Time    Memory  Function    Location
1   0.0000  386968  {main}( )   ..\edit_entry_handler.php:0
2   0.0312  2123016 mrbsMakeBookings( ) ..\edit_entry_handler.php:674
3   0.0624  2369192 notifyAdminOnBooking( ) ..\mrbs_sql.inc:1709
4   0.1092  2422176 sendMail( ) ..\functions_mail.inc:1016
5   0.1248  3120032 Mail_smtp->send( )  ..\functions_mail.inc:1325
6   3.0108  3583720 Net_SMTP->rcptTo( ) ..\smtp.php:298

( ! ) Strict standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\wamp\www\crrs\Net\SMTP.php on line 230
Call Stack
#   Time    Memory  Function    Location
1   0.0000  386968  {main}( )   ..\edit_entry_handler.php:0
2   0.0312  2123016 mrbsMakeBookings( ) ..\edit_entry_handler.php:674
3   0.0624  2369192 notifyAdminOnBooking( ) ..\mrbs_sql.inc:1709
4   0.1092  2422176 sendMail( ) ..\functions_mail.inc:1016
5   0.1248  3120032 Mail_smtp->send( )  ..\functions_mail.inc:1325
6   3.0108  3583720 Net_SMTP->rcptTo( ) ..\smtp.php:298
7   3.0108  3583936 Net_SMTP->_put( )   ..\SMTP.php:867
8   3.0108  3584128 Net_SMTP->_send( )  ..\SMTP.php:265

( ! ) Strict standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\wamp\www\crrs\Net\SMTP.php on line 870
Call Stack
#   Time    Memory  Function    Location
1   0.0000  386968  {main}( )   ..\edit_entry_handler.php:0
2   0.0312  2123016 mrbsMakeBookings( ) ..\edit_entry_handler.php:674
3   0.0624  2369192 notifyAdminOnBooking( ) ..\mrbs_sql.inc:1709
4   0.1092  2422176 sendMail( ) ..\functions_mail.inc:1016
5   0.1248  3120032 Mail_smtp->send( )  ..\functions_mail.inc:1325
6   3.0108  3583720 Net_SMTP->rcptTo( ) ..\smtp.php:298

( ! ) Strict standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\wamp\www\crrs\Net\SMTP.php on line 867
Call Stack
#   Time    Memory  Function    Location
1   0.0000  386968  {main}( )   ..\edit_entry_handler.php:0
2   0.0312  2123016 mrbsMakeBookings( ) ..\edit_entry_handler.php:674
3   0.0624  2369192 notifyAdminOnBooking( ) ..\mrbs_sql.inc:1709
4   0.1092  2422176 sendMail( ) ..\functions_mail.inc:1016
5   0.1248  3120032 Mail_smtp->send( )  ..\functions_mail.inc:1325
6   3.0264  3583720 Net_SMTP->rcptTo( ) ..\smtp.php:298

( ! ) Strict standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\wamp\www\crrs\Net\SMTP.php on line 230
Call Stack
#   Time    Memory  Function    Location
1   0.0000  386968  {main}( )   ..\edit_entry_handler.php:0
2   0.0312  2123016 mrbsMakeBookings( ) ..\edit_entry_handler.php:674
3   0.0624  2369192 notifyAdminOnBooking( ) ..\mrbs_sql.inc:1709
4   0.1092  2422176 sendMail( ) ..\functions_mail.inc:1016
5   0.1248  3120032 Mail_smtp->send( )  ..\functions_mail.inc:1325
6   3.0264  3583720 Net_SMTP->rcptTo( ) ..\smtp.php:298
7   3.0420  3583936 Net_SMTP->_put( )   ..\SMTP.php:867
8   3.0420  3584128 Net_SMTP->_send( )  ..\SMTP.php:265

( ! ) Strict standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\wamp\www\crrs\Net\SMTP.php on line 870
Call Stack
#   Time    Memory  Function    Location
1   0.0000  386968  {main}( )   ..\edit_entry_handler.php:0
2   0.0312  2123016 mrbsMakeBookings( ) ..\edit_entry_handler.php:674
3   0.0624  2369192 notifyAdminOnBooking( ) ..\mrbs_sql.inc:1709
4   0.1092  2422176 sendMail( ) ..\functions_mail.inc:1016
5   0.1248  3120032 Mail_smtp->send( )  ..\functions_mail.inc:1325
6   3.0264  3583720 Net_SMTP->rcptTo( ) ..\smtp.php:298

( ! ) Strict standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\wamp\www\crrs\Net\SMTP.php on line 867
Call Stack
#   Time    Memory  Function    Location
1   0.0000  386968  {main}( )   ..\edit_entry_handler.php:0
2   0.0312  2123016 mrbsMakeBookings( ) ..\edit_entry_handler.php:674
3   0.0624  2369192 notifyAdminOnBooking( ) ..\mrbs_sql.inc:1709
4   0.1092  2422176 sendMail( ) ..\functions_mail.inc:1016
5   0.1248  3120032 Mail_smtp->send( )  ..\functions_mail.inc:1325
6   3.0576  3583720 Net_SMTP->rcptTo( ) ..\smtp.php:298

( ! ) Strict standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\wamp\www\crrs\Net\SMTP.php on line 230
Call Stack
#   Time    Memory  Function    Location
1   0.0000  386968  {main}( )   ..\edit_entry_handler.php:0
2   0.0312  2123016 mrbsMakeBookings( ) ..\edit_entry_handler.php:674
3   0.0624  2369192 notifyAdminOnBooking( ) ..\mrbs_sql.inc:1709
4   0.1092  2422176 sendMail( ) ..\functions_mail.inc:1016
5   0.1248  3120032 Mail_smtp->send( )  ..\functions_mail.inc:1325
6   3.0576  3583720 Net_SMTP->rcptTo( ) ..\smtp.php:298
7   3.0576  3583944 Net_SMTP->_put( )   ..\SMTP.php:867
8   3.0576  3584136 Net_SMTP->_send( )  ..\SMTP.php:265

( ! ) Strict standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\wamp\www\crrs\Net\SMTP.php on line 870
Call Stack
#   Time    Memory  Function    Location
1   0.0000  386968  {main}( )   ..\edit_entry_handler.php:0
2   0.0312  2123016 mrbsMakeBookings( ) ..\edit_entry_handler.php:674
3   0.0624  2369192 notifyAdminOnBooking( ) ..\mrbs_sql.inc:1709
4   0.1092  2422176 sendMail( ) ..\functions_mail.inc:1016
5   0.1248  3120032 Mail_smtp->send( )  ..\functions_mail.inc:1325
6   3.0576  3583720 Net_SMTP->rcptTo( ) ..\smtp.php:298

( ! ) Strict standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\wamp\www\crrs\Net\SMTP.php on line 948
Call Stack
#   Time    Memory  Function    Location
1   0.0000  386968  {main}( )   ..\edit_entry_handler.php:0
2   0.0312  2123016 mrbsMakeBookings( ) ..\edit_entry_handler.php:674
3   0.0624  2369192 notifyAdminOnBooking( ) ..\mrbs_sql.inc:1709
4   0.1092  2422176 sendMail( ) ..\functions_mail.inc:1016
5   0.1248  3120032 Mail_smtp->send( )  ..\functions_mail.inc:1325
6   3.0888  3587648 Net_SMTP->data( )   ..\smtp.php:307

( ! ) Strict standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\wamp\www\crrs\Net\SMTP.php on line 230
Call Stack
#   Time    Memory  Function    Location
1   0.0000  386968  {main}( )   ..\edit_entry_handler.php:0
2   0.0312  2123016 mrbsMakeBookings( ) ..\edit_entry_handler.php:674
3   0.0624  2369192 notifyAdminOnBooking( ) ..\mrbs_sql.inc:1709
4   0.1092  2422176 sendMail( ) ..\functions_mail.inc:1016
5   0.1248  3120032 Mail_smtp->send( )  ..\functions_mail.inc:1325
6   3.0888  3587648 Net_SMTP->data( )   ..\smtp.php:307
7   3.0888  3587824 Net_SMTP->_put( )   ..\SMTP.php:948
8   3.0888  3587984 Net_SMTP->_send( )  ..\SMTP.php:265

( ! ) Strict standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\wamp\www\crrs\Net\SMTP.php on line 951
Call Stack
#   Time    Memory  Function    Location
1   0.0000  386968  {main}( )   ..\edit_entry_handler.php:0
2   0.0312  2123016 mrbsMakeBookings( ) ..\edit_entry_handler.php:674
3   0.0624  2369192 notifyAdminOnBooking( ) ..\mrbs_sql.inc:1709
4   0.1092  2422176 sendMail( ) ..\functions_mail.inc:1016
5   0.1248  3120032 Mail_smtp->send( )  ..\functions_mail.inc:1325
6   3.0888  3587648 Net_SMTP->data( )   ..\smtp.php:307

( ! ) Strict standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\wamp\www\crrs\Net\SMTP.php on line 1002
Call Stack
#   Time    Memory  Function    Location
1   0.0000  386968  {main}( )   ..\edit_entry_handler.php:0
2   0.0312  2123016 mrbsMakeBookings( ) ..\edit_entry_handler.php:674
3   0.0624  2369192 notifyAdminOnBooking( ) ..\mrbs_sql.inc:1709
4   0.1092  2422176 sendMail( ) ..\functions_mail.inc:1016
5   0.1248  3120032 Mail_smtp->send( )  ..\functions_mail.inc:1325
6   3.0888  3587648 Net_SMTP->data( )   ..\smtp.php:307

( ! ) Strict standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\wamp\www\crrs\Net\SMTP.php on line 230
Call Stack
#   Time    Memory  Function    Location
1   0.0000  386968  {main}( )   ..\edit_entry_handler.php:0
2   0.0312  2123016 mrbsMakeBookings( ) ..\edit_entry_handler.php:674
3   0.0624  2369192 notifyAdminOnBooking( ) ..\mrbs_sql.inc:1709
4   0.1092  2422176 sendMail( ) ..\functions_mail.inc:1016
5   0.1248  3120032 Mail_smtp->send( )  ..\functions_mail.inc:1325
6   3.0888  3587648 Net_SMTP->data( )   ..\smtp.php:307
7   3.1200  3591392 Net_SMTP->_send( )  ..\SMTP.php:1002

( ! ) Strict standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\wamp\www\crrs\Net\SMTP.php on line 1012
Call Stack
#   Time    Memory  Function    Location
1   0.0000  386968  {main}( )   ..\edit_entry_handler.php:0
2   0.0312  2123016 mrbsMakeBookings( ) ..\edit_entry_handler.php:674
3   0.0624  2369192 notifyAdminOnBooking( ) ..\mrbs_sql.inc:1709
4   0.1092  2422176 sendMail( ) ..\functions_mail.inc:1016
5   0.1248  3120032 Mail_smtp->send( )  ..\functions_mail.inc:1325
6   3.0888  3587648 Net_SMTP->data( )   ..\smtp.php:307

( ! ) Strict standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\wamp\www\crrs\Net\SMTP.php on line 230
Call Stack
#   Time    Memory  Function    Location
1   0.0000  386968  {main}( )   ..\edit_entry_handler.php:0
2   0.0312  2123016 mrbsMakeBookings( ) ..\edit_entry_handler.php:674
3   0.0624  2369192 notifyAdminOnBooking( ) ..\mrbs_sql.inc:1709
4   0.1092  2422176 sendMail( ) ..\functions_mail.inc:1016
5   0.1248  3120032 Mail_smtp->send( )  ..\functions_mail.inc:1325
6   3.0888  3587648 Net_SMTP->data( )   ..\smtp.php:307
7   3.1356  3591472 Net_SMTP->_send( )  ..\SMTP.php:1012

( ! ) Strict standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\wamp\www\crrs\Net\SMTP.php on line 1017
Call Stack
#   Time    Memory  Function    Location
1   0.0000  386968  {main}( )   ..\edit_entry_handler.php:0
2   0.0312  2123016 mrbsMakeBookings( ) ..\edit_entry_handler.php:674
3   0.0624  2369192 notifyAdminOnBooking( ) ..\mrbs_sql.inc:1709
4   0.1092  2422176 sendMail( ) ..\functions_mail.inc:1016
5   0.1248  3120032 Mail_smtp->send( )  ..\functions_mail.inc:1325
6   3.0888  3587648 Net_SMTP->data( )   ..\smtp.php:307

( ! ) Strict standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\wamp\www\crrs\Net\SMTP.php on line 415
Call Stack
#   Time    Memory  Function    Location
1   0.0000  386968  {main}( )   ..\edit_entry_handler.php:0
2   0.0312  2123016 mrbsMakeBookings( ) ..\edit_entry_handler.php:674
3   0.0624  2369192 notifyAdminOnBooking( ) ..\mrbs_sql.inc:1709
4   0.1092  2422176 sendMail( ) ..\functions_mail.inc:1016
5   0.1248  3120032 Mail_smtp->send( )  ..\functions_mail.inc:1325
6   3.1512  3586640 Mail_smtp->disconnect( )    ..\smtp.php:326
7   3.1512  3586848 Net_SMTP->disconnect( ) ..\smtp.php:414

( ! ) Strict standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\wamp\www\crrs\Net\SMTP.php on line 230
Call Stack
#   Time    Memory  Function    Location
1   0.0000  386968  {main}( )   ..\edit_entry_handler.php:0
2   0.0312  2123016 mrbsMakeBookings( ) ..\edit_entry_handler.php:674
3   0.0624  2369192 notifyAdminOnBooking( ) ..\mrbs_sql.inc:1709
4   0.1092  2422176 sendMail( ) ..\functions_mail.inc:1016
5   0.1248  3120032 Mail_smtp->send( )  ..\functions_mail.inc:1325
6   3.1512  3586640 Mail_smtp->disconnect( )    ..\smtp.php:326
7   3.1512  3586848 Net_SMTP->disconnect( ) ..\smtp.php:414
8   3.1668  3586928 Net_SMTP->_put( )   ..\SMTP.php:415
9   3.1668  3587088 Net_SMTP->_send( )  ..\SMTP.php:265

( ! ) Strict standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\wamp\www\crrs\Net\SMTP.php on line 418
Call Stack
#   Time    Memory  Function    Location
1   0.0000  386968  {main}( )   ..\edit_entry_handler.php:0
2   0.0312  2123016 mrbsMakeBookings( ) ..\edit_entry_handler.php:674
3   0.0624  2369192 notifyAdminOnBooking( ) ..\mrbs_sql.inc:1709
4   0.1092  2422176 sendMail( ) ..\functions_mail.inc:1016
5   0.1248  3120032 Mail_smtp->send( )  ..\functions_mail.inc:1325
6   3.1512  3586640 Mail_smtp->disconnect( )    ..\smtp.php:326
7   3.1512  3586848 Net_SMTP->disconnect( ) ..\smtp.php:414

( ! ) Strict standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\wamp\www\crrs\Net\SMTP.php on line 421
Call Stack
#   Time    Memory  Function    Location
1   0.0000  386968  {main}( )   ..\edit_entry_handler.php:0
2   0.0312  2123016 mrbsMakeBookings( ) ..\edit_entry_handler.php:674
3   0.0624  2369192 notifyAdminOnBooking( ) ..\mrbs_sql.inc:1709
4   0.1092  2422176 sendMail( ) ..\functions_mail.inc:1016
5   0.1248  3120032 Mail_smtp->send( )  ..\functions_mail.inc:1325
6   3.1512  3586640 Mail_smtp->disconnect( )    ..\smtp.php:326
7   3.1512  3586848 Net_SMTP->disconnect( ) ..\smtp.php:414

( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp\www\crrs\functions_mail.inc:1324) in C:\wamp\www\crrs\edit_entry_handler.php on line 707
Call Stack
#   Time    Memory  Function    Location
1   0.0000  386968  {main}( )   ..\edit_entry_handler.php:0
2   3.1980  3546840 header ( )  ..\edit_entry_handler.php:707

Original comment by: *anonymous

jberanek commented 4 years ago

Good day,

i tried to add the codes and book a room. this prompted. thanks.

Original comment by: *anonymous

Attachments: https://sourceforge.net/p/mrbs/support-requests/_discuss/thread/185e198b42/8a5d/attachment/edit_entry_handler.php.html

jberanek commented 4 years ago

I think the best thing to do is to upgrade to the latest version of MRBS and see if you still get the problem. (If you are using LDAP then note that MRBS 1.7.4 has a bug in it and you will need to upgrade to the latest code in the mrbs_17_branch by folowing the Download Snapshot link on this page.

Original comment by: campbell-m

jberanek commented 4 years ago

MRBS 1.7.4.1 has been released, which includes a fix for the issue Campbell has mentioned.

Original comment by: jberanek

jberanek commented 4 years ago

Good day,

thank you all for replying. I will try first to upgrade to latest version then retry the same process then update you all. thanks.

JC

Original comment by: *anonymous