Post by sjgarth » Wed Apr 17, 2024 4:37 am

PHP 8.1
Open Cart 4.0.2.3
Customer locked put due top too many login attempts. After 3 hours, no unlock.
I went to admin backend and customers account and clicked unlock but it failed with the following error:

Code: Select all

Exception: Notice: Undefined property: Proxy::deleteAuthorizeAttempts in /home/xxxx/xxxx/shop/control/controller/customer/customer.php on line 775 in /home/xxxx/xxxx/shop/system/engine/proxy.php on line 83
Any advice?
Last edited by sjgarth on Wed Apr 17, 2024 7:59 am, edited 1 time in total.

New member

Posts

Joined
Mon Mar 19, 2018 12:22 am

Post by JNeuhoff » Wed Apr 17, 2024 5:22 am

Yeah, don't use OC 4.0.2.1, too many bugs. Use 4.0.2.3.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member
Online

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by sjgarth » Wed Apr 17, 2024 7:59 am

I have now upgraded to 4.0 2.3 and have exactly the same problem.
Last edited by sjgarth on Wed Apr 17, 2024 4:08 pm, edited 1 time in total.

New member

Posts

Joined
Mon Mar 19, 2018 12:22 am

Post by straightlight » Wed Apr 17, 2024 9:30 am

The authorized attempts have been patched in OC v4.0.2.4 which has now become OC v4.1.0.0 release. However, this release is still under development.

However, the path filenames making the use of the authorize features can be found on those files from OC v4.1.0.0 release:

Code: Select all

admin/controller/customer/customer.php
admin/controller/user/user.php
admin/model/customer/customer.php
admin/model/user/user.php
catalog/model/account/customer.php

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by paulfeakins » Wed Apr 17, 2024 10:38 pm

JNeuhoff wrote:
Wed Apr 17, 2024 5:22 am
Yeah, don't use OC 4.0.2.1, too many bugs. Use 4.0.2.3.
Many devs are still saying use 3.0.3.9:
viewtopic.php?t=233342

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by sjgarth » Wed Apr 17, 2024 11:46 pm

straightlight wrote:
Wed Apr 17, 2024 9:30 am
The authorized attempts have been patched in OC v4.0.2.4 which has now become OC v4.1.0.0 release. However, this release is still under development.

However, the path filenames making the use of the authorize features can be found on those files from OC v4.1.0.0 release:

Code: Select all

admin/controller/customer/customer.php
admin/controller/user/user.php
admin/model/customer/customer.php
admin/model/user/user.php
catalog/model/account/customer.php
I am a simple person and do not fully understand what you are saying here.
Do I have to wait for the update release, or is there something I can do now to unlock my customer?

New member

Posts

Joined
Mon Mar 19, 2018 12:22 am

Post by straightlight » Thu Apr 18, 2024 1:03 am

sjgarth wrote:
Wed Apr 17, 2024 11:46 pm
straightlight wrote:
Wed Apr 17, 2024 9:30 am
The authorized attempts have been patched in OC v4.0.2.4 which has now become OC v4.1.0.0 release. However, this release is still under development.

However, the path filenames making the use of the authorize features can be found on those files from OC v4.1.0.0 release:

Code: Select all

admin/controller/customer/customer.php
admin/controller/user/user.php
admin/model/customer/customer.php
admin/model/user/user.php
catalog/model/account/customer.php
I am a simple person and do not fully understand what you are saying here.
Do I have to wait for the update release, or is there something I can do now to unlock my customer?
As simple as it gets, depending on the urgency, if you are unable to make those changes yourself and that you are in a hurry, you can always create a new service request in the Commercial Support section of the forum, download an extension or simply wait for the next update release and once it gets released.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by paulfeakins » Thu Apr 18, 2024 11:21 pm

sjgarth wrote:
Wed Apr 17, 2024 11:46 pm
I am a simple person and do not fully understand what you are saying here.
I think he's suggesting get those files from the latest release and overwrite the equivalent files on your site.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by sjgarth » Fri Apr 19, 2024 2:39 am

paulfeakins wrote:
Thu Apr 18, 2024 11:21 pm
I think he's suggesting get those files from the latest release and overwrite the equivalent files on your site.
Thanks for that more useful response. I will give that a go, I assume the new files are on github somewhere?

