izrunas Posted July 12, 2005 Share Posted July 12, 2005 I installed the Member Approval v1.5 module as per instructions and as corrected for a couple of file locations in the admin portion, but any time create_account.php is called, it simply returns a blank page. I did back out the changes and start with fresh copies of the files from the download of OSC 2.2 MS 2 and followed the instructions yet again. Help? Thank you! Quote ----- Eriks Goodwin PHP Newbie -//- Lotus Domino Guru Link to comment Share on other sites More sharing options...
izrunas Posted July 13, 2005 Author Share Posted July 13, 2005 Hmmm... found the problem... apparently a typo in the instructions.... Where the instructions lead you to replace existing code with: } else { $email_text = sprintf(EMAIL_GREET_NONE, $firstname); } } // customer email notification $email_text .= EMAIL_WELCOME . EMAIL_TEXT . EMAIL_CONTACT . EMAIL_WARNING; tep_mail($name, $email_address, EMAIL_SUBJECT, nl2br($email_text), STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); // admin email notification $admin_email_text .= ADMIN_EMAIL_WELCOME . ADMIN_EMAIL_TEXT . EMAIL_WARNING; tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SUBJECT, nl2br($admin_email_text), $name, $email_address, ''); tep_redirect(tep_href_link(FILENAME_CREATE_ACCOUNT_SUCCESS, '', 'SSL')); } There are one or two " } " that need to be deleted at the end of this code snippet. Hope this helps others in the future! Quote ----- Eriks Goodwin PHP Newbie -//- Lotus Domino Guru Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.