osCmax v2.5 User Manual
Results 1 to 2 of 2

Products error

This is a discussion on Products error within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; Hi there, OSCMAX V2.0 RC3 Some products in the categories sometimes disappear and leave a warning like this: Warning: mysql_fetch_assoc(): ...

      
  1. #1
    Lurker
    Join Date
    Nov 2009
    Posts
    3
    Rep Power
    0


    Default Products error

    Hi there,

    OSCMAX V2.0 RC3

    Some products in the categories sometimes disappear and leave a warning like this:

    Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/123/public_html/catalog/templates/123123/content/index_nested.tpl.php on line 176

    And Line 176 is $parentcat=mysql_fetch_assoc($query);

    If I delete the product, the error will gone. However the error will appear later if the same product added in the list.

    Any solution? Thanks a lot.

    Street

  2. #2
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Default Re: Products error

    Firstly, v2.0 RC3 is quite old - just want to check that you have patched your store with the security releases?

    With no way to look at the error - it sounds like something specific to the product - are you entering any illegal SQL characters in the name or descriptions eg. ' " / \ etc.

    I would stongly recommend that you consider upgrading your store to v2.5 once the stable release is out.
    pgmarshall
    _______________________________

Similar Threads

  1. Please Help! Fatal error when viewing products
    By SarahR in forum osCommerce 2.2 Modification Help
    Replies: 6
    Last Post: 07-23-2009, 10:12 AM
  2. Replies: 10
    Last Post: 03-28-2009, 12:23 PM
  3. 1052 error - new products & sppc
    By caw in forum osCmax v2 Installation issues
    Replies: 0
    Last Post: 08-14-2007, 09:37 PM
  4. Featured Products installation error - HELP please
    By fuzzyphil in forum osCmax v2 Customization/Mods
    Replies: 12
    Last Post: 11-24-2006, 08:58 PM
  5. Getting 404 error when trying to view products
    By bethphilbin in forum osCommerce 2.2 Installation Help
    Replies: 8
    Last Post: 01-19-2005, 07:01 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •