[Solved]: Error when trying to leave a comment [Solved]: Error when trying to leave a comment
 

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]

Main Menu

[Solved]: Error when trying to leave a comment

Started by MatCat, April 08, 2008, 02:11:21 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MatCat

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 :).

Joachim Müller

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


Nibbler

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

MatCat

Quote from: Nibbler on April 08, 2008, 04:28:20 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?

MatCat

Nevermind I see what you ment now, renamed the PHPMailer class, worked for not getting the error :) Thanks