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: Error with ecard feature  (Read 3787 times)

0 Members and 1 Guest are viewing this topic.

rocdane

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Error with ecard feature
« 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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Error with ecard feature
« Reply #1 on: February 28, 2004, 08:21:42 pm »

link (plus username/password of test account, if restricted to registered only)!!!

GauGau
Logged

Nibbler

  • Guest
Error with ecard feature
« Reply #2 on: February 29, 2004, 04:18:53 pm »

Check your server error logs.
Logged

rocdane

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Link to check
« Reply #3 on: March 01, 2004, 12:13:17 pm »

Link to check the problem:
http://randosmjc.free.fr

user: christiane
password: correard
Logged

Nibbler

  • Guest
Error with ecard feature
« Reply #4 on: March 01, 2004, 03:07:23 pm »

Have you read the section in the FAQ dealing with free.fr ?
Logged

rocdane

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Link to check
« Reply #5 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
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Error with ecard feature
« Reply #6 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
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

rocdane

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Error with ecard feature
« Reply #7 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.
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Error with ecard feature
« Reply #8 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.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

goldmar

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Error with ecard feature
« Reply #9 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? ???
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Error with ecard feature
« Reply #10 on: May 12, 2004, 06:36:56 am »

I 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
Logged

goldmar

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Error with ecard feature
« Reply #11 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...
« Last Edit: May 12, 2004, 03:17:18 pm by goldmar »
Logged

goldmar

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Error with ecard feature
« Reply #12 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
Code: [Select]
$result = cpg_mail($recipient_email, $subject, $message, 'text/html', $sender_name, $sender_email);
Replace with
Code: [Select]
$result = cpg_mail($recipient_email, $subject, $message, 'text/html', $sender_email);
Works fine then... ;) 8)
« Last Edit: May 12, 2004, 03:45:47 pm by goldmar »
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 19 queries.