Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

non secure- secure


pizzamen

Recommended Posts

Last friday my host installed a ssl certificate on my domain.

This is my configure

define('HTTP_SERVER', 'http://www.mabashop.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://www.mabashop.com'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'www.mabashop.com');
 define('HTTPS_COOKIE_DOMAIN', 'www.mabashop.com');
 define('HTTP_COOKIE_PATH', '/catalog/');
 define('HTTPS_COOKIE_PATH', '/catalog/');
 define('DIR_WS_HTTP_CATALOG', '/catalog/');
 define('DIR_WS_HTTPS_CATALOG', '/catalog/');

 

I still get in IE the message non secure-secure. I made all my links relative,in the css i can't find the problem. i've been trying to have it work correctly for 4 days now. i searched the forum for a solution but till now no result.

Link to comment
Share on other sites

This would usually be down to a incorrectly coded in images, Germ has produced an add on to help with SSL implimentation, whilst i have not used it i have no doubt it is an excellent add on.

Seach the add ons for SSL help, or search the forum for the username Germ then look at his add ons

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Link to comment
Share on other sites

Here is Jims add on http://addons.oscommerce.com/info/6693

Nic

 

I downloaded the addon and do the test with my login page

 

2 suspect code

script language="javascript" src="http://www.mabashop.com/catalog/includes/javascript/jquery.js" type="text/javascript"></script>
<script language="javascript" src="http://www.mabashop.com/catalog/includes/javascript/jquery.cycle.js" type="text/javascript"></script> 


 

This scripts are generated in includes/header.php. Are there any changes possible??

 

second warning is a Parsing CSS:

https://www.mabashop.com/catalog/login.html/stylesheet.css

 

 

Unable to open [https://www.mabashop.com/catalog/login.html/stylesheet.css]!

haas this anything to do with the secure-non secure message

Link to comment
Share on other sites

Try this:

 

 <script language="javascript" src="includes/javascript/jquery.js" type="text/javascript"></script>
<script language="javascript" src="includes/javascript/jquery.cycle.js" type="text/javascript"></script>

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

A "non secure- secure" warning means that on a page under SSL (https), the page's HTML is pulling in non-secure content (such as an image, CSS file, JS file) under non-SSL (http). Do a View > Page source in your browser and look for http: on the page. If this is a hardcoded URL for something on your site (and under your SSL certificate), you can simply change the code to use https. If it's offsite or otherwise not under SSL, you would need to avoid calling that resource while under SSL (search for methods of checking the use-of-SSL-status), or if it is available under SSL, you might be able to change the PHP call to use https instead.

Link to comment
Share on other sites

Try this:

 

 <script language="javascript" src="includes/javascript/jquery.js" type="text/javascript"></script>
<script language="javascript" src="includes/javascript/jquery.cycle.js" type="text/javascript"></script>

 

This scripts i found in my includes/header.php.

echo '<script language="javascript" src="' . HTTP_SERVER . DIR_WS_HTTP_CATALOG . DIR_WS_INCLUDES . 'javascript/jquery.js" type="text/javascript"></script>' . "\n";
 echo '<script language="javascript" src="' . HTTP_SERVER . DIR_WS_HTTP_CATALOG . DIR_WS_INCLUDES . 'javascript/jquery.cycle.js" type="text/javascript"></script>' . "\n";

What's the change i have to make here. i have to be sure about it because i have to make these changes in my live shop.

Link to comment
Share on other sites

  echo '<script language="javascript" src="' . DIR_WS_INCLUDES . 'javascript/jquery.js" type="text/javascript"></script>' . "\n";
 echo '<script language="javascript" src="' . DIR_WS_INCLUDES . 'javascript/jquery.cycle.js" type="text/javascript"></script>' . "\n";

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

  echo '<script language="javascript" src="' . DIR_WS_INCLUDES . 'javascript/jquery.js" type="text/javascript"></script>' . "\n";
 echo '<script language="javascript" src="' . DIR_WS_INCLUDES . 'javascript/jquery.cycle.js" type="text/javascript"></script>' . "\n";

 

thanks a lot, you are a star. Everything is working now

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...