Menu

#447 Booking-page crashes after changing mail-options!

open
nobody
None
1
2014-01-08
2014-01-08
Albert
No

Hello,

I wanted to get an email-notification, when someone makes a new booking. I added these 3 lines from the systemdefaults-file in the config-file and modified them there:

$mail_settings['admin_on_bookings'] = TRUE;
$mail_settings['details'] = TRUE;
$mail_settings['recipients'] = 'albert@albertsixten.dk';

unfortunately the booking-page crashed when I did this and even after I commented the lines out, it did not return back to normal.

This is what I see now: booking.terapeuternevedriget.dk

What could have happened? And how do I make it work again?

Kind regards
Albert

Discussion

  • Campbell Morrison

    You've lost the CSS somehow. If I look at the CSS I see the following:

    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>404 Not Found</title>
    </head><body>
    <h1>Not Found</h1>
    <p>The requested URL /mrbs/web/css/mrbs.css.php was not found on this server.</p>
    </body></html>
    

    and

    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>404 Not Found</title>
    </head><body>
    <h1>Not Found</h1>
    <p>The requested URL /mrbs/web/css/mrbs-print.css.php was not found on this server.</p>
    </body></html>
    

    Is your web/css directory still there and complete?

    Campbell

     
  • Albert

    Albert - 2014-01-08

    Wow.. you are right. For some reason the entire css-dir had disappeared. I uploaded it again and all is back to normal.

    Funny thing is that I have never touched that directory. Only the config-file.

    But thanks! It is now working again and Im getting mails when users make resevations (the css-dir was still there after adding the lines, the second time!)