Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Sign in to follow this  
demastermind

PHP Warnings while using STS

Recommended Posts

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 by demastermind

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

Share this post


Link to post
Share on other sites
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.


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.

Share this post


Link to post
Share on other sites

recheck that this script/logo.php file exists.

 

I found it. It exists, but I am still getting the error message.

Edited by demastermind

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

Share this post


Link to post
Share on other sites

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?

 


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.

Share this post


Link to post
Share on other sites

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


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

Share this post


Link to post
Share on other sites

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. whistling.gif

 

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!


Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×