warning errors and admin panel

Is message board greying out your hair (at least what's left of it)? Let us help you here
Locked
brownd
Posts: 1
Joined: Tue Aug 26, 2008 7:08 pm

warning errors and admin panel

Post 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.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Locked