Shadyone Posted September 3, 2008 Posted September 3, 2008 I've searched hi and low and cant find anything to help. Well over a year ago I got an SSL certificate for my web site and never really finished off the site and therefore didnt promote it at all. The SSL certificate expired in March this year I think. I went to go back into my site and it doesnt work at all. www.wholesalevitamins.com.au The first time I tried it I got the 'turn globals on' error message. I worked out how to sort that out and now when the site loads its pretty shocking. The company that I bought the SSL certificate off helped me 'install' the certificate and I'm only assuming that they changed some settings in order to do so. Now that the certificate has expired my site is buggered. Does anyone know how to properly remove it all. Again, I'm only assuming that this is the cause. Cheers
Daemonj Posted September 3, 2008 Posted September 3, 2008 For some reason your site's base href is set for the https version, which is incorrect. Check your includes/configure.php and ensure that ENABLE_SSL is set to false and that your HTTP settings are set for http. "Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein
Shadyone Posted September 3, 2008 Author Posted September 3, 2008 For some reason your site's base href is set for the https version, which is incorrect. Check your includes/configure.php and ensure that ENABLE_SSL is set to false and that your HTTP settings are set for http. Will do thanks. How do I check that the HTTP settings are set up for http? Cheers
Shadyone Posted September 3, 2008 Author Posted September 3, 2008 I changed the /includes/configure.php so that ENABLE_SSL was set to false (it was set to true). I also had a look in cPanel X for a SSL manager, which I found but only found option for generating key's and certificates, nothing to remove a certificate.
Shadyone Posted September 3, 2008 Author Posted September 3, 2008 This is the only reference I could find to fix the 'base href is set for the https' thingy. I looked in the .htaccess file and couldnt find any reference to chrset my file is below ********************* #RewriteEngine On #RewriteCond %{SERVER_PORT} ^80$ #RewriteRule ^.*$ https://%{HTTP_HOST}%{REQUEST_URI} [QSA,R=301,L]I tried deleting this line but nothing changed # -FrontPage- IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti* <Limit GET POST> order deny,allow deny from all allow from all </Limit> <Limit PUT DELETE> order deny,allow deny from all </Limit> AuthName www.wholesalevitamins.com.au AuthUserFile /home/wholesal/public_html/_vti_pvt/service.pwd AuthGroupFile /home/wholesal/public_html/_vti_pvt/service.grp php_value register_globals 1 ************ Am I on the right track? Cheers
Shadyone Posted September 3, 2008 Author Posted September 3, 2008 A'ha so the 'error security connection failed' page that kept on coming up when I tried clicking on the page was actually done by firefox, I made an exemption to the site and its all there working fine. I do notice that in the address bar up top it does say https://xxxxx so how do I get rid of that? Cheers
Shadyone Posted September 4, 2008 Author Posted September 4, 2008 OK, so after some googling I removed the first three lines from the .htaccess file #RewriteEngine On #RewriteCond %{SERVER_PORT} ^80$ #RewriteRule ^.*$ https://%{HTTP_HOST}%{REQUEST_URI} [QSA,R=301,L] Not sure if it was needed as I dont know whether the '#' in front comments the line out. Anyway, didnt make any difference, still directs everything to a https:.......I'll keep searching
germ Posted September 4, 2008 Posted September 4, 2008 See if this file exists: /includes/local/configure.php If it exists it could contain data that could be causing SSL to remain active. 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 >
Shadyone Posted September 4, 2008 Author Posted September 4, 2008 Thanks germ, couldn't find anything in the folder except a README file
germ Posted September 4, 2008 Posted September 4, 2008 So what do you have for these 7 lines in your /includes/configure.php file: 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', ''); :unsure: 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 >
Shadyone Posted September 4, 2008 Author Posted September 4, 2008 I dont see the second line in your example. Could this be the problem? define('HTTP_SERVER', 'https://www.wholesalevitamins.com.au'); // eg, http://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.wholesalevitamins.com.au'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '');
germ Posted September 4, 2008 Posted September 4, 2008 That's the fly in the ointment: define('HTTP_SERVER', 'https://www.wholesalevitamins.com.au'); // eg, http://localhost - should not be empty for productive servers should be: define('HTTP_SERVER', 'http://www.wholesalevitamins.com.au'); // eg, http://localhost - should not be empty for productive servers 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 >
Shadyone Posted September 4, 2008 Author Posted September 4, 2008 Aha! that did it! Thank you very much for the help Jim.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.