Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

STS Fatal Error


lezperez

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!

Link to comment
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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...