demastermind Posted August 17, 2010 Posted August 17, 2010 (edited) Hi All, I am having a problem with my web page I designed for sts. I finally got my placeholders working. But now all of my external content that should be showing up, like my logo/ header, menu, and footer, are just generating a warning message. This is how I implement the code in my webpage: (Only way I know how.) <?php include("http://www.nasawear.com/script/mainmenu.php"); ?> These are only two of the warnings that I get on the page when I view it: Warning: include(script/logo.php) [function.include]: failed to open stream: No such file or directory in /hermes/bosweb/web139/b1399/ipg.nasawearcom/store/includes/sts_templates/blank/sts_blank_template.html on line 41 Warning: include() [function.include]: Failed opening 'script/logo.php' for inclusion (include_path='.:/usr/local/lib/php-5.2.12/lib/php') in /hermes/bosweb/web139/b1399/ipg.nasawearcom/store/includes/sts_templates/blank/sts_blank_template.html on line 41 This is the link to my store page that has all the warning messages: http://www.nasawear.com/store/ Does anyone know what I am doing wrong. I'm not very good at php, setting up my shop is the first time I have used it. Thanks. By the way, if you would need a copy of the script for the page, then just PM me since I don't think I have header right and I don't know if that is causing the problem. - Luc Edited August 17, 2010 by demastermind Quote My Installed Contributions: 1. Ultimate SEO URLs V 2-2.2d-X 2. Quantity Box on Product Info Page 3. httpbl4osc Version 1.1.0 4. QTpro for osc 2.3 5. Header Tags SEO V 3.0 (For 2.3) 6. DHTML State Selection for 2.3.1 And Good To Know: I use a 960gs fluid style sheet. I do have a honey pot on my website. Store Version: 2.3 “Pain is temporary. Quitting lasts forever." - Lance Armstrong
web-project Posted August 17, 2010 Posted August 17, 2010 Warning: include(script/logo.php) [function.include]: failed to open stream: No such file or directory in /hermes/bosweb/web139/b1399/ipg.nasa recheck that this script/logo.php file exists. Quote Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here! 8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself. Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues. Any issues with oscommerce, I am here to help you.
demastermind Posted August 17, 2010 Author Posted August 17, 2010 (edited) recheck that this script/logo.php file exists. I found it. It exists, but I am still getting the error message. Edited August 17, 2010 by demastermind Quote My Installed Contributions: 1. Ultimate SEO URLs V 2-2.2d-X 2. Quantity Box on Product Info Page 3. httpbl4osc Version 1.1.0 4. QTpro for osc 2.3 5. Header Tags SEO V 3.0 (For 2.3) 6. DHTML State Selection for 2.3.1 And Good To Know: I use a 960gs fluid style sheet. I do have a honey pot on my website. Store Version: 2.3 “Pain is temporary. Quitting lasts forever." - Lance Armstrong
web-project Posted August 17, 2010 Posted August 17, 2010 I found it. It exists, but I am still getting the error message. have you check location: No such file or directory in /hermes/bosweb/web139/b1399/ipg.nasawearcom/store/includes/sts_templates/blank/sts_blank_template.html is it correct location? Quote Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here! 8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself. Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues. Any issues with oscommerce, I am here to help you.
demastermind Posted August 17, 2010 Author Posted August 17, 2010 have you check location: is it correct location? I just found out that I had the right file path, but it just had to be in my templates folder since that was where it was looking for the files and not my root directory. Thanks. - Luc Quote My Installed Contributions: 1. Ultimate SEO URLs V 2-2.2d-X 2. Quantity Box on Product Info Page 3. httpbl4osc Version 1.1.0 4. QTpro for osc 2.3 5. Header Tags SEO V 3.0 (For 2.3) 6. DHTML State Selection for 2.3.1 And Good To Know: I use a 960gs fluid style sheet. I do have a honey pot on my website. Store Version: 2.3 “Pain is temporary. Quitting lasts forever." - Lance Armstrong
bkellum Posted August 18, 2010 Posted August 18, 2010 I just found out that I had the right file path, but it just had to be in my templates folder since that was where it was looking for the files and not my root directory. Thanks. - Luc STS already has a procedure to deal with file includes. Hint: Look into the STS Modules in the admin. Also, please post STS related questions in the proper support thread, it is the forum rules by the way. See the STSv4 Forum link in my signature below and then once you are there, click on "Add Reply" to post within that thread. Thanks! Quote Bill Kellum Sounds Good Productions STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE
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.