Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Banners and SSL


Allioth

Recommended Posts

Posted

Hi everyone, and thanks in advance...

I don't know if this topics have been seen before, but I honestly can't find any solution to them...

The first one is that my top four banners (from www.pick-a-bee.com) are showing not only on my main page, but in every other page as well... Is there any way to make them show up only in the index page?

 

The second would be obsious to all of you as soon as you get into my website... The SSL warning saying "Do you want to view only the webpage content that was delivered securely?"

The thing is that I don't really care of having the entire website under SSL protection... I just need those pages where a customer can insert an input (like login and payment page); and how can I get rid of this warning?

 

 

Here is my /includes/configure.php:

 

<?php

define('HTTP_SERVER', 'https://www.pick-a-bee.com');

define('HTTPS_SERVER', 'https://www.pick-a-bee.com');

define('ENABLE_SSL', true);

define('HTTP_COOKIE_DOMAIN', 'www.pick-a-bee.com');

define('HTTPS_COOKIE_DOMAIN', 'www.pick-a-bee.com');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/home/totall26/public_html/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

define('DB_SERVER', 'xxxxxxxx');

define('DB_SERVER_USERNAME', 'xxxxxxxxxxxxxxxxxxx');

define('DB_SERVER_PASSWORD', 'xxxxxxxxxxxxxxxxxxx');

define('DB_DATABASE', 'xxxxxxxxxxxxxxxxx');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

?>

 

 

 

And this is my /admin/includes/configure.php:

 

 

<?php

define('HTTP_SERVER', 'https://www.pick-a-bee.com');

define('HTTP_CATALOG_SERVER', 'https://www.pick-a-bee.com');

define('HTTPS_CATALOG_SERVER', 'https://www.pick-a-bee.com');

define('ENABLE_SSL_CATALOG', 'true');

define('DIR_FS_DOCUMENT_ROOT', '/home/totall26/public_html/');

define('DIR_WS_ADMIN', '/castbasalvra/');

define('DIR_FS_ADMIN', '/home/totall26/public_html/castbasalvra/');

define('DIR_WS_CATALOG', '/');

define('DIR_FS_CATALOG', '/home/totall26/public_html/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

define('DIR_WS_FLAGS', DIR_WS_IMAGES . 'flags/');

 

define('DB_SERVER', 'xxxxxxxx');

define('DB_SERVER_USERNAME', 'xxxxxxxxxxxxxxxxxxx');

define('DB_SERVER_PASSWORD', 'xxxxxxxxxxxxxxxxxxx');

define('DB_DATABASE', 'xxxxxxxxxxxxxxxxx');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

 

 

 

 

Thanks for all your help and sorry again if it's been seen already... :(

Allioth

Posted

Read my answer to your post in the SSL support thread about the "unsecure items" popup.

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 >

Posted

The error message has nothing to do with the pages that are secured or insecured via SSL. The error is referring to the invalid ownership information in your SSL.

 

You should also change all references to the /images directory to https

 

 

 

Chris

Posted

The error message has nothing to do with the pages that are secured or insecured via SSL. The error is referring to the invalid ownership information in your SSL.

 

You should also change all references to the /images directory to https

 

 

 

Chris

I couldn't find any "unsecure" links to images.

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 >

Posted

Change this line:

define('HTTP_SERVER', 'https://www.pick-a-bee.com');

to this:

define('HTTP_SERVER', 'http://www.pick-a-bee.com');

In both configure.php files.

 

Then, fix your configuration so that the osCID does not continue to display after the second or third link visited.

 

 

And the un-secure content is an off-site jscript, most likely. (This will be fixed with the configuration change above.)

Community Bootstrap Edition, Edge

 

Avoid the most asked question. See How to Secure My Site and How do I...?

Posted

Thanks for all your answers, and sorry for the late reply...

I've changed things as advised, but the problem still persists...

I'll install Firefox (I've read that it gives some kind of report for what actually is not secure in the webpage)

Kind regards to all of you

Allioth

Posted

Thanks for all your answers, and sorry for the late reply...

I've changed things as advised, but the problem still persists...

I'll install Firefox (I've read that it gives some kind of report for what actually is not secure in the webpage)

Kind regards to all of you

Allioth

That would be because you haven't removed the code I pointed out in the SSL support thread.

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 >

Posted

Hi Germ,

 

I've been reading all the pages, following the conversations between you and many people having similar problems to mine... but I cannot find the code you're talking about... :unsure:

What is the code I should delete? :blush:

 

This warning still shows up every time I load the page...

**********************************************

Do you want to view only the webpage content that was delivered securely?

This webpage contains content that will not be delivered using a secure HTTPS connection, which could compromise the security of the entire webpage.

**********************************************

 

I have Lightbox installed, which is working perfectly.

I also have, at the bottom of the webpage, the community websites links, which at the moment are not showing up (just showing an empty box)... Do you think they are the cause of the error? But then, if I go to the checkout process, they are not ment to show up at all, and the error still comes up!

 

Thanks

Allioth

Posted

Offending code:

 

<script type="text/javascript" src="http://info.template-help.com/files/ie6_warning/ie6_script_other.js"></script>

 

Location:

 

<head> section of every page.

 

Since you have a template and not standard osC it's your job to find it - I didn't code the template, I don't have a copy of it, so I don't know exactly where the code resides.

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 >

Posted

Thanks Germ, :)

I'll start hunting for that code in every page. Once I find it should I delete it, or change it?

Thanks for your time!!

Allioth

Posted

If I were calling the shots I'd trash it.

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 >

Archived

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

×
×
  • Create New...