Post by DaveRiba » Thu Dec 03, 2020 8:33 am

Has anyone else encountered this? Is this a known issue, a bug, or ?????

I deleted one Registered Customer (spambot registration) thru the Customer Maintenance portal.
When I looked EVERY customer who has not placed an order was GONE.
The only customers left were those who had placed orders.
Checked the SQL database and oc_customer only had records for the customers who placed orders previously.
No one else.
No errors, no messages - just DELETED.
Anyone have any insights? Is this operator error (I don't know how to delete a single customer)? a bug (don't delete customers thru Customer maintenance)? or something else entirely?

OC 3.0.3.6
viviluxusa.com

Thanks

Active Member

Posts

Joined
Wed Oct 07, 2020 11:41 pm

Post by sw!tch » Thu Dec 03, 2020 1:59 pm

What is the "Customer Maintenance portal" ?

Full Stack Web Developer :: Send a PM for Custom Work.
Backup and learn how to recover before you make any changes!


Active Member

Posts

Joined
Sat Apr 28, 2012 2:32 pm

Post by paulfeakins » Thu Dec 03, 2020 7:33 pm

DaveRiba wrote:
Thu Dec 03, 2020 8:33 am
I deleted one Registered Customer (spambot registration) thru the Customer Maintenance portal.
What exactly did you do?

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 DaveRiba » Thu Dec 03, 2020 10:20 pm

From OC Dashboard:
Customers
> Customers
Checkbox in front of Customer Name (no other customer selected, just one)
Red Delete Trashcan (upper right)
Leave submenu back to dashboard

Later, looking at Customers:
Every customer who had not placed an order was then deleted (including the one I requested to be deleted).

Active Member

Posts

Joined
Wed Oct 07, 2020 11:41 pm

Post by ADD Creative » Thu Dec 03, 2020 10:52 pm

If you look at the source code the delete customer will only delete the customer with the specified ID.
https://github.com/opencart/opencart/bl ... hp#L57-L66

The customer IDs are taken directly from the POST form.
https://github.com/opencart/opencart/bl ... #L135-L137

Do you have any modifications?

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by straightlight » Thu Dec 03, 2020 11:09 pm

Caused by an installed extension. Contact the extension developer to resolve this issue.

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 DaveRiba » Fri Dec 04, 2020 12:02 pm

Thanks. This is still fairly vanilla. I have no modifications and very few extensions.
Definitely no modification that could create that behavior.
The only major one in place is the Facebook Business Extension -- I doubt that would mess with things, would it?

Any suggestion as to which extension might be the culprit?

Dave

Active Member

Posts

Joined
Wed Oct 07, 2020 11:41 pm

Post by straightlight » Fri Dec 04, 2020 8:09 pm

DaveRiba wrote:
Fri Dec 04, 2020 12:02 pm
Thanks. This is still fairly vanilla. I have no modifications and very few extensions.
Definitely no modification that could create that behavior.
The only major one in place is the Facebook Business Extension -- I doubt that would mess with things, would it?

Any suggestion as to which extension might be the culprit?


Dave
If you're not sure which extension may cause the reported issue, contact each extension developers to investigate the problem. Alternatively, you could always create a new service request in the Commercial Support section of the forum, or contact an Opencart partner by using the Resources link at the top of the site, or contact me directly via PM to get this issue looked at as a custom job.

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 » Fri Dec 04, 2020 8:15 pm

DaveRiba wrote:
Fri Dec 04, 2020 12:02 pm
Any suggestion as to which extension might be the culprit?
Give us a full list of them.

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 DaveRiba » Sun Dec 06, 2020 4:37 am

Modification Name Author Version Status Date Added Action
Default timezone for PHP and Database Amit Dholiya v1.0 Enabled 10/15/2020
Facebook Business Extension Facebook 3.1.1 Enabled 11/25/2020
Total customer group discount v.2 Opencart 2.x Nikita Spivak 2.0 Enabled 12/02/2020 (AFTER the problem noted above)

Extensions:
Filename Date Added
Quick-Checkout-OC3.0.ocmod.zip 10/12/2020
defaulttimezone.ocmod.zip 10/15/2020
Opencart Espanol 3.0.ocmod.zip 10/31/2020
Deutsch-German-v.3.0.13-OC-3.x-from-OSWorX.net.ocmod.zip 10/31/2020
opencart-3-0-2-x-to-3-0-3-x-template-switcher-1-5-cloud.ocmod.zip 11/22/2020
facebookadextension.ocmod.zip 11/25/2020
nikitasp-total-customer-group-discount-v2-opencart-2.2.x.ocmod.zip 12/02/2020

That's it. Anything look suspect?

Dave

Active Member

Posts

Joined
Wed Oct 07, 2020 11:41 pm

Post by IP_CAM » Sun Dec 06, 2020 10:11 pm

Well, this one is sure not made for OC v.3.x :D
Total Customer Group Discount v.2
https://www.opencart.com/index.php?rout ... n_id=25468

My Github OC Site: https://github.com/IP-CAM
5'200 + 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 straightlight » Sun Dec 06, 2020 11:25 pm

IP_CAM wrote:
Sun Dec 06, 2020 10:11 pm
Well, this one is sure not made for OC v.3.x :D
Total Customer Group Discount v.2
https://www.opencart.com/index.php?rout ... n_id=25468

Attachments


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
Who is online

Users browsing this forum: pprmkr, Stinger23 and 16 guests