New member

Posts

Joined
Mon Mar 19, 2018 12:22 am

Post by IP_CAM » Fri Apr 19, 2024 3:59 am

RE:Thanks for that more useful response. I will give that a go, I assume the new files are on github somewhere?
---
I assume they meant to get the files from the latest DEV-Version, to be found as shown on the image below.
Right-Hand Mouse Click on the image VIEW, to make it show up in large format.
oc_download.png

oc_download.png (32.47 KiB) Viewed 2027 times

or click this link, to make it show up:
download/file.php?id=43685

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by siteadvice » Mon Aug 12, 2024 8:17 pm

straightlight wrote:
Wed Apr 17, 2024 9:30 am
The authorized attempts have been patched in OC v4.0.2.4 which has now become OC v4.1.0.0 release. However, this release is still under development.

However, the path filenames making the use of the authorize features can be found on those files from OC v4.1.0.0 release:

Code: Select all

admin/controller/customer/customer.php
admin/controller/user/user.php
admin/model/customer/customer.php
admin/model/user/user.php
catalog/model/account/customer.php

I don't see either v4.0.2.4 or v4.1.0.0 on Github. Can that version (or versions) be downloaded somewhere?

I have upgraded admin/model/customer/customer.php and admin/controller/customer/customer.php from v4.0.2.3 but it hasn't solved this problem.

In the meantime, I've been scratching my head trying to figure out where in the database the customer account is locked, but I can't figure that out. Presumably there's a field in one of the customer tables.

Can anyone point me to it so I can reset the customer account manually?

inframes.com Website Design with Opencart, Wordpress, Lucee and bespoke application design and development


User avatar
New member

Posts

Joined
Mon Oct 24, 2011 8:12 pm

Post by IP_CAM » Mon Aug 12, 2024 8:36 pm


My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by siteadvice » Wed Aug 21, 2024 9:04 pm

IP_CAM wrote:
Mon Aug 12, 2024 8:36 pm
define('VERSION', '4.1.0.0')
https://github.com/opencart/opencart/tree/master/upload
Many thanks @IP_CAM

I didn't get a notification that this thread had been updated, but I just downloaded those files and the Unlock Account function does now appear to work. It actually loaded a JSON file into the browser, so it wasn't without issue, but so far as I can see the locked account is no longer locked.

There's now a function resetAuthorizes in admin/model/customer/customer.php which updates the customer_authorize table for a given customer_id, setting the value for total back to zero.

That file, incidentally, is more than twice the length of the same file in v4.0.2.2, so I imagine there have been quite a few other significant changes and additions.

Thank you again for pointing me in the right direction.

inframes.com Website Design with Opencart, Wordpress, Lucee and bespoke application design and development


User avatar
New member

Posts

Joined
Mon Oct 24, 2011 8:12 pm

Post by paulfeakins » Thu Aug 22, 2024 5:47 pm

siteadvice wrote:
Wed Aug 21, 2024 9:04 pm
function does now appear to work
Great, so please add [SOLVED] to the start of this post title.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by siteadvice » Sat Oct 19, 2024 12:25 am

I have updated to 4.1.0.0 now but I still have customer management issues.
When loading the customer edit page in the dashboard (route=customer/customer.form) or on the store (route=account/edit) only the basic required data appears in the form (names, email, telephone, customer group, status) but any custom fields are not populated. The data is there in the custom_field column of the customer table. And if you re-input it manually into the form, it saves correctly. But the form does not populate.
I'm seeing no errors in the error_log or in the browser console.
Anyone know how this can be fixed?
Possibly it needs to be reported via the Opencart Github page.

inframes.com Website Design with Opencart, Wordpress, Lucee and bespoke application design and development


User avatar
New member

Posts

Joined
Mon Oct 24, 2011 8:12 pm

Post by JNeuhoff » Sat Oct 19, 2024 2:19 am

Report issues on github. OC 4.1.0.0 is still under development.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member
Online

Posts

Joined
Wed Dec 05, 2007 3:38 am

Who is online

Users browsing this forum: No registered users and 8 guests