SSL Implementation Help
#361
Posted 07 March 2012 - 03:30 AM
I am having problems with my site. everything was working to my knowledge and we were able to check out. my provider (Network Solutions) changed or upgraded their PHP and I started getting errors about eregi and have been fixing them with preg_match. at the same time I have been checked for PCI compliance. they say my cert is not correct. all my browsers say that there is a valid ssl cert in place but I the SSL checks in OsCom don't pass, but I get the Blue Bar and Locked Lock. I have installed your checker files can you check this for me.
David
I PMed my site address to you.
#362
Posted 07 March 2012 - 11:03 AM
"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 >
#363
Posted 07 March 2012 - 02:09 PM
#364
Posted 07 March 2012 - 04:54 PM
#365
Posted 07 March 2012 - 05:58 PM
ffl, on 07 March 2012 - 02:09 PM, said:
Your config file is screwed up because the shop is SSL all the time. Read this.
It applies to you as well.
"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 >
#366
Posted 22 March 2012 - 01:01 PM
In IE I can see that it does not load the stylesheet (the page is displayed with the images but without styles). If I see the source code from IE, I see
[/color] <base href="http://farma10.com/farmacia-online/"> [color="#000000"]
when it should be with the 's'. After reading this threat I think the problem is in application_top.php but any change that you propose for
$request_type = (getenv('HTTPS') == 'on') ? 'SSL' : 'NONSSL';
didn't work.
Could you please guide me to solve the problem?
My includes/configure.php:
define('HTTP_SERVER', 'http://farma10.com');
define('HTTPS_SERVER', 'https://farma10.com');
define('ENABLE_SSL', true);
define('HTTP_COOKIE_DOMAIN', '.farma10.com');
define('HTTPS_COOKIE_DOMAIN', '.farma10.com');
define('HTTP_COOKIE_PATH', '/farmacia-online/');
define('HTTPS_COOKIE_PATH', '/farmacia-online/');
define('DIR_WS_HTTP_CATALOG', '/farmacia-online/');
define('DIR_WS_HTTPS_CATALOG', '/farmacia-online/');
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/');[/color]
[color="#000000"]My myenv.php[b]:
Version 1.2[/b][/color] [color="#000000"]SSL Variables[/color] [color="#000000"]HTTP HOST: [][/color] [color="#000000"]Server Port: [80][/color] [color="#000000"]SSL Status: [Undefined!][/color] [color="#000000"]Fowarded Server: [farma10.com][/color] [color="#000000"]Fowarded Host: [farma10.com][/color] [color="#000000"]Fowarded By: [Undefined!][/color] [color="#000000"]$_SERVER['HTTPS']: [Undefined!][/color] [color="#000000"]Warning!!![/color] [color="#000000"]The standard osC SSL detection code in /includes/application_top.php may NOT detect your SSL status correctly!!![/color] [color="#000000"]
NONSSL Variables HTTP HOST: [] Server Port: [80] SSL Status: [Undefined!] Fowarded Server: [Undefined!] Fowarded Host: [Undefined!] Fowarded By: [Undefined!] $_SERVER['HTTPS']: [Undefined!] Load: 1My cfgchk.php:
[b]File Permissions:[/b] [b]0444[/b]
Found HTTPS_SERVER:
[b]define('HTTPS_SERVER', 'https://farma10.com');[/b]
[b]HTTPS URL passed check![/b]
Found ENABLE_SSL.
[b]define('ENABLE_SSL', true);[/b]
[b]SSL enable passed check![/b]
Found HTTPS_COOKIE_DOMAIN:
[b]define('HTTPS_COOKIE_DOMAIN', '.farma10.com');[/b]
[b]HTTPS_COOKIE_DOMAIN line parsed![/b]
Parsing application_top.php for SSL detection key...
Found SSL detection key:
[b]$request_type = (getenv('HTTPS') == 'on') ? [/b][b]'SSL' : 'NONSSL';[/b]
Done!
Thank you,
Santi
#367
Posted 22 March 2012 - 04:39 PM
"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 >
#368
Posted 23 March 2012 - 01:44 PM
$request_type = ($_SERVER['HTTP_HTTPS'] == 'on') ? 'SSL' : 'NONSSL';and works perfectly.
Thank you very much, Jim.
Santi
#369
Posted 11 May 2012 - 03:33 PM
#370
Posted 11 May 2012 - 03:53 PM
I have been having the same issue as above, where all browsers are giving a mixed content warning when entering the cart. The shop is still under development but it's release has been delayed due to this problem. I have installed all of your test files in the cataloge can you please have a look at what is causing this problem? I will pm you my site if you could please help.
Thanks,
Glenn
#371
Posted 11 May 2012 - 04:39 PM
You'll need to copy the contribution files to the SSL folders for them to work.
"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 >
#372
Posted 12 May 2012 - 06:19 PM
Thanks for the help, I was really getting fustrated dealing with Bell Hosting (3 techs and 3 different answers).
#373
Posted 12 May 2012 - 07:24 PM
From what I can see if you copy the /shop/includes/configure.php file from the NONSSL folder to the SSL folder you'll probably be good to go
"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 >
#374
Posted 12 May 2012 - 07:39 PM
Thank you so much for pointing me in the correct direction!!!!
Glenn
#375
Posted 21 July 2012 - 05:21 PM
#376
Posted 21 July 2012 - 06:33 PM
For dedicated SSL you have to purchase and install a dedciated SSL cert.
Before purchasing a cert talk to your host about server requirements.
"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 >
#377
Posted 25 July 2012 - 01:31 PM
i'm trying to implement ssl for my site, but can't get it running and need some help.
i've read this post and also tried to change the "getenv" to "1" and also to "port 443" according to post #2, but with no success at all
everything seems to work fine until i hit the "confirm order" button, which gives me the following error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
customers account is created and i also get the order-email
ssl-help is still on the server (www.schoof-betriebsausstattungen.com/shop)
my conf files are:
- shop/includes/configure.php
define('HTTP_SERVER', 'http://www.schoof-betriebsausstattungen.com');
define('HTTPS_SERVER', 'https://uranus.safe-order.ch/~schoof-betriebsausstattungen.com');
define('ENABLE_SSL', true);
define('HTTP_COOKIE_DOMAIN', 'schoof-betriebsausstattungen.com');
define('HTTPS_COOKIE_DOMAIN', 'uranus.safe-order.ch/~schoof-betriebsausstattungen.com');
- shop/admin/includes/configure.php (admin is renamed)
define('HTTP_SERVER', 'https://uranus.safe-order.ch/~schoof-betriebsausstattungen.com');
define('HTTP_CATALOG_SERVER', 'https://uranus.safe-order.ch/~schoof-betriebsausstattungen.com');
define('HTTPS_CATALOG_SERVER', 'https://uranus.safe-order.ch/~schoof-betriebsausstattungen.com');
define('ENABLE_SSL_CATALOG', 'true');
let me know if you need more information, any help would be greatly appreciated
thx
#378
Posted 25 July 2012 - 08:33 PM
Check your error log.
If you don't have one you can force the site to make one for you. Follow the posts by steve_s starting here
That thread is about the admin but you can do the same thing on the catalog side - I've tried it.
"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 >
#379
Posted 26 July 2012 - 08:00 AM
thx for your quick reply
followed the instructions on the mentioned post (i've tried it in shop/include and also in shop/admin/includes), but its not working (even with the path replacement), the text file remains empty
may i pm you my ftp credentials so you'll have a look for me?
andrea
#380
Posted 26 July 2012 - 10:23 AM
"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 >









