Page 1 of 1

warning errors and admin panel

Posted: Tue Aug 26, 2008 7:14 pm
by brownd
Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

I am trying to test mboard on my local apache server and I get this warning

Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in C:\xampp\htdocs\library\mboard13\mboard.php on line 462

I have also not encountered the admin panel or any admin area to maintain the message board that is to delete recent posts. Where is this elusive admin area? What does that warning mean? I want to make this live but I have problems.

Posted: Wed Aug 27, 2008 5:52 pm
by Klemen
This is not a script problem, it's with your PHP setup. As the warning says, you should set a default e-mail address for sendmail_from in your php.ini file (in your PHP installation). Or add this coe to the settings.php file to ignore the warning:

Code: Select all

ini_set('display_errors', 0);
There is no admin panel in MBoard, you can only delete messages by clicking the red X sign in posts.