bkellum Posted March 12, 2007 Share Posted March 12, 2007 (edited) thanks for your instruction,i followed your help and it's ok ^^.but there's many variable $ doesn't work when i put them in index page, $content works,$searchbox not works,i only see $ in index,what is this problem? Step 1 of my previous post is usually the issue here. Make sure that you have adjusted your tags to accordingly. For ex: If your end character set is a # symbol, then your tag becomes $content#. If $ is your end character set, then your tag would be $content$. This helps make your pages load faster and it really doesn't matter which end character you choose.Also: Be sure these tags actually exist. (They would if you did a complete install. The user manual gives details regarding which PHP file has the tags defined. Your own custom tags should be defined in the sts_user_code.php file. Edited March 12, 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...
Guest Posted March 12, 2007 Share Posted March 12, 2007 i'm really not understand :(( plz help me out,how to defined custom tags in the sts_user_code.php thanks a lot Quote Link to comment Share on other sites More sharing options...
Guest Posted March 12, 2007 Share Posted March 12, 2007 here's my problem. this is sts_template in test folder when i enable default module and use test template Quote Link to comment Share on other sites More sharing options...
Guest Posted March 13, 2007 Share Posted March 13, 2007 i have correctly installed sts in my osc template monster...maybe my osc template is different with osc fresh pack so..sts doesn't work,plz help me ! Quote Link to comment Share on other sites More sharing options...
mattwa Posted June 20, 2007 Share Posted June 20, 2007 I have just tried installing STS PLUS on my server but when I open the admin panel modules-> STS I only get a link and a install button ( press -> nothing happens ) : Module Directory: /hsphere/local/home/reenberg/kmlshop.dk/shop/catalog/includes/modules/sts/ I have first installed a clean installation off osc and then copied the files(STS) from the folder clean_osc to their respective folders on the server shop. Any information would be much appreciated thanks d1 Probably too late too help the OP, but I had the same problem and maybe this will help someone else - In my case, it was the DIR_FS_DOCUMENT_ROOT variable in admin\includes\configure.php. Mine was blank :), but you have to make sure you have the correct filesystem path to where your site's files are stored. On Windows that would be something like D:\inetpub\wwwroot\nameofyoursite. Quote Link to comment Share on other sites More sharing options...
yankokun Posted June 21, 2007 Share Posted June 21, 2007 Probably too late too help the OP, but I had the same problem and maybe this will help someone else - In my case, it was the DIR_FS_DOCUMENT_ROOT variable in admin\includes\configure.php. Mine was blank :), but you have to make sure you have the correct filesystem path to where your site's files are stored. On Windows that would be something like D:\inetpub\wwwroot\nameofyoursite. I have the same problem and still cant fix it....... Hello, Today i'm trying to install STS 4,1 ,.I followed all the instructions but now when im trying to install all the modules in administration it does not work.When i click on install button nothing's happens. I will aprecciate any ideas how to fix the problem. Thank you. I find something about configure.php in admin,and tried everithing,but nothing is changed.Here is the path appearing under my modules in admin panel: Module Directory: /home/whp0701303027-2503/public_html/catalog/includes/modules/sts/, and in addition im sending my configure file if there are something wrong..... define('HTTP_SERVER', 'http://jivotinche.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'http://jivotinche.com'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT','/home/whp0701303027-2503/public_html'); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) define('DIR_WS_ADMIN', '/catalog/admin/'); define('DIR_FS_ADMIN', '/home/whp0701769027/public_html/catalog/admin/'); define('DIR_WS_CATALOG', '/catalog/'); define('DIR_FS_CATALOG', '/home/whp0701769027/public_html/catalog/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); Quote Link to comment Share on other sites More sharing options...
bkellum Posted June 21, 2007 Share Posted June 21, 2007 I have the same problem and still cant fix it.......Hello, Today i'm trying to install STS 4,1 ,.I followed all the instructions but now when im trying to install all the modules in administration it does not work.When i click on install button nothing's happens. I will aprecciate any ideas how to fix the problem. Thank you. You should post questions regarding STS version 4.1 and above in the STSv4 Forum (see link in my signature below). Anyway, here is the solution to your module not updating problem: http://www.oscommerce.com/forums/index.php?sho...p;#entry1086031 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...
yankokun Posted June 22, 2007 Share Posted June 22, 2007 You should post questions regarding STS version 4.1 and above in the STSv4 Forum (see link in my signature below). Anyway, here is the solution to your module not updating problem: http://www.oscommerce.com/forums/index.php?sho...p;#entry1086031 Thank you Bill and I am sorry for sending questions here,now i understand,but i think its v4,5,not 4.1 .From now i will post my question over there . One more please,just i'v changed both my compatibility files but its still don't work. Quote Link to comment Share on other sites More sharing options...
bkellum Posted June 22, 2007 Share Posted June 22, 2007 Thank you Bill and I am sorry for sending questions here,now i understand,but i think its v4,5,not 4.1 .From now i will post my question over there .One more please,just i'v changed both my compatibility files but its still don't work. Yanko, Just to be sure we are talking about a module refresh problem... Try making some changes to any of the payment modules or shipping modules and see if the changes stick. If they do, then it's possible that you have not installed STSv4.5 completely. 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...
dmitryseliv Posted August 9, 2007 Share Posted August 9, 2007 Hi! The same problem like somebody else has. Nothing showup just a blank page. Debug mode is the same blank page. It's new clean install of OSC 2.2. If path to the templates is wrong where I should I look to fix it? Any ideas? Quote Link to comment Share on other sites More sharing options...
bkellum Posted August 11, 2007 Share Posted August 11, 2007 (edited) Hi! The same problem like somebody else has. Nothing showup just a blank page. Debug mode is the same blank page. It's new clean install of OSC 2.2. If path to the templates is wrong where I should I look to fix it? Any ideas? The first thing I would do is dump STS Plus and upgrade to STSv4.5.3 or at least to 4.3.3. STS Plus is no longer supported. Edited August 11, 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...
avinashkalro Posted January 1, 2008 Share Posted January 1, 2008 After doing the manual installation on my rc1.... i have got this error... what should i do ? please help /START STS 4.1 define('BOX_MODULES_STS', 'STS'); //END STS 4.1 osCommerce Online Merchant v2.2 RC1 Administration | Online Catalog | Support Site Logged in as: administrator (Logoff) Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/comebar/public_html/admin/includes/boxes/modules.php on line 26 Quote Link to comment Share on other sites More sharing options...
♥geoffreywalton Posted January 1, 2008 Share Posted January 1, 2008 Didn't understand the middle part of your post what does it mean? /START STS 4.1 define('BOX_MODULES_STS', 'STS'); //END STS 4.1 osCommerce Online Merchant v2.2 RC1 Administration | Online Catalog | Support Site Logged in as: administrator (Logoff) Re-check your installation, there would appear to be a mistake and this is causes the error. Quote Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>. Link to comment Share on other sites More sharing options...
Guest Posted March 4, 2008 Share Posted March 4, 2008 Just a quick question if someone can help, I've just installed STS and i set the permissions for both header_tags.php at 777, but when i go to the admin section and go to header tags controll, it says my permissions are set incorrectly, i've reset them to 755, but i still get the same error. Any ideas? Quote Link to comment Share on other sites More sharing options...
isanogueira Posted March 14, 2008 Share Posted March 14, 2008 Hi. I need to remove margins on my image popup. I already put border of table = 0 and page properties margins = o but don´t work. Here follows the code of popup_image.php.html: <?php define ('STS_END_CHAR', '}'); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html $htmlparams}> <head> <!--$headcontent--> <script language="javascript"><!-- function resize() { var i=0; var MarginW = 60; var MarginH = 140; if (document.layers) i=40; if (document.prodimage.width>document.bannerimage.width) {Width=document.prodimage.width +MarginW} else Width = document.bannerimage.width+MarginW; Height = document.prodimage.height+document.bannerimage.height+MarginH; window.resizeTo(Width,Height); self.focus(); } //--></script> <?php // BOF: More Pics 6 ?> <meta http-equiv="Page-Enter" content="blendTrans(Duration=0.5)"> <meta http-equiv="Page-Exit" content="blendTrans(Duration=0.5)"> <?php // EOF: More Pics 6 ?> </head> <body onLoad="resize();"> <table width="100" border="0" align="center" cellpadding="0" bgcolor="#FFFFFF" id="table1"> <tr> <td><table border="0" cellpadding="0" cellspacing="0" style="width: 100%; border-collapse:collapse" bordercolor="#111111"> <tbody> <tr> <td> <img border="0" src="images/pixel.gif" name="bannerimage"></td> </tr> </tbody> </table> <p align="center">$popupimage}</td> </tr> </table> </body> </html> Quote Link to comment Share on other sites More sharing options...
Treskel Posted January 28, 2009 Share Posted January 28, 2009 Hey folks, I am new to php etc. so please forgive me if I have done the equivilent of not having the modem plugged in. I had installed several mods to a new site this week. I was good with sts 4.5.8, Ultimate SEO Urls 2.6, OsC Catalog, Easy Populate 2.76, Product Listing Columns 2.2.8, Store feeds 3.3, Dynamic Sitemap 3.5.10. I guess Header tags 2.5.9 was too much. so I backed up and used STS v4.3.3 with HTC v2.6.0. Here is the error I am getting: Warning: strstr() [function.strstr]: Empty delimiter in /home/treskel/public_html/includes/header_tags.php on line 43 Warning: strstr() [function.strstr]: Empty delimiter in /home/treskel/public_html/includes/header_tags.php on line 43 Line 43 is: case (strstr($_SERVER['PHP_SELF'],FILENAME_DEFAULT) or strstr($PHP_SELF,FILENAME_DEFAULT) ): Like I said, I am not too good with this stuff. I just can't figure this out. I looked for the usual suspects: missing files, typos, etc. I think the error means that strstr is bringing back no data? is this right? and what do I do about that? Thanks in advance. Quote Link to comment Share on other sites More sharing options...
bkellum Posted January 29, 2009 Share Posted January 29, 2009 Hello Harry, Sorry but you are in the wrong support thread. This thread was for the "old and no longer supported" STS "Plus". If you are looking for the Simple Template System (STSv4.5.8 and above), you will need to go to the following link: http://www.oscommerce.com/forums/index.php?s=&...t&p=1356559 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...
Treskel Posted January 29, 2009 Share Posted January 29, 2009 Hello Harry, Sorry but you are in the wrong support thread. This thread was for the "old and no longer supported" STS "Plus". If you are looking for the Simple Template System (STSv4.5.8 and above), you will need to go to the following link: http://www.oscommerce.com/forums/index.php?s=&...t&p=1356559 Thanks. I put one in there. Quote Link to comment Share on other sites More sharing options...
LuckyDuke Posted February 8, 2009 Share Posted February 8, 2009 here is a tricky question for all the php gurus out there: i posted earlier on the subject of integrating UltraPics contribution into a product_info.php.html template. here is how far i came: i copied what MaxiDVD changes for UltraPics in the original product_info.php file to the one that comes with sts 4. replacing this: $product_info_query = tep_db_query("select p.products_id, pd.products_name, pd.products_description, p.products_model, p.products_quantity, p.products_image, pd.products_url, p.products_price, p.products_tax_class_id, p.products_date_added, p.products_date_available, p.manufacturers_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'"); with the right query for UltraPics like this: $product_info_query = tep_db_query("select p.products_id, pd.products_name, pd.products_description, p.products_model, p.products_quantity, p.products_image, p.products_image_med, p.products_image_lrg, p.products_image_sm_1, p.products_image_xl_1, p.products_image_sm_2, p.products_image_xl_2, p.products_image_sm_3, p.products_image_xl_3, p.products_image_sm_4, p.products_image_xl_4, p.products_image_sm_5, p.products_image_xl_5, p.products_image_sm_6, p.products_image_xl_6, pd.products_url, p.products_price, p.products_tax_class_id, p.products_date_added, p.products_date_available, p.manufacturers_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'"); here all the additional images are also loaded into the $product_info_array. now i declare a new variable like this: if (ULTIMATE_ADDITIONAL_IMAGES == 'enable') { $template_pinfo['ultrapics']=include(DIR_WS_MODULES . 'additional_images.php') ; } where the 'additional_images.php' file is a file from the UltraPics contribution that parses the pictures and gives it back in an HTML table layout. finally i place the so created $ultrapics$ placeholder in a table in my product_info.php.html file This works just fine, with one major error: the 'additional_images.php' file gets included at the top of the template file and not in the table wher it should be. Where it should be, i just get "1" - probably stating that the include was a success. i think this would be a very interesting question to be answered, because so one could use the UltraPics contibution in ones content templates from STS 4. I was searching the forum for hours, before i tried to do this, but found no answer to any question about to implement these two contributions and use ultrapics in a content template. i will this also post in the UltraPics contribution support hoping that someone might come up with a solution. thanks a lot for any answer how to implement this! Hallo, I have problems with the installation of ultraPics additional image (placeholder) into product_info.php.html Template. Can anyone send me the files or complete instraction to integrade addtional_images for product_info.php.html? Thanks a lot! Regards Anton Quote Link to comment Share on other sites More sharing options...
JoshuaTSmith01 Posted May 7, 2009 Share Posted May 7, 2009 I've been working on setting up an online store using osCommerce and the STS v4 add on. It took me forever to figure out what to do with STS, and when I finished the installation according to the instructions, I got this message... Warning: main(includes/modules/sts_inc/sts_display_output.php) [function.main]: failed to open stream: No such file or directory in /home/content/j/o/s/joshuatsmith01/html/oscommerce/catalog/includes/application_bottom.php on line 15 Warning: main() [function.include]: Failed opening 'includes/modules/sts_inc/sts_display_output.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/content/j/o/s/joshuatsmith01/html/oscommerce/catalog/includes/application_bottom.php on line 15 In this thread, I've seen lots of similar problems, but none of them seem to help. If someone could hold my hand and walk me through the process, it would be greatly appreciated. Thanks. Quote Link to comment Share on other sites More sharing options...
Guest Posted April 21, 2013 Share Posted April 21, 2013 I amusing osc 2.3. Tried STS 4, but ran into the register globals need to be on problem. How do I resolve this? Quote Link to comment Share on other sites More sharing options...
Guest Posted April 22, 2013 Share Posted April 22, 2013 @@spcalia You don't.....STS is NOT COMPATIBLE with v2.3.x Chris 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.