Advanced search  

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

Pages: [1]   Go Down

Author Topic: [Solved]: Error when trying to leave a comment  (Read 3076 times)

0 Members and 1 Guest are viewing this topic.

MatCat

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
[Solved]: Error when trying to leave a comment
« on: April 08, 2008, 02:11:21 am »

Get this error when trying to leave a comment on an image:
Fatal error: Cannot redeclare class PHPMailer in C:\Inetpub\vhosts\nepageocachers.org\httpdocs\gallery\include\mailer.inc.php on line 114

This is a clean install of coppermine, tried both php 4.4.7 and 5.2.3, as well as sendmail and smtp options (Not sure why phpmail is not supported here...)

Bridged to Joomla 1.5

Host is using IIS 6 (as is obvious from the directory listing above)  Sofar everything else seems to work however :).
« Last Edit: April 08, 2008, 04:39:21 pm by Nibbler »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Error when trying to leave a comment
« Reply #1 on: April 08, 2008, 07:22:03 am »

Post a link to your gallery and a non-admin test user account with privileges to send ecards.
Logged

MatCat

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Error when trying to leave a comment
« Reply #2 on: April 08, 2008, 03:22:21 pm »

Logged

Nibbler

  • Guest
Re: Error when trying to leave a comment
« Reply #3 on: April 08, 2008, 04:28:20 pm »

Looks like Joomla also uses PHPMailer. Rename Coppermine's version in include/mailer.inc.php
Logged

MatCat

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Error when trying to leave a comment
« Reply #4 on: April 08, 2008, 04:34:14 pm »

Looks like Joomla also uses PHPMailer. Rename Coppermine's version in include/mailer.inc.php
Not quite sure what I am renaming... rename the $mail objects?
Logged

MatCat

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Error when trying to leave a comment
« Reply #5 on: April 08, 2008, 04:37:34 pm »

Nevermind I see what you ment now, renamed the PHPMailer class, worked for not getting the error :) Thanks
Logged
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 20 queries.