aejeffor Posted July 22, 2008 Posted July 22, 2008 hello all. I am having an issue with a fatal error on my index.php page. I was installing the Puchase without account module when this error occured, so i reverted to my backup, that was fully tested and working when backed up. Unfortunately I get the same error with my backed up OSC files as well. the error is the following: Fatal error: Call to undefined method currencies::calculate_price() in /home/shop/includes/classes/shopping_cart.php on line 272 the shoppingcart.php file has not been modified and is the standard osc release file. If anyone has seen this before, i would love some help. thanks in advance!
spooks Posted July 22, 2008 Posted July 22, 2008 from your post, you appear to have an extra : in index.php currencies::calculate_price() Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al.
aejeffor Posted July 22, 2008 Author Posted July 22, 2008 from your post, you appear to have an extra : in index.php currencies::calculate_price() this is an original index.php file that hasnt changed since 2006. how could that be if it hasnt been edited?
aejeffor Posted July 22, 2008 Author Posted July 22, 2008 well, i just narrowed it down, though. i turned off the STS module (template system) and the error goes away, so it must be an extra : in one of the templates... i hope
aejeffor Posted July 22, 2008 Author Posted July 22, 2008 so i have disabled the STS template system and the error is gone, the page displays, but on the top right under "Shopping Cart" the same error appears now. Any ideas?
aejeffor Posted July 22, 2008 Author Posted July 22, 2008 Got it figured out....just an FYI, it was the following was added to the end of the first line in application_top.php this is the original first line: $Id: application_top.php 1833 2008-01-30 22:03:30Z hpdl $ for some readon I had added "$exp" to that line. who knows how or why, but i removed the "exp" and its working again. Thanks for the help sam
aejeffor Posted July 23, 2008 Author Posted July 23, 2008 Okay, the error is still there....I thought I had fixed it, but it turns out it only appears when there is an item in the shopping cart and it appears where the subtotal would display normally. So it is having issues calculating the subtotal somehow. Here is the error message again. And it only shows up wherever the subtotal is displayed. Fatal error: Call to undefined method currencies::calculate_price() in /home/username/public_html/shop/includes/classes/shopping_cart.php on line 272 Any ideas please?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.