coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Ecards & Email => Topic started by: vito on March 24, 2005, 01:21:20 AM

Title: Fatal error: Cannot redeclare smtp_mail()
Post by: vito on March 24, 2005, 01:21:20 AM
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?  :( :(
Title: Re: Fatal error: Cannot redeclare smtp_mail()
Post by: kegobeer on March 24, 2005, 01:27:25 AM
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.
Title: Re: Fatal error: Cannot redeclare smtp_mail()
Post by: Tranz on March 24, 2005, 01:29:11 AM
You tell us.

smtp_mail.php is not a coppermine file

It would help if you provided more background information.