Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Fatal error: Cannot redeclare smtp_mail()  (Read 5069 times)

0 Members and 1 Guest are viewing this topic.

vito

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Fatal error: Cannot redeclare smtp_mail()
« 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?  :( :(
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Fatal error: Cannot redeclare smtp_mail()
« Reply #1 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.
Logged
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

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Fatal error: Cannot redeclare smtp_mail()
« Reply #2 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.027 seconds with 15 queries.