Jump to content
Sign in to follow this  
lezperez

STS Fatal Error

Recommended Posts

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!

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 by lezperez

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×