If this is your first visit, check our documentation. To post, register or login.

Posm

Started by dave224 on 27 Jul 2025, 6:27 PM · Views: 1,081

Results 1 to 10 of 10
27 Jul 2025, 6:27 PM
#1
dave224 avatar

dave224

Zen Follower

Join Date:
Jun 2012
Posts:
481
Plugin Contributions:
0

Post #1 by dave224

Does the SBA to POSM converter in zc 2.1.0 require a working version of SBA to convert to POSM, or just the SBA tables? Should problems with POSM in zc 2.1.0 be written up in the zen cart GitHub or somewhere else?

Thank you,

Dave

29 Jul 2025, 4:40 PM
#2
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,144
Plugin Contributions:
56

Post #2 by lat9

Dave224:

Does the SBA to POSM converter in zc 2.1.0 require a working version of SBA to convert to POSM, or just the SBA tables? Should problems with POSM in zc 2.1.0 be written up in the zen cart GitHub or somewhere else?

Thank you,

Dave
The converter just needs the SBA tables. POSM issues should be written up either here on the forums or via the Zen Cart GitHub.

4 Jun 2026, 9:34 AM
#3
georgecy avatar

georgecy

New Zenner

Join Date:
Jan 2015
Location:
Cyprus
Posts:
83
Plugin Contributions:
0

Post #3 by georgecy

The following error appears when the Options Stock - View All is selected. Development store is ZC 2.2.2 and PHP is 8.3.12

[04-Jun-2026 09:53:23 Europe/Athens] PHP Fatal error: Maximum execution time of 60 seconds exceeded in /zc_plugins/POSM/v6.1.1/admin/includes/classes/PosmViewAll.php on line 111

[04-Jun-2026 09:53:23 Europe/Athens] Request URI: /macadmin!/index.php?cmd=products_options_stock_view_all, IP address: 212.50.97.23
--> PHP Fatal error: Maximum execution time of 60 seconds exceeded in /zc_plugins/POSM/v6.1.1/admin/includes/classes/PosmViewAll.php on line 111.

ALSO the following appears constantly from the debug log
products_options_stock_observer: STOCK_CHECK: true, STOCK_ALLOW_CHECKOUT: true, STOCK_LIMITED: true

4 Jun 2026, 12:00 PM
#4
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,144
Plugin Contributions:
56

Post #4 by lat9

Georgecy:

The following error appears when the Options Stock - View All is selected. Development store is ZC 2.2.2 and PHP is 8.3.12

[04-Jun-2026 09:53:23 Europe/Athens] PHP Fatal error: Maximum execution time of 60 seconds exceeded in /zc_plugins/POSM/v6.1.1/admin/includes/classes/PosmViewAll.php on line 111

[04-Jun-2026 09:53:23 Europe/Athens] Request URI: /macadmin!/index.php?cmd=products_options_stock_view_all, IP address: 212.50.97.23
--> PHP Fatal error: Maximum execution time of 60 seconds exceeded in /zc_plugins/POSM/v6.1.1/admin/includes/classes/PosmViewAll.php on line 111.

ALSO the following appears constantly from the debug log
products_options_stock_observer: STOCK_CHECK: true, STOCK_ALLOW_CHECKOUT: true, STOCK_LIMITED: true
For the maximum execution time issue, how many entries are present in the products_options_stock and products_options_stock_attributes tables? You could try updating the admin's maximum execution time by changing the value in Configuration / My Store / Admin Set max_execution_time for processes to a value greater than 60.

For the 'debug log', you've apparently got Configuration / Options Stock Manager / Enable debug? set to 'true'.

... also, for the Fatal error, what's the value set for Configuration / Options Stock Manager / View All: Maximum Products/Page?

4 Jun 2026, 1:06 PM
#5
georgecy avatar

georgecy

New Zenner

Join Date:
Jan 2015
Location:
Cyprus
Posts:
83
Plugin Contributions:
0

Post #5 by georgecy

lat9:

For the maximum execution time issue, how many entries are present in the products_options_stock and products_options_stock_attributes tables? You could try updating the admin's maximum execution time by changing the value in Configuration / My Store / Admin Set max_execution_time for processes to a value greater than 60.

For the 'debug log', you've apparently got Configuration / Options Stock Manager / Enable debug? set to 'true'.

... also, for the Fatal error, what's the value set for Configuration / Options Stock Manager / View All: Maximum Products/Page?

Hi Cindy,
The Maximum Products/Page is 20. I only added 2 products in the POSM with around 300 combinations total. Even when I deleted the product combinations the selection to view is crashing. I tried to reset the plugin by uninstalling and installing again without success. I have transfer a database from 1.5.7 installation and I had to manually create the SKU and the initval.

4 Jun 2026, 1:36 PM
#6
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,144
Plugin Contributions:
56

Post #6 by lat9

Try reducing the products/page to 5; if that doesn't work, also update the max-execution-time to 120. That's a lot of combinations for 2 products!

4 Jun 2026, 2:07 PM
#7
georgecy avatar

georgecy

New Zenner

Join Date:
Jan 2015
Location:
Cyprus
Posts:
83
Plugin Contributions:
0

Post #7 by georgecy

lat9:

Try reducing the products/page to 5; if that doesn't work, also update the max-execution-time to 120. That's a lot of combinations for 2 products!

I reduced to 5 and put the time to 240 and also deleted all existing combinations. The problem still remains.

How can I totally uninstall the plugin and remove the database entries also. So I can reinstall it clean.

What is the recommended max number of combinations per product? Can I have attributes not included in the POSM? I have up to 6 attribute combinations. Can I leave for example the Keyboard language to be selected outside the POSM?

I am not interested for counting the stock as this specific product combinations are used for factory orders.

We do not even use part numbers for this combinations.

5 Jun 2026, 11:03 AM
#8
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,144
Plugin Contributions:
56

Post #8 by lat9

To totally uninstall the plugin, first uninstall it via the admin's Modules :: Plugin Manager. Then enter and run these SQL commands in the admin's Tools :: Install SQL Patches:

DROP TABLE IF EXISTS products_options_stock;
DROP TABLE IF EXISTS products_options_stock_attributes;
DROP TABLE IF EXISTS products_options_stock_names;
25 Jun 2026, 12:09 PM
#9
georgecy avatar

georgecy

New Zenner

Join Date:
Jan 2015
Location:
Cyprus
Posts:
83
Plugin Contributions:
0

Post #9 by georgecy

Georgecy:

I reduced to 5 and put the time to 240 and also deleted all existing combinations. The problem still remains.

How can I totally uninstall the plugin and remove the database entries also. So I can reinstall it clean.

What is the recommended max number of combinations per product? Can I have attributes not included in the POSM? I have up to 6 attribute combinations. Can I leave for example the Keyboard language to be selected outside the POSM?

I am not interested for counting the stock as this specific product combinations are used for factory orders.

We do not even use part numbers for this combinations.

I increased the PHP max execution time in PHP.ini to 60 seconds from 30 and the problem went away. Thanks for the support

26 Jun 2026, 5:36 PM
#10
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,144
Plugin Contributions:
56

Post #10 by lat9

Georgecy:

I increased the PHP max execution time in PHP.ini to 60 seconds from 30 and the problem went away. Thanks for the support
No problem. 30 seconds, given the number of variants (i.e. option combinations) you're dealing with was pretty low!