Aaaauuugh!![]()
Ok, so all I'm trying to do is change the text in the email which is delivered to a user after creating an account. I am copying: languages/english/create_account.php and overriding it with: languages/english/custom/create_account.php ... Brilliant!
However, everytime I change define ('EMAIL_TEXT') and then create a new account I get a shed load of errors such as:
Warning: session_regenerate_id(): Cannot send session cookie - headers already sent by (output started at /public_html/includes/languages/english/custom/create_account.php:105) in /public_html/includes/functions/sessions.php on line 154
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /public_html/includes/languages/english/custom/create_account.php:105) in /public_html/includes/functions/sessions.php on line 162
The account is successfully created and the email is delivered.. but why oh why do I receive these errors rather than the "Congratulations.. your account has been created" screen!!??
More weirdly... once I have edited my custom/create_account.php and then seen the above errors.. I can ctrl+Z the file back to its original state - reupload it and it still fires these errors back at me! If I put a new version of create_account.php into /custom/ it works fine!!!!????
Please help somebody.![]()



