gazanson Posted May 14, 2007 Share Posted May 14, 2007 Does anyone know why I might be getting this fatal error when I attempt to perform actions under 'My Account', 'My Orders' and 'Email Notifications' in "MY ACCOUNT INFORMATION": Fatal error: Call to a member function image() on a non-object in /home/mindsoul/public_html/oscommerce/includes/functions/html_output.php on line 78 Any help would be greatly appreciated. Gary Lines 76-79 are as follows: 76 // START STS v4.4: 77 global $sts; 78 $sts->image($src); // Take image from template folder if exists. 79 // END STS v4.4 Link to comment Share on other sites More sharing options...
satish Posted May 15, 2007 Share Posted May 15, 2007 is your sts template code installed. The object is not getting created. Satish Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does. Link to comment Share on other sites More sharing options...
gazanson Posted May 18, 2007 Author Share Posted May 18, 2007 is your sts template code installed.The object is not getting created. Satish Hi Satish, Many many thanks for the reply. I had actually missed a few bits of code elsewhere in this file and have now added those and rechecked everything but I am still getting the fatal error at line 78. Do you have any further thoughts? Gary PS I missed your reply earlier and reposted my query in what I thought was a more suitable forum area under STS v4.4. Apologies to all. Link to comment Share on other sites More sharing options...
gazanson Posted May 18, 2007 Author Share Posted May 18, 2007 Hi Satish, Many many thanks for the reply. I had actually missed a few bits of code elsewhere in this file and have now added those and rechecked everything but I am still getting the fatal error at line 78. Do you have any further thoughts? Gary PS I missed your reply earlier and reposted my query in what I thought was a more suitable forum area under STS v4.4. Apologies to all. Thank you Satish -- but I worked this out courtesy of some other threads on this topic. I could have upgraded to STS v.4.5 it seems (this being a known bug), but for the record, I simply restored the original OSCommerce version of 'html_output.php'. This time I didn't go ahead and make any STS updates to that file. Everything seems to be fine now. Gary Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.