Page 1 of 1
Can't access CUSTOMERS in Admin Panel OC 2.2
Posted: Wed Apr 27, 2016 2:23 pm
by lukehackettpt
Hey guys
When I am logged into the admin panel in opencart, I want to view the customers page, but when I select it it just goes white? no error messages or anything?
Can you please help? It's opencart 2.2
Thanks
Luke
Re: Can't access CUSTOMERS in Admin Panel OC 2.2
Posted: Sat Jun 18, 2016 7:50 pm
by zelic
Hello guys (:
as the post above i have the same issue... please help us .. it's urgent at least for me.
Thank you in advance.
Regards, Zelic
Re: Can't access CUSTOMERS in Admin Panel OC 2.2
Posted: Sun Jun 19, 2016 6:26 pm
by i2Paq
Chekc the OpenCart 2.2 BUG topic, the fix is in there.
Re: Can't access CUSTOMERS in Admin Panel OC 2.2
Posted: Mon Jun 20, 2016 1:34 am
by ojars26
This should fix!
Re: Can't access CUSTOMERS in Admin Panel OC 2.2
Posted: Mon Jun 20, 2016 5:44 pm
by i2Paq
ojars26 wrote:This should fix!
Why use a ocmod if you only have to edit 2 files?
Re: Can't access CUSTOMERS in Admin Panel OC 2.2
Posted: Mon Jun 20, 2016 8:00 pm
by straightlight
i2Paq wrote:ojars26 wrote:This should fix!
Why use a ocmod if you only have to edit 2 files?
A matter of preferences, I presume. Opencart does provide the extension as part of the core regardless how many files that needs to be edited.
Re: Can't access CUSTOMERS in Admin Panel OC 2.2
Posted: Mon Jun 20, 2016 11:15 pm
by erhard
Hi, I'm new to this forum so please forgive me if my issue is in the wrong board.
When I try to access Customers from the Admin Dashboard, I get this error message:
Parse error: syntax error, unexpected '&&' (T_BOOLEAN_AND), expecting ')' in /xxxx/xxxx/public_html/shop/admin/controller/customer/customer.php on line 1105
Open Cart version is 2.2.0.0
Is it anything I could mend myself?
Thanks,
Erhard
Re: Can't access CUSTOMERS in Admin Panel OC 2.2
Posted: Thu Jun 23, 2016 4:13 am
by phil-smiler
i2Paq wrote:ojars26 wrote:This should fix!
Why use a ocmod if you only have to edit 2 files?
This worked for me and was easy to do
Re: Can't access CUSTOMERS in Admin Panel OC 2.2
Posted: Thu Jun 23, 2016 4:16 am
by phil-smiler
ojars26 wrote:This should fix!
sorry this worked for me and as its only 1 file was easy to add
Re: Can't access CUSTOMERS in Admin Panel OC 2.2
Posted: Fri Jul 15, 2016 11:31 pm
by bestshop24h
the solution is here
https://github.com/opencart/opencart/issues/4030
change \admin\controller\customer\customer.php line 1105
from
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'])))) {
to
Code: Select all
@waqasjawed @Sufisa @opencarteli
@nikto1
nikto1 commented on 3 Mar
Opencart 2.2.0.0. See title.
Solution:
Re: Can't access CUSTOMERS in Admin Panel OC 2.2
Posted: Fri Jul 15, 2016 11:33 pm
by straightlight
bestshop24h wrote:the solution is here
https://github.com/opencart/opencart/issues/4030
change \admin\controller\customer\customer.php line 1105
from
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'])))) {
to
Code: Select all
@waqasjawed @Sufisa @opencarteli
@nikto1
nikto1 commented on 3 Mar
Opencart 2.2.0.0. See title.
Solution:
I am not sure how this replacement code really fixes the problem here ...
Re: Can't access CUSTOMERS in Admin Panel OC 2.2
Posted: Sat Jul 16, 2016 6:24 am
by vixynn
Ive done these fixes multiple times and it still doesnt work.