Jump to content

where to limit number of products to show on sales items?


chongshengdz

Recommended Posts

[fcgid:warn] mod_fcgid: read data timeout in 40 seconds, referer: /sale-items.html

[core:error]End of script output before headers: index.php, referer: /sale-items.html

error log has the above 2 lines.

i have over 66000 products and change InnoDB to MyISAM storage.

 

Edited by chongshengdz
Link to comment
Share on other sites

We can agree that CubeCart can be better with some optimizations.

These posts suggests the problem is more related to using a low powered environment to run a high-capacity application:
https://www.howtoforge.com/community/threads/mod_fcgid-read-data-timeout-in-40-seconds.44427/
https://serverfault.com/questions/382261/mod-fcgid-read-data-timeout-errors

 

Link to comment
Share on other sites

If set to zero, then CubeCart should not show a link in the navigation menu bar for Sale Items, nor a box for "On Sale". CubeCart would not execute the routine to query the database for records where the calculation in the query selects where 'sale_price' is less than 'price'.

We may need to explore further where the problem is at.

The error messages you posted above do not look like the typical error messages generated by PHP.

Please verify you are posting the contents of a file named 'error_log' located in CubeCart's main folder. CubeCart's main folder is where "ini-custom.inc.php" will write this file.

Edited by bsmither
Link to comment
Share on other sites

where does it located?

i am using webmin/virtualmin panel.

CentOS Linux 7.4.1708

/var/log/virtualmin/domain.com_error_log

 

[fcgid:warn] mod_fcgid: read data timeout in 40 seconds, referer: /sale-items.html

[core:error]End of script output before headers: index.php, referer: /sale-items.html

Edited by chongshengdz
Link to comment
Share on other sites

In CubeCart's main folder. When you FTP to your site, you probably are in /public_html/.

Find CubeCart's index.php. A few of the folders in CubeCart's main folder are: /cache/, /classes/, /controllers/, and more - and ini-custom.inc.php if you followed the link provided earlier.

Along with index.php and these folders (and more), there should be PHP's error_log.

Edited by bsmither
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...