1

Topic: Problem

Fatal error: Call to undefined function: mail() in /home/nilzzon/public_html/punbb/include/email.php on line 72

when someone is subscribing to a topic, this error occurs.

jag heter inte kaj.
elajten.mine.nu

2

Re: Problem

You dont have SMTP mail (or something like that) so turn off:

Subscriptions

Leave these blank:

SMTP server address
SMTP username 
SMTP password

And put this to no:

Validate registrations

Then you shouldnt have a problem smile

(Thats what i have done anyway smile)

---------> PLEASE REMEMBER I GOT THE FIRST EVER POST OF PUNBB 1.1! <---------
---------> PLEASE REMEMBER I GOT THE FIRST EVER POST OF PUNBB 1.1! <---------

Re: Problem

in some cases you can still use SMTP if mail() doesnt work. i think

4

Re: Problem

oh... havent tried it... cant you get the SMTP information from phpinfo() page??

---------> PLEASE REMEMBER I GOT THE FIRST EVER POST OF PUNBB 1.1! <---------
---------> PLEASE REMEMBER I GOT THE FIRST EVER POST OF PUNBB 1.1! <---------

Re: Problem

On my server the phpinfo() mentions "SMTP - Localhost; SMTP port - 25" Thats all.

6

Re: Problem

Ill just check mine...

---------> PLEASE REMEMBER I GOT THE FIRST EVER POST OF PUNBB 1.1! <---------
---------> PLEASE REMEMBER I GOT THE FIRST EVER POST OF PUNBB 1.1! <---------

Re: Problem

johni: What operating system are you using? On the server side that is.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

8

Re: Problem

Dont PUNBB give you a page??? I cant access my FTP stupid library computers....

---------> PLEASE REMEMBER I GOT THE FIRST EVER POST OF PUNBB 1.1! <---------
---------> PLEASE REMEMBER I GOT THE FIRST EVER POST OF PUNBB 1.1! <---------

Re: Problem

What?

Edit: Ah, now I understand. You mean phpinfo? No, there's no page in PunBB where you can display that. Sorry :)

"Programming is like sex: one mistake and you have to support it for the rest of your life."

10

Re: Problem

oh... i thought there was in a seperate folder... oh well must have been something else... cant view anything else at the moment cuz of the stupid f***ing IE @ the library dont allow me to access my FTP grrrrrr....

Stupid Lottery Funded things....

---------> PLEASE REMEMBER I GOT THE FIRST EVER POST OF PUNBB 1.1! <---------
---------> PLEASE REMEMBER I GOT THE FIRST EVER POST OF PUNBB 1.1! <---------

11

Re: Problem

Kennel wrote:

johni: What operating system are you using? On the server side that is.

im using linux with apache. and all the smtp options are disabled.

jag heter inte kaj.
elajten.mine.nu

Re: Problem

It seems as if you don't have mail support compiled into your PHP module. Do you have an SMTP server installed? In that case which one? Also, did you have it installed when you configured PHP?

"Programming is like sex: one mistake and you have to support it for the rest of your life."

13

Re: Problem

Kennel wrote:

It seems as if you don't have mail support compiled into your PHP module. Do you have an SMTP server installed? In that case which one? Also, did you have it installed when you configured PHP?

I dont have any smtp server installad. But I think i have mail support installed.

jag heter inte kaj.
elajten.mine.nu

Re: Problem

Well, the PHP configure script checks to see if you have an SMTP server installed and if not, it disables mail(). So, to be able to send e-mail, you have to options:

1. Install an SMTP server (i.e. Postfix) and reconfigure/compile PHP.
2. Setup an external SMTP server in admin/options.

"Programming is like sex: one mistake and you have to support it for the rest of your life."