How to disable ssl

I have some problems on my hosting server with ssl.

Cant access my backend because, before the problems on the server I turned ssl on. Is there a way to disable ssl in a php file?

Then i can access my backend without https and test it again.

Hi Louwie,



You’ll need to edit the database to “turn off” the SSL in administration checkbox



Run this in PHPMyAdmin if you have access to it


REPLACE INTO `cscart_settings` (`option_id`, `option_name`, `section_id`, `subsection_id`, `option_type`, `value`, `position`, `is_global`) VALUES
(10004, 'secure_admin', 'General', '', 'C', 'N', 2, 'Y');

[quote name=‘JesseLeeStringer’]Hi Louwie,



You’ll need to edit the database to “turn off” the SSL in administration checkbox



Run this in PHPMyAdmin if you have access to it


REPLACE INTO `cscart_settings` (`option_id`, `option_name`, `section_id`, `subsection_id`, `option_type`, `value`, `position`, `is_global`) VALUES
(10004, 'secure_admin', 'General', '', 'C', 'N', 2, 'Y');
[/QUOTE]



Great! Thank you for this fast solution…

Hello again… :smiley:



With the above solution its not disabled for ever?

Because I have trouble to install ssl again…

You just need to check the “SSL used in Administration” checkbox again from within the “settings” page (under administration)

okay, thank you!

I’m getting this same error code during the checkout process also though and of course I need SSL enabled for checkouts… Any suggestions??

[quote name=‘JesseLeeStringer’]Hi Louwie,



You’ll need to edit the database to “turn off” the SSL in administration checkbox



Run this in PHPMyAdmin if you have access to it


REPLACE INTO `cscart_settings` (`option_id`, `option_name`, `section_id`, `subsection_id`, `option_type`, `value`, `position`, `is_global`) VALUES
(10004, 'secure_admin', 'General', '', 'C', 'N', 2, 'Y');
[/QUOTE]



I know this is old but this just saved me a LOT of time. I screwed up on an import from one DB that had SSL enabled to one that didnt and it locked me out…

Is this still relevant for the 2.0.12 release of CS-CART, i have just moved servers and it hasn’t got ssl on it atm I can’t get to the cart,admin area or anywhere as i had all of the settings set to SSL, I tried running this command and it executed fine but it doesn’t appear to have helped the situation.



any help would be appreciated

[quote name=‘AmitP’]Is this still relevant for the 2.0.12 release of CS-CART, i have just moved servers and it hasn’t got ssl on it atm I can’t get to the cart,admin area or anywhere as i had all of the settings set to SSL, I tried running this command and it executed fine but it doesn’t appear to have helped the situation.



any help would be appreciated[/quote]

Through phpMyAdmin the field “value” is empty by default. There isn’t a “N”. Try it direct through phpMyAdmin and delete the “N” form value field. Then clear your cache and try to log in.

[quote name=‘indy0077’]Through phpMyAdmin the field “value” is empty by default. There isn’t a “N”. Try it direct through phpMyAdmin and delete the “N” form value field. Then clear your cache and try to log in.[/QUOTE]



i could not access admin panel.



“The page isn’t redirecting properly”.



Please help

What does it say



John

[url]http://naturatoys.com.au/cart1/admin286.php[/url]

“The page isn’t redirecting properly



Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

* This problem can sometimes be caused by disabling or refusing to accept

cookies.”




[quote name=‘johnbol1’]What does it say



John[/QUOTE]

thank you all. clearing cach solved my problem

[quote name=‘sridharkalaibala’]i could not access admin panel.



“The page isn’t redirecting properly”.



Please help[/QUOTE]

It looks like the database structure has changed. In v4.01 you can find the 'secure_admin' in the 'cscart_settings_objects' table. Setting it to N did the trick for me.

[quote name='djkriminal' timestamp='1377582147' post='167417']

It looks like the database structure has changed. In v4.01 you can find the 'secure_admin' in the 'cscart_settings_objects' table. Setting it to N did the trick for me.

[/quote]



mark,it woks,thank you.

[quote name='djkriminal' timestamp='1377582147' post='167417']

It looks like the database structure has changed. In v4.01 you can find the 'secure_admin' in the 'cscart_settings_objects' table. Setting it to N did the trick for me.

[/quote]



Changed it to “N” but it keeps sending to the previous link https://www.abc.com/admin.php whereas it should be https://www.abc.com/admin.php



It says

Not Found



The requested URL /admin.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache Server at www.dordpengarah.com Port 443



What could be the problem? Please help me.

[color=#282828][font=arial, verdana, tahoma, sans-serif]Changed it to “N” but it keeps sending to the previous link [/font][/color][url=“https://www.abc.com/admin.php”]https://www.abc.com/admin.php[/url][color=#282828][font=arial, verdana, tahoma, sans-serif] whereas it should be[/font][/color][url=“https://www.abc.com/admin.php”]https://www.abc.com/admin.php[/url]



[color=#282828][font=arial, verdana, tahoma, sans-serif]It says[/font][/color]

Not Found



[color=#282828][font=arial, verdana, tahoma, sans-serif]The requested URL /admin.php was not found on this server.[/font][/color]

[color=#282828][font=arial, verdana, tahoma, sans-serif]Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache Server at www.dordpengarah.com Port 443[/font][/color]



[color=#282828][font=arial, verdana, tahoma, sans-serif]What could be the problem? Please help me. [/font][/color]







************ REPLY *****************************************



Goto oc_setting on your database and look for config_secure, set value to 0 instead of 1.







This works on V2.0.0





[color=#282828][font=arial, verdana, tahoma, sans-serif]
[/font][/color]

[quote name='payme.lk' timestamp='1420874284' post='202142']

Changed it to “N” but it keeps sending to the previous link [url=“https://www.abc.com/admin.php”]https://www.abc.com/admin.php[/url] whereas it should be [url=“https://www.abc.com/admin.php”]https://www.abc.com/admin.php[/url]



It says

Not Found



The requested URL /admin.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache Server at www.dordpengarah.com Port 443



What could be the problem? Please help me.

[/quote]







Go to your database and look of oc_settings and change value to 0 instead of 1.





This applies to Version 2.0.0

And clear the cache.