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

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

[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