News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

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 1 Guest 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.