If this is your first visit, check our documentation. To post, register or login.
Forums / Setting Up Categories, Products, Attributes / resetting categories master id

resetting categories master id

Started by travbacon on 11 Oct 2023, 9:26 PM · Views: 1,133

Results 1 to 4 of 4
11 Oct 2023, 9:26 PM
#1
travbacon avatar

travbacon

Zen Follower

Join Date:
Mar 2015
Posts:
169
Plugin Contributions:
0

resetting categories master id

i have 32000 products. when i run this, after a couple minutes it times out to a blank screen error. i know one of the devs scripted something where it would do it in increments so it would not time out but it is for version 1.39.

will the version 1.39 work on 1.57.c

thanks.

11 Oct 2023, 11:36 PM
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: resetting categories master id

travbacon:

i have 32000 products. when i run this, after a couple minutes it times out to a blank screen error. i know one of the devs scripted something where it would do it in increments so it would not time out but it is for version 1.39.

will the version 1.39 work on 1.57.c

thanks.

Ideal way to get a proper assessment is to link to the proposed method/query.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

17 Oct 2023, 3:11 AM
#4
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: resetting categories master id

travbacon:

i have 32000 products. when i run this, after a couple minutes it times out to a blank screen error. i know one of the devs scripted something where it would do it in increments so it would not time out but it is for version 1.39.

will the version 1.39 work on 1.57.c

thanks.

travbacon:

I agree, duh.

https://www.zen-cart.com/showthread.php?188207-Categories-and-Products-on-Same-Level&p=1080089#post1080089

Didn't see anything specific that appeared to be problematic with that code. Generally speaking it should work well even under newer versions of zencart as well as php. Site might get a notice or something, but there was little that led like a problem.

The concept behind the software is to start somewhere known, process a given number of records so that can start at the next iteration to again process a particular number of records. It's a reasonable approach.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...