• I’m running a WP with WP e-commerce and want to have multiple images for a product. (Not interested in the Gold Cart due to reading so much feedback from people with negative experiences with setting it up.)

    Now trying to use this script to have all the images for a product shown but get this error message:

    Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/mouwerik/public_html/2012/wp-content/themes/Macolinis2/wpsc-products_page.php on line 98

    What does it mean?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator bcworkz

    (@bcworkz)

    My guess is mysql_query() is returning FALSE due to some query error.

    Thread Starter marcelvanm

    (@marcelvanm)

    OK, thanks but that’s not going to get me going. I checked everything but am not sure what to check for the resource/boolean thing.

    Moderator bcworkz

    (@bcworkz)

    Insert print_r($result); at line 4. You want to get an array (resource) printed. If you just get false (boolean), then there is a problem with the query syntax. Check the returned value of wpsc_the_product_id(), it’s format may be the problem. If that’s not it, I’m stumped. Sorry.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Using a script for multiple images but run into error’ is closed to new replies.