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

Call to undefined function: count_contents_virtual()

This is a discussion on Call to undefined function: count_contents_virtual() within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; hi, can anybody tell me where to start looking for the fix for the followinf problem. i get this right ...

      
  1. #1
    MG
    MG is offline
    New Member
    Join Date
    Aug 2003
    Posts
    9
    Rep Power
    0


    Default Call to undefined function: count_contents_virtual()

    hi,

    can anybody tell me where to start looking for the fix for the followinf problem. i get this right after selecting the shipping option.

    Fatal error: Call to undefined function: count_contents_virtual() in /home/cdx/public_html/shop/checkout_payment.php on line 76

    it worked fine a week ago! (must be gremlins )

    www.cdx.co.za
    Marnitz Engelbrecht
    South Africa

  2. #2
    osCMax Developer

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


    Default

    Have you added any mods that would change the way things work? It looks like you have not defined the virtual cart contents function. Start on line 76 of checkout_payment.php and see what is up, and track down the function.

    What version of osC are you using?
    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
    MG
    MG is offline
    New Member
    Join Date
    Aug 2003
    Posts
    9
    Rep Power
    0


    Default

    hi msasek,
    thanks for the quick reply. i have 2.2cvs i think.
    i have struggled a bit, but things seem ok now. i have updated only a few files recently to the latest OSC and that seems to be the problem. the old and new mods are calling or not calling different functions which do or do not exist with the new/my version.
    i had to go through the whole checkout process to see what these functions were and if the function wasn't used anymore, i then disabled it.

    it seem to be working great now.

    please let me know if i this is ok what i did?!
    Marnitz Engelbrecht
    South Africa

  4. #4
    osCMax Developer

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


    Default

    As long as your cart is functioning without errors, it is OK to do.
    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

Similar Threads

  1. Call to undefined function bts_select() in after update for
    By ozstar in forum osCmax v2 Installation issues
    Replies: 1
    Last Post: 09-15-2006, 03:01 AM
  2. Fatal error: Call to undefined function: tep_href_link()
    By spiros71 in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 09-26-2005, 01:23 PM
  3. Fatal Error:Call to undefined function:gzinflate()
    By michaelphodges in forum osCmax v2 Installation issues
    Replies: 1
    Last Post: 06-16-2005, 07:26 AM
  4. Call to undefined function: session_name()
    By fridgemags in forum osCMax v1.7 Installation
    Replies: 1
    Last Post: 02-08-2005, 06:38 AM
  5. Fatal error: Call to undefined function: array_map()
    By Anonymous in forum osCmax v1.7 Discussion
    Replies: 3
    Last Post: 01-21-2004, 11:38 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
  •