Page 1 of 1
Error message after creating new account.
Posted: Wed Feb 24, 2010 5:11 am
by slinkie172
Hi Folks,
When I register a new account on my site and press the continue after ticking the "I have read the Privacy policy info" I get the following error message.
Notice: Undefined index: newsletter in /home/totalip1/public_html/catalog/model/account/customer.php on line 4Warning: Cannot modify header information - headers already sent by (output started at /home/totalip1/public_html/index.php:67) in /home/totalip1/public_html/system/engine/controller.php on line 22
What can I do to rectify this, is it something to do with the login/logout buttons in the header?
Re: Error message after creating new account.
Posted: Wed Feb 24, 2010 6:56 am
by i2Paq
Dfeault English language?
Re: Error message after creating new account.
Posted: Wed Feb 24, 2010 3:24 pm
by slinkie172
The default language is set to English. ( I have removed all the other languages from my site)
Re: Error message after creating new account.
Posted: Wed Feb 24, 2010 7:27 pm
by i2Paq
Default template?
Re: Error message after creating new account.
Posted: Thu Feb 25, 2010 3:25 am
by slinkie172
I am using a modified template. It is the default but I have made some changes just to move the items around.
In the top right of my site it is as follows,
Log In - Account - Basket - Checkout.
Re: Error message after creating new account.
Posted: Thu Feb 25, 2010 5:38 am
by i2Paq
Whate happens when using an un-modified default template?
Re: Error message after creating new account.
Posted: Fri Feb 26, 2010 8:28 pm
by jontorbs
I am having the same problem here, I have tried both the default template and also my modified (no real php changes just to displaying of prices in the basket) and get the same error message?
Any thoughts?
ps is my first OC and PHP site!
Re: Error message after creating new account.
Posted: Fri Feb 26, 2010 8:37 pm
by i2Paq
I suggest you check your e-mail settings in the BO.
What kind do you use, smtp?
Second:
pstreet wrote:
2010-02-13 18:32:26 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/bathroom/public_html/index.php:67) in /home/bathroom/public_html/index.php on line 149
2. This error is generated because some output has already been sent to the browser, basically there's a call to the 'header()' php function after some data has been sent. This can be caused if you have spaces or other characters after a closing PHP tag '?>' that shouldn't be there. Because output buffering is off in OpenCart by default (as it should be), headers and data are sent immediately when content falls outside the PHP tags.
So check your php-files releated to the create account route.