Jump to content

[Resolved] SSL Enabled and store broken


BrightO

Recommended Posts

When you enable SSL via the backend admin and then you break the site, is there an easy way of fixing this manually please (CCv6.1.1) ? I am unable to login to the backend of the store to disable SSL.

I believe previous versions have config tools to download and do this.
I am literally going into the DB to change cubecart_config table out of desperation....

I see a key value pair of "ssl_url":"https:\/\/mysite\/cubecart6","ssl_path":"\/cubecart6\/"
Can I just delete and replace this with "enable_ssl":"0"

Or there is a better way of fixing this? Thought I should ask before i make things worse.

Many thanks

 

Bright

Link to comment
Share on other sites

"I don't see a way to unlock it."

Click on that padlock icon just above the text entry field where you enter your CubeCart admin username. (I am NOT referring to any padlock your browser shows in the browser's address bar.)

All it does is to refetch the login page using https if it was http, or http if it was https.

Link to comment
Share on other sites

When you hover your mouse cursor over the padlock as seen on the CubeCart Store Control Panel Login box, does it not change to a pointy-finger and the web address for this link does not show on the browser's status bar?

When actually clicking on the padlock image, do you not get a page refresh?

If the padlock is not a link, and does not behave like a common link, then we need to look into this. The CC611 admin template login.php has this being a standard link.

Link to comment
Share on other sites

I appreciate your input and quick response.

@Brian, I am working in localhost mode just trying the look and feel of 6.1.1 for a new project. So no option for https amendment from the browser.

When i type in http://127.0.0.1/cubecartv6/ it auto changes the protocol from listening on port 80 (http://) to port 443 (https://) then i get cannot connect to this URL error (which makes sense because I haven't got SSL enabled on the server). The cubecart_config table data is different from a fresh install I made so I am assuming when i enabled the SSL in the backend it updated the DB and now forcing me to https.

@ Dirty Butter, thanks for your input also, can you let me know what you amended in the cubecart_config table please? Any joy with the htaccess amendment? If yes, what did you change.

 

Many thanks

Link to comment
Share on other sites

Ok, so I have made some progress, was able to login to admin panel via http://, then wen to ->Store Settings->SSL (tab) ->Enable SSL - changed to 'No' -> Save...

Cleared cache -> restart server.

Went to front end but still redirects me to https:// even when i type in http://127.0.0.1/cubecart6

I have done a fresh install and its working fine, but it will be nice to have a solution for this in case someone face the same issue in Production.

Perhaps something similar to this CubeCart Config recovery tool -> http://files.inmotionhosting.com/support_files/CubeCart-v3_Config_Tool_1.0.zip

for V6?

Or if someone can point us to code specific in package or database where we can do manually amendment that will be great.

Thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...