User Registration Emails are empty! Help! User Registration Emails are empty! Help!
 

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

User Registration Emails are empty! Help!

Started by Informator, March 05, 2006, 10:38:40 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Informator

I've using Coppermine for a while now and was just about to go live when a strange thing happened. I started receiving empty emails from CPG. They were properly addressed and the from name and email address were fine, but there is no title and no content to the email, just a blank page. I have checked the user module in admin and can conclude these are meant to be registration request emails.

I recently hacked the registraion email to include the email address of the user, and it has worked fine. I didn't change anything whatsoever in the install, it just started doing this randomly. Displaying full headers reveals not much I can understand, though I paste them here for reference anyway. I haven't fiddled with the mail server or anything either. Does anyone have any idea what's going on? It's obviously very important that I get this sorted before going live, especialyl as activating via the user admin panel doesn't send an email to the user (I believe). Any help would be hugely appreciated!

These are the headers from one of the successful emails:
Return-Path: <webmaster@gmtg.org>
Delivered-To: gmtgorga-webmaster@gmtg.org
Received: (qmail 40815 invoked by uid 1903); 18 Feb 2006 14:40:14 -0000
Received: from 127.0.0.1 by host333.ipowerweb.com (envelope-from <webmaster@gmtg.org>, uid 80) with qmail-scanner-1.25st
(clamdscan: 0.88/1235. spamassassin: 3.1.0. perlscan: 1.25st. 
Clear:RC:1(127.0.0.1):SA:0(0.6/5.0):.
Processed in 0.167935 secs); 18 Feb 2006 14:40:14 -0000
X-Spam-Status: No, hits=0.6 required=5.0
To: webmaster@gmtg.org
Subject: GMTG Photo Gallery - Registration request
Date: Sat, 18 Feb 2006 06:40:14 -0800
From: "\"GMTG Photo Gallery\"" <webmaster@gmtg.org>
Message-ID: <1a8382db0860eae88dcdf0c9ee3ab9c5@gmtg.org>
X-Priority: 3
X-Mailer: PHPMailer [version 1.72]
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="b1_1a8382db0860eae88dcdf0c9ee3ab9c5"


These are the headers from one of the broken emails:

Return-Path: <webmaster@gmtg.org>
Delivered-To: gmtgorga-webmaster@gmtg.org
Received: (qmail 3916 invoked by uid 1903); 3 Mar 2006 16:18:59 -0000
Received: from 127.0.0.1 by host333.ipowerweb.com (envelope-from <webmaster@gmtg.org>, uid 80) with qmail-scanner-1.25st
(clamdscan: 0.88/1235. spamassassin: 3.1.0. perlscan: 1.25st. 
Clear:RC:1(127.0.0.1):SA:0(2.2/5.0):.
Processed in 0.145285 secs); 03 Mar 2006 16:18:59 -0000
X-Spam-Status: No, hits=2.2 required=5.0
X-Spam-Level: ++
To: webmaster@gmtg.org
Subject:
Date: Fri, 3 Mar 2006 08:18:59 -0800
From: "\"GMTG Photo Gallery\"" <webmaster@gmtg.org>
Message-ID: <4216fadbb19b196365fac18c61449fdc@gmtg.org>
X-Priority: 3
X-Mailer: PHPMailer [version 1.72]
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/html; charset="utf-8"
"Accept everything about yourself - and I mean everything. You are you and that is the beginning and the end - no apologies, no regrets." -Clark Moustakas

Joachim Müller


Informator

The site is at http://www.gmtg.org/gallery/. Excuse the rubbish CSS. I have recently successfully upgraded to 1.4.4 and even with a fresh copy of the files the problem remains.
"Accept everything about yourself - and I mean everything. You are you and that is the beginning and the end - no apologies, no regrets." -Clark Moustakas

Informator

I hate to bump, but I'm really at my wits end with this. ??? ??? When I change the language to anything else, it works perfectly. When I use English, the registration requests are empty. I've tried re-uploading a fresh copy of english.php, copying and pasting it via a web interface, and anything else I can think of. But still the problem persists. I can't believe this will necessitate a re-install, and I am desperate to avoid that, having spent upwards of 12 hours modifying the settings, installing pics, etc. Does anyone have any idea at all?
"Accept everything about yourself - and I mean everything. You are you and that is the beginning and the end - no apologies, no regrets." -Clark Moustakas

Joachim Müller

hard to say anything, as you have admin approval turned on for registration. Can't look into this, as I don't get an email, but you.

Informator

This is the strangest thing.

I received your registration request email today. It was in perfect English, as it should be. I hadn't changed a thing. Thus, I can conclude that either:

a) There's something wrong with my browser / cookies / etc which is for some reason generating blank emails when I do test registrations.
b) GauGau, you are in fact the the living embodiment of CPG godliness, and have somehow managed to influence the software back to working order merely by your presence.
c) Both of the above.

I shall do some more investigations on other systems, browsers, etc, and report back my findings. But thank you, most sincerely, for your reply. I wouldn't mark this solved jsut yet, but I shall do some more investigations immediately and report back.

You are my new idol GauGau ;D
"Accept everything about yourself - and I mean everything. You are you and that is the beginning and the end - no apologies, no regrets." -Clark Moustakas

Informator

I'm really sorry to do this, but this problem is not yet solved.

After testing the empty emails thing on a fresh system, all worked, as explained above. I booted up today and the empty email problem was reoccurring. I tried replacing the english.php file with a fresh copy, but still no help. I returned the modified english.php to the folder, which had worked yesterday but not today.

I then tested it on yet another fresh system. This time the emails worked. So I tried clearing all cookies from the previous system, then registering again. Still, empty emails. I cleared all cookies from the latter (working) system, rebooted, and used different browsers. This worked.


As far as I can ascertain, the problem seems to occur only after a system has already visited the site. How, or why, this happens, I cannot tell. I will invite more users to sign up and see what happens. Does anyone have any ideas what this could be or how I can investigate further?
"Accept everything about yourself - and I mean everything. You are you and that is the beginning and the end - no apologies, no regrets." -Clark Moustakas