Fatal error: Cannot redeclare smtp_mail() Fatal error: Cannot redeclare smtp_mail()
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Fatal error: Cannot redeclare smtp_mail()

Started by vito, March 24, 2005, 01:21:20 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

vito

Fatal error: Cannot redeclare smtp_mail() (previously declared in /home/www/scripts/smtp/smtp_mail.php:4) in /home/www/overseeonline/comdados/victor/galeria/include/mailer.inc.php on line 233



what's this?  :( :(

kegobeer

Without any knowledge of your site and the script you have, you have a script that has a function called smtp_mail.  Somewhere after that function is declared, you attempt to include Coppermine, which has a function with the same name.  Presto, you have an error message.

You have to rename one of the functions and all of the function calls in one of your php applications, either Coppermine or the other one.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Tranz

You tell us.

smtp_mail.php is not a coppermine file

It would help if you provided more background information.