coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: rocdane on February 28, 2004, 07:18:48 PM

Title: Error with ecard feature
Post by: rocdane on February 28, 2004, 07:18:48 PM
When I want to send an ecard, I receive a page error HTTP 500 from my host server.
Nevertheless, the ecard is received properly by the recipient.
I would like correct that because it is not very clean.
Title: Error with ecard feature
Post by: Joachim Müller on February 28, 2004, 08:21:42 PM
link (plus username/password of test account, if restricted to registered only)!!!

GauGau
Title: Error with ecard feature
Post by: Nibbler on February 29, 2004, 04:18:53 PM
Check your server error logs.
Title: Link to check
Post by: rocdane on March 01, 2004, 12:13:17 PM
Link to check the problem:
http://randosmjc.free.fr

user: christiane
password: correard
Title: Error with ecard feature
Post by: Nibbler on March 01, 2004, 03:07:23 PM
Have you read the section in the FAQ (http://coppermine.sourceforge.net/faq.php?q=CoppermineOnFranceFr#CoppermineOnFranceFr) dealing with free.fr ?
Title: Re: Link to check
Post by: rocdane on March 01, 2004, 04:37:27 PM
Quote from: "rocdane"Link to check the problem:
http://randosmjc.free.fr/coppermine

user: christiane
password: correard
Title: Error with ecard feature
Post by: Casper on March 01, 2004, 04:49:30 PM
Please answer Nibbler's question.  Did you do what it says in the faq for users hosted on free.fr
Title: Error with ecard feature
Post by: rocdane on March 01, 2004, 04:52:43 PM
Yes Nibbler I red the FAQ dealing with free.fr
I think this FAQ is not currrently up to date because Coppermine works without modifing the file include/init.inc.php.
I nevertheless installed the patch of Greg.
The upload from a browser works fine, the e-card too except the problem I mentionned above.
Title: Error with ecard feature
Post by: Casper on March 01, 2004, 05:00:19 PM
The same thing happened when I tried.
it does look like this is a server error, not due to coppermine.
Title: Re: Error with ecard feature
Post by: goldmar on May 11, 2004, 04:02:23 PM
I have the same problem (on same server...)

I think it should be possible to fix this somehow because the rest works (and email works as well - e.g. on my forum (phpBB) on free.fr)

So is there a workaround? ???
Title: Re: Error with ecard feature
Post by: Joachim Müller on May 12, 2004, 06:36:56 AM
Quote from: goldmar on May 11, 2004, 04:02:23 PMI think it should be possible to fix this somehow
Since nobody from the dev team is webhosted on free.fr, we probably can't solve issues that come up only on one host. I suggest you take a look into this and post a fix once you found out. There are usually two methods a webserver sends emails: using smtp or sendmail. Coppemine can use smtp - maybe phpbb is using sendmail?

GauGau
Title: Re: Error with ecard feature
Post by: goldmar on May 12, 2004, 02:35:24 PM
Yes, phpBB is configured using sendmail (it's sending mails using the mail() function).

But coppermine does it as well (if you don't fill in the "$CONFIG['smtp_host']" in mailer.inc.php) - or am I mistaken?

Anyway... I don't really know where to start with this. :-\\

UPDATE:
The registration mail works. So the problem must be somewhere within ecard.php...
Title: Re: Error with ecard feature
Post by: goldmar on May 12, 2004, 03:38:04 PM
ok, here seems to be a solution (found out after some trying):

Open ecard.php

Search for
$result = cpg_mail($recipient_email, $subject, $message, 'text/html', $sender_name, $sender_email);

Replace with
$result = cpg_mail($recipient_email, $subject, $message, 'text/html', $sender_email);

Works fine then... ;) 8)