Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

footer in non-secure and secure pages


kittidid

Recommended Posts

Posted

I have noticed that the footer in non secure pages is perfect. The same size as the header and body. Now in the secure pages the footer is not aligned correctly on the left side. It is indented a bit.

 

Right side is ok.

 

Where do I adjust the footer for the secure pages?

 

Kitti

Posted

Does your host require that you put secure content in a separate folder? Are the files the same across the two folders, especially stylesheet.css and footer.php?

 

Actually, your pages look a lot different - no blue background on one version. I suspect that a different stylesheet is being used.

Posted

I am having similar problems in Secure connections. The page loads fine if I remove the <link .. CSS> bit in the page. I am setting OSC on windows 2000, with apache2, php4, and OpenSSL.

 

This behaviour is the same whether connected online or offline.

 

I suspect it is nothing to do with the code but outside it.. perhaps in the server configuration.

Posted

hello Steve and others, here is the line of the code that, when not ommited, gives me an infinite loading state without showing anything on the link:

 

<link rel="stylesheet" type="text/css" href="stylesheet.css">

 

after removing it, it loads everything exept the formats spelled in the css page. I do not know what a "valid" link to the css sheet refers to, other than correct syntax on the tag. I would appreciate if you, steve, or anyone else can elaborate a bit more. thanks so much

Posted

The <base href= is completely missing on the non secure side. It exists on the secure side.

 

<base href="https://progroom.authsecure.com/catalog/">

 

That's why it finds the stylesheet.

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Posted

these are the "base references" i get:

 

With this address in the browser: https://localhost/catalog/index.php

I get: <base href="https://localhost/catalog/">

With this address : http://localhost/catalog/index.php

I get

<base href="http://localhost/catalog/">

and everything is perfect. It is the secure connection that is giving me a puzzle to solve.

 

Thanks for your diamonds of ideas, for these will help me make a fine jewerly of a solution. cheers!

Posted
these are the "base references" i get:

 

With this address in the browser: https://localhost/catalog/index.php

I get:  <base href="https://localhost/catalog/">

With this address : http://localhost/catalog/index.php

I get

<base href="http://localhost/catalog/">

and everything is perfect.  It is the secure connection that is giving me a puzzle to solve.

 

Thanks for your diamonds of ideas, for these will help me make a fine jewerly of a solution.  cheers!

I'm looking at the web based site.

 

Have a look for yourself and see if you can find <base href= on the page. It should be there but somehow it's been removed.

 

It's the first thing I look for when people have image or stylesheet problems.

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Posted

I created a simple file "index5.html" that contains the following:

 

<html>

<head>

<link rel="stylesheet" type="text/css" href="https://localhost/catalog/stylesheet.css">

</head>

<body>

<h2>hello</h2>

</body>

</html>

 

and I request it in the browser with: http://localhost/catalog/index5.html. The browser gives me the security alert about not recognizing the self signed security certificate but that it is a valid one and matches the page I am looking for. I press, that I want to proceed.. and I get the infinite state where I see nothing on the browser screen but the browser is looking for something for ever. When I stop the process and look at the "view code" for the blank page I have.. I see the following:

 

<html>

<head>

<link rel="stylesheet" type="text/css" href="https://localhost/catalog/stylesheet.css">

</head>

<body>

<h2>hello</h2>

</body>

</html>

 

My code!! But I see nothing in my screen. WHAT THE @##@!

 

This tells me I need a long brake to see the New Moore movie.

 

Cheers!

Posted

I found out that this problem does not appear in Netscape 7.1.. everthing worked as it should work.. but it does not work in firefox or in IE 5.5.

 

If anyone can help me in this matter, I would appreciate it.. I believe this is not the "right" forum to discuss Browsers interactions with SSL software and Servers under certain URL protocols..etc. So maybe you can refer me to good forums. cheers!

Posted

I resolved this issue by going back to IIS with openSSL. Things worked as they should. I read in mod_SSL and other SSL-apache related forums that all browsers have their quarks, specially internet explorer, has problems with open SSL that can sometimes be overcome with configuration workarounds, each with performance penalties. I had Apache2 with OpenSSL. Apache2 is said to be performance equal to IIS 5 but it did not work for me. I did not try Apache 1.3 but I have read that there are serious performance issues under windows 2000.

Solving this issue with IIS is not a very acceptable solution to me, but it will do for now. I guess I will go learn me some Linux!

Archived

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

×
×
  • Create New...