System hangs when attemting to update product

CS-Cartv4.17.1
Intermittent. I attempt to save at a product file ( in my case changing stock level or attempting to delete a product ) the system hangs and I can’t leave the page.
The store also fails to load.
I go back at a later point and all is well.
Products (update)
21/11/2023, 11:59 AM
Taking Shape loose tunic dress with pocket, sz. 18, black & grey, exc. cnd. (#2812)
Requests (http/https request)
21/11/2023, 11:56 AM
Taking Shape loose tunic dress with pocket, sz. 18, black & grey, exc. cnd. (#2812)
Requests (http/https request)
21/11/2023, 11:56 AM
Taking Shape loose tunic dress with pocket, sz. 18, black & grey, exc. cnd. (#2812)
Requests (http/https request)
21/11/2023, 11:56 AM
Taking Shape loose tunic dress with pocket, sz. 18, black & grey, exc. cnd. (#2812)
Requests (http/https request)
21/11/2023, 11:56 AM
Taking Shape loose tunic dress with pocket, sz. 18, black & grey, exc. cnd. (#2812)
Requests (http/https request)
21/11/2023, 11:56 AM
Taking Shape loose tunic dress with pocket, sz. 18, black & grey, exc. cnd. (#2812)

And again just now. System didn’t hang but took some time…
Products (delete)
21/11/2023, 04:51 PM
Karen Millen superb strapless silk dress, sz. 10 “NIGHT SHIFT” (#2422)
Products (update)
21/11/2023, 04:48 PM
Karen Millen superb strapless silk dress, sz. 10 “NIGHT SHIFT” (#2422)
Requests (http/https request)
21/11/2023, 04:46 PM
Karen Millen superb strapless silk dress, sz. 10 “NIGHT SHIFT” (#2422)
Requests (http/https request)
21/11/2023, 04:46 PM
Karen Millen superb strapless silk dress, sz. 10 “NIGHT SHIFT” (#2422)
Requests (http/https request)
21/11/2023, 04:46 PM
Karen Millen superb strapless silk dress, sz. 10 “NIGHT SHIFT” (#2422)
Requests (http/https request)
21/11/2023, 04:45 PM
Karen Millen superb strapless silk dress, sz. 10 “NIGHT SHIFT” (#2422)
Requests (http/https request)
21/11/2023, 04:45 PM
Karen Millen superb strapless silk dress, sz. 10 “NIGHT SHIFT” (#2422)
Requests (http/https request)
21/11/2023, 04:45 PM
Karen Millen superb strapless silk dress, sz. 10 “NIGHT SHIFT” (#2422)
Products (delete)

The worst part is that the whole system hangs. I close the page and the site ( front or admin ) simply won’t load.
Sometimes… Request Timeout

This request takes too long to process, it is timed out by the server. If it should not be timed out, please contact administrator of this web site to increase ‘Connection Timeout’. ( don’t ask as the settings are CORRECT ).

Hello.

Contact your server administrator to check the server’s error logs.

If this doesn’t help, contact us via the Help Desk.

local_conf.php was set as below
$config[‘tweaks’][‘disable_block_cache’] = false;
changed to ‘true’ and the cart now appears to be behaving itself.
Server administrator ( and CS-Cart Help ) have done all they could in the past.
Can you advise if the cache setting ( false ) may have been responsible ?

I’m sorry, but I don’t see a direct connection between this tweak and the problem described. The root of the problem is definitely somewhere else.

Although I get no more ‘hangs’ or error messages a weird thing is happening.
When I edit one product’s stock number on a page displaying 10 products, all 10 products are displaying in the logs as being ‘updated’.

I am afraid, but it has worked that way since the beginning.

I didn’t realise you were looking over my shoulder for all the months I have been experiencing a site I couldn’t promote because it was so poisonously slow or simply wouldn’t load.
The months where CS-Cart support and my host applied all the tweeks possible.
Now ‘magically’ it appears to function almost normally after I changed the cache setting.

1 Like

This advice is in FastComet documentation…
When I implemented the following advice, my site began to behave itself
( apart from the repetitive instances I pasted at the start of this thread ).

Rebuild cache automatically should be enabled in your Administration Panel (Top Menu) → Design → Themes. It is the setting that allows you to enable automatic cache clearing. When making changes to your site, that option is critical. However, it may have an impact on the loading speed of your pages. If you are not developing your website, turning this setting off is best.
If you have access to the store’s root directory, you should also check if the local_conf.php file has the following line:
$config[‘tweaks’][‘disable_block_cache’] = true;
CS-Cart caches blocks to reduce page loading time. Because of this, we suggest you leave it as it is above. If it is set to false, simply change it back to true.