Page 1 of 1

Not able to access "Total Customer" section in Dashboard

Posted: Thu May 12, 2016 4:23 pm
by pravin_29
I have upgraded to opercart ver 2.

In the admin dashboard, when trying to enter "Total Customer" section, I am getting error as below:

Parse error: syntax error, unexpected '&&' (T_BOOLEAN_AND), expecting ')' in /home/pragytmd/public_html/admin/controller/customer/customer.php on line 1105

I opened customer.php, line 1105 says

} elseif (($custom_field['type'] == 'text' && !empty($custom_field['validation'] && $custom_field['location']

Please help to correct the above issue.

Re: Not able to access "Total Customer" section in Dashboard

Posted: Mon May 30, 2016 1:13 am
by samoyan
I also have the same error... :-[ as of May 29, 2016, OpenCart version: 2.2.0.0
Parse error: syntax error, unexpected '&&' (T_BOOLEAN_AND), expecting ')' in /home/seafoode/public_html/system/storage/modification/admin/controller/customer/customer.php on line 1105

Re: Not able to access "Total Customer" section in Dashboard

Posted: Mon Jun 06, 2016 2:56 am
by milky
Hi,

I have a similar problem, after I refresh after a module installation, if I click on Customer I get the error below. I upload a backup of the customer file and the problem is gone.

Parse error: syntax error, unexpected T_BOOLEAN_AND, expecting ')' in /home/www/inno-in.com/NewStore/system/storage/modification/admin/controller/customer/customer.php on line 1108

Any solutions besides uploading a back up every time?

Thanks

Re: Not able to access "Total Customer" section in Dashboard

Posted: Wed Feb 08, 2017 8:54 pm
by mohittyagi82
Hi,
You just download opencart 2.3.0.2 and replace this code at error line with code taken from opencart 2.3.0.2.
I also got this error but now has been resolved.