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

Product Attributes Class problem

This is a discussion on Product Attributes Class problem within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; Hi All, I have oscMax RC2 loaded with the latest patch. Most things seem to be working fine, but I ...

      
  1. #1
    osCMax Testing Team
    Join Date
    May 2006
    Posts
    83
    Rep Power
    12


    Default Product Attributes Class problem

    Hi All,

    I have oscMax RC2 loaded with the latest patch. Most things seem to be working fine, but I am having a problem with the product attributes. Whenever I activate a product attribute for an item, it returns the following error on the main shop product page:

    Fatal error: Cannot instantiate non-existent class: pad_multiple_dropdowns_otf in /insert directory here/catalog/templates/fallback/content/product_info.tpl.php on line 116

    I checked to make sure that the classes were uploaded correctly and evertything seemed to be there. It seems to be within the new QT code, but I'm not familiar enough with it to know what its doing. Any Ideas?

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default RE: Product Attributes Class problem

    In your admin, change the QT pro setup to use pad_multiple_dropdowns not pad_multiple_dropdowns_otf.

    Configuration Product Information

    Edit 'Product Attribute Display Plugin'

    Select 'Multiple Dropdowns'
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    osCMax Testing Team
    Join Date
    May 2006
    Posts
    83
    Rep Power
    12


    Default

    Unfortunately it does the exact same thing for any selection that I make. Whether it's base or radio, etc, which is why I wasn't sure what was going on. Is there a permissions thing that needs to happen with those classes?

  4. #4
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default

    Do you have the page cache on? If you do, you need to clear it out, as the cart will only grab the cached page and no changes will be reflected...
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  5. #5
    osCMax Testing Team
    Join Date
    May 2006
    Posts
    83
    Rep Power
    12


    Default

    I don't have page caching turned on, but here might be another clue:

    When the value is set to base, multiple_dropdowns, multiple_dropdowns_otf or sequenced_dropdown I get the error listed here:

    Fatal error: Cannot instantiate non-existent class: pad_multiple_dropdowns_otf in /insert directory here/catalog/templates/fallback/content/product_info.tpl.php on line 116
    If I set it to single_dropdown or single_radioset, I get this error

    Fatal error: Class pad_single_dropdown: Cannot inherit from undefined class pad_base in /insert directory here/catalog/includes/classes/pad_single_dropdown.php on line 52

  6. #6
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default

    Your problem is a bad path:

    /insert directory here/

    That surely is not a valid path! You need to edit your /includes/configure.php file and remove that portion and replace it with the correct server path...
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  7. #7
    osCMax Testing Team
    Join Date
    May 2006
    Posts
    83
    Rep Power
    12


    Default

    Um, that's not the actual path error that I get back. The path is correct.

    I put that "insert path here" in there to keep the hackers at bay at least a little bit when posting to a forum....didn't want them to have to much information about the directory structure. The path is fine...I have just had some bad experiences here lately with the script kiddies.



    (Just a little background: I have been working with OSC and Nuke for many years now and have installed numerous mods, modules, and my own custom hacks. I'm not a hard core programmer, but I know my way around the scripts a bit. Sometimes I get a little dense though and need a nudge (or slap) in the right direction. )

Similar Threads

  1. Product Attributes problem
    By joanstead in forum osCMax v2 Features Discussion
    Replies: 2
    Last Post: 02-13-2006, 08:21 PM
  2. Product Options / Product Attributes.. pulldown sorting.?
    By Preston in forum osCommerce 2.2 Discussion
    Replies: 5
    Last Post: 11-24-2005, 06:53 PM
  3. Specific Product Image based on chosen product attributes?
    By chrisrex in forum osCmax v2 Customization/Mods
    Replies: 0
    Last Post: 11-22-2005, 08:41 AM
  4. Product Attributes
    By kama_k in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 10-20-2004, 06:49 AM
  5. Product attributes problem
    By yan in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 03-04-2004, 08:42 AM

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
  •