Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Secure and unsecure items...? =(


jfo9696

Recommended Posts

have you used the method

 

<?php echo tep_image(DIR_WS_IMAGES . $image, HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?>

 

to show all your images. if so I believe they should be secure.

Link to comment
Share on other sites

have you used the method

 

<?php echo tep_image(DIR_WS_IMAGES . $image, HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?>

 

to show all your images. if so I believe they should be secure.

 

 

how do I go about that? Iam not too familiar with OSC!?

Link to comment
Share on other sites

Look in your /store/includes/header.php for this line:

 

	<th valign="middle" align="right" background="http://jetsfloridaoutdoors.com/store/images/main_logo_bg_everglades2.jpg"><img src="images/main_logo_right.png" border="0" alt="" width="459" height="100"></th>

Change it to:

 

	<th valign="middle" align="right"><img src="images/main_logo_right.png" border="0" alt="" width="459" height="100"></th>

That background image I removed from the code doesn't exist on your site.

 

I was helping you in another thread with this....

<_<

 

Better make a backup before editing.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Yeah is just that I finely went into my site using ie 7.0 and is showed to have unsecured items and I figure you had given up on me.lol I'm a work in progress I promise

Link to comment
Share on other sites

ok so I have done the code altering that you had told me, but i am still getting unsecured items AHHH. now I have noticed that if i use HTTP:// I do not get the error. But if you were to use HTTPS:// i do get the error ( through Internet Explorer 7.0) Firefox no problem.

Link to comment
Share on other sites

how come I can not access none of my comand meny from OSC it gives me 404 error I have everything backed up but no luck with any of the changes

Link to comment
Share on other sites

We finally got the "non-secure items" popup out of your catalog, but it looks like you turned your SSL off?

:unsure:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

It's back on now.

 

But that background image is back in your code (the one I mentioned in this thread), so the "non secure items" popup is back as well.

 

But now all your categories are HTTPS!!!

 

Not good!!!

 

Major search engines (like Google) don't index HTTPS pages.

 

In your /shop/includes/configure.php make the defiine to HTTP_SERVER simply http:// not https://

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

  • 2 months later...
It's back on now.

 

But that background image is back in your code (the one I mentioned in this thread), so the "non secure items" popup is back as well.

 

But now all your categories are HTTPS!!!

 

Not good!!!

 

Major search engines (like Google) don't index HTTPS pages.

 

In your /shop/includes/configure.php make the defiine to HTTP_SERVER simply http:// not https://

 

Sorry to hijack this thread, but it save creating a new one..

 

I am having a similar problem to this one, only buyers are sent to the https:// when they go to the check out stage, yet for some strange reason I am getting the 'both secure and unsecure items shown' this resulting the padlock symbol not showing. Any ideas what could be causing this.

 

When I click not to show unsecured items it none of the images are showing, so i am assuming its the image files that are causing these problems, yet i have no idea what to do to sort it out. It was fine when the whole cart was behind the ssl, but as pointed out before search engines wont go behind the ssl and its not good to have the whole cart under ssl.

 

so any help would be appreciated.

 

 

thanks

Link to comment
Share on other sites

This can't be solved without looking at the HTML source for your site.

 

Post your URL or PM it to me if you want me to try to help.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

http://www.f1products.co.uk/index.php is the url,

 

I have changed:

// set the type of request (secure or not)
//  $request_type = (getenv('HTTPS') == 'on') ? 'SSL' : 'NONSSL';
 $request_type = ($HTTP_SERVER_VARS['SERVER_PORT'] == '443') ? 'SSL' : 'NONSSL';

 

that seems to have allowed the images to show, but I am still getting the error message when trying to do any thing past create account. I think i have removed all outside links (including oscommerce, will put this back as soon as its sorted)

 

So any help is greatly appreciated.

Link to comment
Share on other sites

HREF links won't cause the message, just content (scripts or images usually) from non-secure sources.

 

I've been up and down your code and CSS file.

 

The only non-secure content I can find is in the code for your SWF file.

 

Try changing this:

 

codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"

to

 

codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

HTTPS points that will answer most questions:

1)Spiders do not crawl thru SSL pages.Means making SSL a complete site is going to result in weak search engine or zero search engine presence.

 

2)Login,create account and chekout pages(where You do have Your members info should be in SSL).

3)SSl pages are com,paratively slower to download.

4)defin SSL as true and https server with Your https://www.site....com

6)If shared SSL then dont using cookies as this will not work.Only a session ID will help.

 

If any one wants to add to do this list please do.

 

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

Looking at the HTML source, this is the cause:

 

<script type="text/javascript" src="http://www.jetsfloridaoutdoors.com/store/textsizer.js">

You're getting content from a non-secure source on a secure page.

 

Should be:

 

<script type="text/javascript" src="https://jetsfloridaoutdoors.com/store/textsizer.js">

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...