osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 08-17-2003, 05:23 AM
MG MG is offline
New Member
 
Join Date: Aug 2003
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
MG
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 08-17-2003, 08:36 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,990
Thanks: 80
Thanked 345 Times in 324 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
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 Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 08-17-2003, 08:52 AM
MG MG is offline
New Member
 
Join Date: Aug 2003
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
MG
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 08-17-2003, 12:33 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,990
Thanks: 80
Thanked 345 Times in 324 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

As long as your cart is functioning without errors, it is OK to do.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Call to undefined function bts_select() in after update for ozstar osCMax v2 Installation issues 1 09-15-2006 04:01 AM
Fatal error: Call to undefined function: tep_href_link() spiros71 osCommerce 2.2 Installation Help 1 09-26-2005 02:23 PM
Fatal Error:Call to undefined function:gzinflate() michaelphodges osCMax v2 Installation issues 1 06-16-2005 08:26 AM
Call to undefined function: session_name() fridgemags osCMax v1.7 Installation 1 02-08-2005 07:38 AM
Fatal error: Call to undefined function: array_map() Anonymous osCMax v1.7 Discussion 3 01-21-2004 12:38 PM


All times are GMT -8. The time now is 05:38 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax