Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2010
    Posts
    3
    Plugin Contributions
    0

    Default Product Type - Fatal error: Call to undefined function

    Dear people,

    apologies for not knowing what I'm doing. Hopefully I'mposting in the correct area, I'm sure I'll be told to move if I've messed up.

    A friend who runs his own small business has asked me for some help with his website issues and this ZC error is a long time problem for him.

    When logged in as admin and selecting pull down menues:
    Admin / Catalog / Product Type

    This error line is displayed along the top (just below the meu buttons)
    Code:
    Fatal error: Call to undefined function:SHOPNAME_zen_cfg_select_drop_down() in /home/httpd/vhosts/SHOPNAME.com/httpdocs/store13/admin/product_types.php(248) : eval()'d code on line 1
    and the line (248) in that file (product_types.php) that it seems to be referring to is:
    Code:
    eval('$value_field = ' . $cInfo->set_function . '"' . htmlspecialchars($cInfo->configuration_value) . '");');
    Hopefully someone has an idea, and of course feel free to ask me for some info I've neglected to include.

    I've no idea about ZenCart's inner workings, nor am I sure what number of plugins the owner has already installed on this setup is.

    Regards

    D


    Linux Server 2.6.18-028stab068.9 #1 SMP Tue Mar 30 17:22:31 MSD 2010 i686

    sorry, not sure what flavour of Linux.

    Zen Cart 1.3.8a
    Database Patch Level: 1.3.8
    v1.3.8 [2009-08-03 12:39:07] (Version Update 1.3.7->1.3.8)
    v1.3.8 [2009-07-17 16:24:29] (Version Update 1.3.7->1.3.8)
    v1.3.7 [2007-07-20 14:55:21] (Version Update 1.3.6->1.3.7)
    v1.3.6 [2007-07-20 14:55:21] (Version Update 1.3.5->1.3.6)
    v1.3.5 [2006-10-03 13:59:40] (Version Update 1.3.0.2->1.3.5)
    v1.3.0.2 [2006-10-03 13:59:40] (Version Update 1.3.0.1->1.3.0.2)
    v1.3.0.1 [2006-10-03 13:59:40] (Version Update 1.3.0->1.3.0.1)
    v1.3.0 [2006-10-03 13:59:40] (Version Update 1.2.7->1.3.0)
    v1.2.7 [2006-10-03 13:59:39] (Version Update 1.2.6->1.2.7)
    v1.2.6 [2005-11-15 12:30:29] (Fresh Installation)

  2. #2
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Product Type - Fatal error: Call to undefined function

    The pulldown boxes in the right-hand sidebar of the admin area are built from a function named zen_cfg_select_drop_down().
    NOWHERE does Zen Cart call the function by SHOPNAME_zen_cfg_select_drop_down()

    So, that suggests that whoever set up the site or wrote addons or customizations for it has made an error in one or more of the set_function fields of the product_types_layout table, which is where the calls to such a function are stored as it relates to product types.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Fatal error: Call to undefined function:
    By Spdster in forum Built-in Shipping and Payment Modules
    Replies: 7
    Last Post: 10 May 2008, 05:17 AM
  2. Fatal error: Call to undefined function
    By Brenda in forum General Questions
    Replies: 1
    Last Post: 9 Oct 2006, 08:44 PM

Posting Permissions

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