Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL Problem - Contains both secure and non-secure items


hakanvar

Recommended Posts

Hi,

 

I installed SSL and I am taking an error message:

This page contains secure and non-secure items. Do you want to display non-secure items?

 

When I choose NO ;

 

I taking this message : This Page requires AC_RunActiveContent.js.

 

Could you help me to fix this problem ?

 

Thank you.

 

URL : https: //superbattal.com

URL : http: //superbattal.com

Link to comment
Share on other sites

Anyone helping will need your URL...

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

Post what you have for these lines in /osc/includes/configure.php

 

  define('HTTP_SERVER', ''); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', false); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', '');
 define('HTTPS_COOKIE_DOMAIN', '');
 define('HTTP_COOKIE_PATH', '');
 define('HTTPS_COOKIE_PATH', '');

DO NOT post the entire contents of the file.

 

Just those 7 lines.

 

And you really should get rid of the "no right click" script.

<_<

 

People can't right-click and open a new tab in the browser to shop on more than one page at a time.

 

And it doesn't stop anyone with more than half a brain from copying images from your site in the first place.

 

Give me any image name from your site and your email address and I can have any image from the site in an email to you in two minutes or less.

 

It only drives PAYING customers away (IMHO).

 

If you don't want images copied watermark them so no one wants to copy them, or don't put them on the net.

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

You can see configuration file below. Thank you for helping, I am canceling no-right click option.

 

define('HTTP_SERVER', 'http://superbattal.com');

define('HTTPS_SERVER', 'http://superbattal.com');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', 'superbattal.com');

define('HTTPS_COOKIE_DOMAIN', 'superbattal.com');

define('HTTP_COOKIE_PATH', '/osc/');

define('HTTPS_COOKIE_PATH', '/osc/');

Link to comment
Share on other sites

These:

 

define('HTTPS_SERVER', 'http://superbattal.com');
define('ENABLE_SSL', false);
define('HTTP_COOKIE_PATH', '/osc/');
define('HTTPS_COOKIE_PATH', '/osc/');

should be:

 

define('HTTPS_SERVER', 'https://superbattal.com');
define('ENABLE_SSL', true);
define('HTTP_COOKIE_PATH', '/');
define('HTTPS_COOKIE_PATH', '/');

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

Your code has been compromised.

 

There is an attempted iframe injection on some (if not all of) your SSL pages.

 

It made all the bells and whistles on my antivirus go off like WWIII was about to start!

:o

 

I cannot continue support as I will not risk the saftey of my PC to whatever this attack is.

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

I did it like you sad but It didn't work truely also :(

 

Before changing codes like below like you sad, Before this correction, when I choosed NO on error message The page wasn't shown correct. Some caracters and pictures was missing.

 

But After correction, When I choosed NO on error message, Page coming truly. This is better, but still have an same error message

 

 

CODE

define('HTTPS_SERVER', 'https://superbattal.com');

define('ENABLE_SSL', true);

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

 

 

Thank You for Your Helping.

Link to comment
Share on other sites

As far as I'm concerned - You're on your own for reasons stated in my last post.

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

I re-installed site from Backup.

 

Can you check agin about virus problem. My anti virus programs had not found any problem. I tried Esset and Kaspersky's last and updated versions.

 

Before and after. Could you check again with your anti virus program. I will start to use Credit Card unit soon, If there is something like you sad, It is really big problem for me.

 

Lastly My Host checked site for viruses and they couldn't find.

 

 

If you say same thing, I will start form beginning.

 

 

Thank You for your answer.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...