I had an autocomplete issue and followed some of the advice in this thread...

http://drupal.org/node/345506

I originally left the base directories blank. After changing that as per the above thread, I now get "page not found" errors when attempting to access ANYTHING that securepages wants to reroute to HTTPS - including my entire Admin section.

When I delete securepages from sites/all/modules, I get my admin menu back. I ran an update to see if it would clear out settings, then put securepages back - with the same result.

So, WHERE are these settings stored? I thought I might clear them manually by finding the right table via PHPMyAdmin, but can't seem to find the right place to clear out these settings. Help?!?

Feel free to contact me directly via email... klaus.brune@gmail.com

Comments

kbrune’s picture

Priority: Critical » Minor

So I resolved this myself and I thought I'd post it here in case it might help anyone in the future...

  1. I logged into my host's cPanel account and used PHPMyAdmin to access my Drupal database.
  2. Opened (clicked on, in the list on the left) the variables table.
  3. Found table row labeled securepages_basepath
  4. Clicked the edit icon (the pencil) and changed the value field so that the part inside the quotes reads "http://mydomain.com"
  5. Found the table row labeled securepages_basepath_ssl
  6. Edited this one and changed the value field so that the part inside the quotes reads "https://mydomain.com"
  7. For good measure, edited the securepages_pages variable and removed the lines referring to admin (so I could go back to editing this stuff on-site).

Of course, anyone following these steps should change the above two entries to reflect their actual unsecure/secure paths. Note that my problem started when both of these fields pointed to the same domain with NO http/https prefix, and at that point I had no way to recover without modifying the database directly. So here's my how-to.

astonvictor’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

I'm closing it because the issue was created a long time ago without any further steps.

if you still need it then raise a new one.
thanks