Post by jty » Tue Nov 04, 2008 6:33 pm

I'm getting the following error when trying to access Customers in Admin on 0.7.9 SVN Current
Parse error: syntax error, unexpected ',' in ..... \admin\controller\customer.php on line 400

jty
Active Member

Posts

Joined
Sat Aug 30, 2008 8:19 am

Post by jamble » Tue Nov 04, 2008 7:55 pm

I managed to fix this on my shop by replacing the code on line 400

Find:

Code: Select all

if ((!$validate->strlen($request->get('email', 'post')), 1, 32) || (!$validate->email($request->get('email', 'post')))) {
Replace that with:

Code: Select all

if ((!$validate->strlen($request->get('email', 'post'), 1, 32)) || (!$validate->email($request->get('email', 'post')))) {
Hope that helps.

Newbie

Posts

Joined
Thu May 08, 2008 11:08 pm

Post by jty » Tue Nov 04, 2008 8:07 pm

ah, I see. It's the same problem as the account_create one
Thank-you jamble

jty
Active Member

Posts

Joined
Sat Aug 30, 2008 8:19 am

Post by hm2k » Tue Nov 04, 2008 10:09 pm

Fixed in r191, there are 3 files in total.

UK Web Hosting


User avatar
Global Moderator

Posts

Joined
Tue Mar 11, 2008 9:06 am
Location - UK
Who is online

Users browsing this forum: No registered users and 1 guest