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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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.