Guest Posted February 21, 2004 Posted February 21, 2004 I have a mini-site for a subscription service so, obviously, have disabled the create account call on the login page. This seems to have messed up (somehow) the create account page itself so I'm wondering if there's any way to disable the email call upon success? Here's the error message I'm getting (and, by the way, it does actually add the customer but also sends them the garbled email etc): Parse error: parse error in /home2/quin/public_html/GBCClub/includes/languages/english/create_account.php on line 24 Line 24 and before reads: require('includes/application_top.php'); // needs to be included earlier to set the success message in the messageStack require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CREATE_ACCOUNT); $process = false; if (isset($HTTP_POST_VARS['action']) && ($HTTP_POST_VARS['action'] == 'process')) { $process = true; if (ACCOUNT_GENDER == 'true') { if (isset($HTTP_POST_VARS['gender'])) { $gender = tep_db_prepare_input($HTTP_POST_VARS['gender']); } else { $gender = false; Here's what the content of the email sent looks like: EMAIL_GREET_NONEEMAIL_WELCOMEEMAIL_TEXTEMAIL_CONTACTEMAIL_WARNING
Guest Posted March 19, 2004 Posted March 19, 2004 did you ever get an answer for this problem? I am getting the EXACT same error message but cannot figure out what I did wrong or where the error is.
Guest Posted March 19, 2004 Posted March 19, 2004 I didn't Sue, but when I went in and edited the create_account.php in admin? languages/english? can't remember exactly where, it fixed. I also edited the email itself and had to play around with that a bit so as not to cut up the formatting. Wouldn't it be nice if someone did a contrib where you could change the letter without going to the script (hint, hint to whomever would know how)?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.