rumi Posted January 5, 2007 Share Posted January 5, 2007 The error message says, "Fatal Error: Call to member function on a non-object in /var/www/html/header.php line 14" I replaced the header.php with the one from the original (From STS 4.3.3) but still get the error message. Im also getting an error? message when in Admin>Categories saying "1054-unknown column 'cd.categories_seo_url' in 'fieldset', select c.categories_id,"...then a list of more like c.categories_id. I havent yet added any products to my site; have only added one category and about 3 sub-categories. Really need help. Quote Link to comment Share on other sites More sharing options...
bkellum Posted January 5, 2007 Share Posted January 5, 2007 The error message says, "Fatal Error: Call to member function on a non-object in /var/www/html/header.php line 14"I replaced the header.php with the one from the original (From STS 4.3.3) but still get the error message. Im also getting an error? message when in Admin>Categories saying "1054-unknown column 'cd.categories_seo_url' in 'fieldset', select c.categories_id,"...then a list of more like c.categories_id. I havent yet added any products to my site; have only added one category and about 3 sub-categories. Really need help. Rumi, It appears you may have added a contribution or two after you installed STSv4.3.3 and therefore copied over some files that STS needs in able to work properly. OR...you did not completely install STS correctly. Check your application_top.php and application_bottom.php files from the ones in the STSv4.3.3 contribution. Also: If you are using the bundled version of STS & HTC, be sure you are adding the following in the STS Modules in the admin: For the default module, you have a parameter named “Files for normal template”. By default it contains only “sts_user_code.php”. If you modify this parameter to “sts_user_code.php;headertags.php”, you will have Header Tags Controller working for all of the pages using the default template. Do the same for the other modules below. For the index module, the parameter is called “Files for index.php template”. For “product_info module”, there are 2 parameters: “Files for normal template” “Files for content template”. Quote Bill Kellum Sounds Good Productions STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE Link to comment Share on other sites More sharing options...
rumi Posted January 5, 2007 Author Share Posted January 5, 2007 Rumi, It appears you may have added a contribution or two after you installed STSv4.3.3 and therefore copied over some files that STS needs in able to work properly. OR...you did not completely install STS correctly. Check your application_top.php and application_bottom.php files from the ones in the STSv4.3.3 contribution. Also: If you are using the bundled version of STS & HTC, be sure you are adding the following in the STS Modules in the admin: For the default module, you have a parameter named “Files for normal template”. By default it contains only “sts_user_code.php”. If you modify this parameter to “sts_user_code.php;headertags.php”, you will have Header Tags Controller working for all of the pages using the default template. Do the same for the other modules below. For the index module, the parameter is called “Files for index.php template”. For “product_info module”, there are 2 parameters: “Files for normal template” “Files for content template”. Yes! I added Ultimate SEO URLs. I will now go back and check application_top and bottom. Thanks! Quote Link to comment Share on other sites More sharing options...
rumi Posted January 5, 2007 Author Share Posted January 5, 2007 Rumi, It appears you may have added a contribution or two after you installed STSv4.3.3 and therefore copied over some files that STS needs in able to work properly. OR...you did not completely install STS correctly. Check your application_top.php and application_bottom.php files from the ones in the STSv4.3.3 contribution. Also: If you are using the bundled version of STS & HTC, be sure you are adding the following in the STS Modules in the admin: For the default module, you have a parameter named “Files for normal template”. By default it contains only “sts_user_code.php”. If you modify this parameter to “sts_user_code.php;headertags.php”, you will have Header Tags Controller working for all of the pages using the default template. Do the same for the other modules below. For the index module, the parameter is called “Files for index.php template”. For “product_info module”, there are 2 parameters: “Files for normal template” “Files for content template”. Application_top.php is different. Should I replace it with the original? Thanks Bill; You're a Trooper. Quote Link to comment Share on other sites More sharing options...
bkellum Posted January 5, 2007 Share Posted January 5, 2007 (edited) Application_top.php is different. Should I replace it with the original? Thanks Bill; You're a Trooper. Try this: In your application_top.php file, add the following code just before the last line of code that says: ?> // START STS 4.3.3 require (DIR_WS_CLASSES.'sts.php'); $sts= new sts(); $sts->start_capture(); // END STS 4.3.3 That should be the only difference in between the application_top.php file from Ultimate SEO URLs contribution and the STSv4.3.3 contribution. Hope this helps, Bill Kellum Edited January 5, 2007 by bkellum Quote Bill Kellum Sounds Good Productions STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE Link to comment Share on other sites More sharing options...
rumi Posted January 5, 2007 Author Share Posted January 5, 2007 Try this: In your application_top.php file, add the following code just before the last line of code that says: ?> // START STS 4.3.3 require (DIR_WS_CLASSES.'sts.php'); $sts= new sts(); $sts->start_capture(); // END STS 4.3.3 That should be the only difference in between the application_top.php file from Ultimate SEO URLs contribution and the STSv4.3.3 contribution. Hope this helps, Bill Kellum I did this (twice). The first time I came up with the same error as before, the second time this: "Error! Unable to determine the page link!" Mabye Im loosing it but this last error seems like an improvement! Thank you Bill. Quote Link to comment Share on other sites More sharing options...
rumi Posted January 5, 2007 Author Share Posted January 5, 2007 I did this (twice). The first time I came up with the same error as before, the second time this: "Error! Unable to determine the page link!" Mabye Im loosing it but this last error seems like an improvement! Thank you Bill. Problem solved. I removed Ultimte SEO URLs and reset "force cookie use" in Admin. I have my web site back. Thanks for your help. I replaced includes/application_top.php with original osc file and then ammended with STS 4.3.3 at bottom as you suggested (formerly it read STSv4.1). Much Gratitude. 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.
Note: Your post will require moderator approval before it will be visible.