lezperez Posted September 21, 2010 Share Posted September 21, 2010 Hi this is my shop: Pink Heaven Gift Ideas Name: Guest Password: pwd2109 So I'm using STS and OptionTypes. I've managed to do pretty much everything on my own after reading ALOT on these forums but I've hit a problem. I keep getting an error when trying to upload an image on the product pages. For example, goto Holidays->Easter->Easter Egg and Photo and select a file and add to cart. This is the error I get: Fatal error: Call to a member function image() on a non-object in catalog/includes/functions/html_output.php on line 78 So this is the code on line 78 in the html_output.php file: // START STS v4.4: global $sts; $sts->image($src); // Take image from template folder if exists. // END STS v4.4 So I guess its something to do with STS? I have had the error appear at other times but not consistently. Any help appreciated! Quote Link to comment Share on other sites More sharing options...
lezperez Posted September 22, 2010 Author Share Posted September 22, 2010 Anyone? Quote Link to comment Share on other sites More sharing options...
multimixer Posted September 22, 2010 Share Posted September 22, 2010 1) It is not clear what your problem is. You say a ) "I keep getting an error when trying to upload an image on the product pages." b ) "goto Holidays->Easter->Easter Egg and Photo and select a file and add to cart. This is the error I get:" When do you get the error? When trying to upload a product image via admin or when adding something to the cart? There is also a thread dedicated to STS related questions --> the STSv4 forum If you'll post there, please make clear if you use a product_info.php.html CONTENT template or not Quote My community profile | Template system for osCommerce - New: Responsive | Feedback channel Link to comment Share on other sites More sharing options...
lezperez Posted September 22, 2010 Author Share Posted September 22, 2010 (edited) Sorry I should have been more clear! I have edited it to make it more clear and posted to the STS forum here My Post Thanks Edited September 22, 2010 by lezperez Quote Link to comment Share on other sites More sharing options...
lezperez Posted September 22, 2010 Author Share Posted September 22, 2010 All sorted! Check my thread linked in the post above. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.