Post by damienpdoyle » Wed Jul 13, 2016 7:10 pm

I'm getting the following message on a new install on OC 2.2.0:
Parse error: syntax error, unexpected '&&' (T_BOOLEAN_AND), expecting ')' in /home/security/public_html/ on line 1108
Here is what that line 1108 looks like:

Code: Select all

} elseif (($custom_field['type'] == 'text' && !empty($custom_field['validation'] && $custom_field['location'] == 'address')) && !filter_var($value['custom_field'][$custom_field['custom_field_id']], FILTER_VALIDATE_REGEXP, array('options' => array('regexp' => $custom_field['validation'])))) {
Please can some help me? Thanks in Advance
Last edited by straightlight on Fri Jul 29, 2016 10:01 pm, edited 1 time in total.
Reason: Added quote and code tags.



Fri Sep 25, 2015 6:31 am

Post by straightlight » Wed Jul 13, 2016 7:34 pm

You posted this error message under the v1.5x releases while the subject is about v2.0x releases.

However, this bug has been reported many times: ... 60#p625161

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

Straightlight Administrator / Quality Assurance Analyst / Programmer

Legendary Member


Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 5 guests