I'm getting the following error when trying to create a new account as a new user
using the account_create from the SVN version of 0.7.9.current
Parse error: syntax error, unexpected ',' in ........ catalog\controller\account_create.php on line 164
using the account_create from the SVN version of 0.7.9.current
Parse error: syntax error, unexpected ',' in ........ catalog\controller\account_create.php on line 164
There is indeed a syntax error.
Try this for line 164:
Try this for line 164:
Code: Select all
if ((!$validate->strlen($request->get('email', 'post'), 1, 32) || (!$validate->email($request->get('email', 'post')))) {
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
That doesn't appear to be correct either, you are still missing a parenthesis after 32 to close the strlen callJNeuhoff wrote: There is indeed a syntax error.
Try this for line 164:
Code: Select all
if ((!$validate->strlen($request->get('email', 'post'), 1, 32) || (!$validate->email($request->get('email', 'post')))) {
Try this:
Code: Select all
if ((!$validate->strlen($request->get('email', 'post'), 1, 32)) || (!$validate->email($request->get('email', 'post')))) {
Who is online
Users browsing this forum: No registered users and 1 guest