Jump to content

Problems with Product Options and MYSQL


Guest afan06

Recommended Posts

Hey I was adding new product options and now I keep getting this error. Can one of you smart people help me? Can you only have so many product options? Thanks so much!

Warning: mysql_query() [function.mysql-query]: Unable to save result set in /public_html/store/classes/db.inc.php on line 107

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /public_html/store/classes/db.inc.php on line 108

Product Options

MySQL Error Occured

2013: Lost connection to MySQL server during query

QUERY = SELECT DISTINCT product, name FROM CubeCart_options_bot INNER JOIN CubeCart_inventory ON product = productId ORDER BY name ASC

Link to comment
Share on other sites

  • 2 months later...

Hi,

I got the same error today, contacted my web hosting providers but they could not come up with an immediate solution. How did you finally solve this problem?

Thanks.

Hi,

I finally solved the problem by deleting the last product to which options were assigned. The total pages of options went down to 710 and this solved the problem. Does anybody know whether there is a way to add more options without the options page crashing?

Thanks.

Link to comment
Share on other sites

If the error is as above "2013: Lost connection to MySQL server during query", it may bge the case where your database host has limited the number of concurrent connections. Ask them about this.

But a difference of a calculated number of 710 pages of options vs anything higher sounds like a timeout issue.

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...