Post by cartamodello » Sat Nov 23, 2013 2:47 pm

Hi guys, hope you can help!

I'm not sure why, but my account registration form is suddenly not working. New account registration at checkout works fine, but if someone goes to create an account via /index.php?route=account/register, nothing happens. This was brought to my attention by a customer who was unable to create an account.

I tested it just now, and the form picks up standard errors (i.e. email address already registered, "you must agree to the privacy policy" if left unticked), so is at least somewhat responsive... however once submitted with all required and correct details, the page just reloads (all fields intact) but no new account is created. I should probably also mention that the "newsletter subscription" checkbox that I leave unchecked by default (Australian laws) is TICKED after the page reloads, even if left unticked prior to submitting the form.

New account registration at checkout works fine.

I made a few changes to backend mail settings earlier today which I've since removed, and I've removed a vqmod (mass email fix) that I'd added earlier today also. These are the only other settings I've changed (other than a few styling edits) in recent time.

I've done searches and a few people seem to have had the same issue in the past, though no solutions have been brought forward (that I can see anyway).

My site is http://www.cartamodello.com.au; I'm running 1.5.6 (as an update, not clean install). My template is built on the default template with styling and layout modifications made by me. I'm not that great with php so if anyone has any plain English advice that would be greatly appreciated.

Thanks for your time,
Laura

Newbie

Posts

Joined
Thu Nov 29, 2012 11:29 am

Post by florinsith » Sat Nov 23, 2013 6:21 pm

Try in the default template also and see if there works.
Also the file catalog/controller/account/register.php does have the following code:

Code: Select all

if (($this->request->server['REQUEST_METHOD'] == 'POST') && $this->validate()) {
			$this->model_account_customer->addCustomer($this->request->post);

			$this->customer->login($this->request->post['email'], $this->request->post['password']);
			
			unset($this->session->data['guest']);
			
			// Default Shipping Address
			if ($this->config->get('config_tax_customer') == 'shipping') {
				$this->session->data['shipping_country_id'] = $this->request->post['country_id'];
				$this->session->data['shipping_zone_id'] = $this->request->post['zone_id'];
				$this->session->data['shipping_postcode'] = $this->request->post['postcode'];				
			}
			
			// Default Payment Address
			if ($this->config->get('config_tax_customer') == 'payment') {
				$this->session->data['payment_country_id'] = $this->request->post['country_id'];
				$this->session->data['payment_zone_id'] = $this->request->post['zone_id'];			
			}
							  	  
	  		$this->redirect($this->url->link('account/success'));
    	} 
exactly like that or is somehow changed? or post the file.(or its vqcache corespondednt if there is.)

Image
My Extensions - SuperTheme - Opencart templates - Opencart modules


User avatar
Expert Member

Posts

Joined
Fri May 14, 2010 2:36 am


Post by Xexus » Sat Mar 05, 2016 3:08 am

I had the same problem, but the answer was different for me.

After entering registration details, the confirmation pages was coming up as a blank screen. Looking at the logs in the admin console, I saw that it was complaining about not getting a proper EHLO from my mail server. I corrected the mail server entry, and used Mail instead of SMTP. That fixed it. Seems that choking on the server name was enough to break the page.

Anyway, for newbies like me, I thought it worth sharing. :D

Newbie

Posts

Joined
Sat Mar 05, 2016 3:01 am

Post by skt » Fri Jul 07, 2017 9:16 pm

Dear All,
i clear my issue with following procedure.
issue1: Blank page coming on new user creation
issue2: Blank page coming on forgot password link
Solution: Go to System-settings- Mail
Select mail Protocol as "MAIL", don't select smtp. Then all issues will clear. I cleared in my website. Now working fine. Thank you.

skt
Newbie

Posts

Joined
Wed Jul 22, 2015 1:37 am
Who is online

Users browsing this forum: No registered users and 32 guests