faleyCT Posted April 21, 2008 Posted April 21, 2008 This is high priority so please read my explaination on another thread because I need help immediately since no one can log into site. http://www.oscommerce.com/forums/index.php?sho...p;#entry1238540 The configure.php files both in admin/includes and in catalog/includes are correct and https is not enabled (set to false). However, the links on my site still call for the https like even though it isn't defined as https. from ..admin/includes/configure.php define('HTTPS_CATALOG_SERVER', 'http://kanreikai.byethost32.com'); define('ENABLE_SSL_CATALOG', 'false'); from ..catalog/includes/configure.php define('HTTPS_SERVER', 'http://kanreikai.byethost32.com'); define('ENABLE_SSL', false); But the site still trys to flip to https. please check the site to see what I mean. I confirmed on the OSC server that the files are as shown above. http://kanreikai.byethost32.com/catalog/ Is there a variable somewhere that keeps setting the link to https?
♥Vger Posted April 21, 2008 Posted April 21, 2008 Your catalog/includes/configure.php file is still showing the https address as being: https://kanreikai.byethost32.com/catalog/ This is either because: 1. You did not reset the permissions on the catalog/includes/configure.php file to allow you to overwrite the existing file on the server with the edited file, or 2. You have a development copy/copies of the configure.php file inside the /includes/local/ folders. If you find configure.php files inside the 'local' folders then rename or delete them. Vger
MJP Posted April 21, 2008 Posted April 21, 2008 Try emptying that HTTPS_CATALOG_SERVER value in your configure.php. To: '' (that's 2 single quotes) in the configure php file. it's commented that this should not be empty for productive servers (which empty would make your site non-productive)
faleyCT Posted April 21, 2008 Author Posted April 21, 2008 Your catalog/includes/configure.php file is still showing the https address as being: https://kanreikai.byethost32.com/catalog/ This is either because: 1. You did not reset the permissions on the catalog/includes/configure.php file to allow you to overwrite the existing file on the server with the edited file, or 2. You have a development copy/copies of the configure.php file inside the /includes/local/ folders. If you find configure.php files inside the 'local' folders then rename or delete them. Vger Thank you for replying. I did reset the permissions on the config.php file on the remote site before I uploaded the edited file. Also, I verified that the file on the remote server is correct and does not have the https. I then reset the permissions. On your second point, there was a configure.php file in my includes/local folder of my local files (my PC) but not on the remote server. I deleted that file as you suggested (on my PC since there was none on the remote server), however, it has not as yet had any effect to the problem since my site still tries to access https. Please continue your help. [Correction... There was a configure.php file in the includes/local folder on the site which I also deleted with no effect. The admin/includes/local folder is the one that did not have a configure.php file. ] thank you.
faleyCT Posted April 21, 2008 Author Posted April 21, 2008 Try emptying that HTTPS_CATALOG_SERVER value in your configure.php. To: '' (that's 2 single quotes) in the configure php file. it's commented that this should not be empty for productive servers (which empty would make your site non-productive) Just tried it. (both configure.php files. No effect.
faleyCT Posted April 21, 2008 Author Posted April 21, 2008 Just tried it. (both configure.php files. No effect. A poster named marcoried has a thread where he basically says he can't un-install SSL which is the same problem. Please read. http://www.oscommerce.com/forums/index.php?showtopic=106810 Is there no way to do this? if so, my site is useless.
MJP Posted April 21, 2008 Posted April 21, 2008 A poster named marcoried has a thread where he basically says he can't un-install SSL which is the same problem.Please read. http://www.oscommerce.com/forums/index.php?showtopic=106810 Is there no way to do this? if so, my site is useless. I'm seeing that the links are working now with no SSL. But your configure.php file needs it's permissions set so it's not writeable.
faleyCT Posted April 21, 2008 Author Posted April 21, 2008 Problem is fixed, but I am not sure why. But thank you for your help Its just not happening anymore. I re edited the two config files so many times, but the last time worked. I think it had something to do with opening the file on the remote folder (after allowing permissions to edit) and then saving the file. The next time I opened the file it was as I edited it but not working. But when I saved the file from the remote to local, the file on local was unedited (set to true). Perhaps when I was reading and saving the file it was using the local instead of the remote even tho I was double clicking the file on the remote. I was "saving" the file instead of "saving to remote". I don't know, but now it works and I know I was doing something wrong and I think that was it. Sorry for my alarm but your input made me redo things unitl it worked.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.