Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Member Approval v1.5


izrunas

Recommended Posts

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!

-----

 

Eriks Goodwin

 

PHP Newbie -//- Lotus Domino Guru

Link to comment
Share on other sites

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!

-----

 

Eriks Goodwin

 

PHP Newbie -//- Lotus Domino Guru

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...