10 replies [Last post]
floown's picture
Offline
Joined: 09/14/2007
Juice: -1
Was this information Helpful?

Hello!

I just crashed my site admin in activate this recommended module for a Ubercart site. I have retrieved it in deleting the module folder.
But now I can't reinstall it again, it seems not working for me.

And there exist no documentation about this module. It works for someone?

Thx

Secure Pages 5.x-1.3

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: Secure_Pages module crash my new Drupal installation with Ã

Go into your database and find the systems table. One of the rows in it corresponds to the Secure Pages module. Delete that row, and you should have access again.

floown's picture
Offline
Joined: 09/14/2007
Juice: -1
Hello Lyle By deleting the

Hello Lyle
By deleting the module the systems table was cleaned from Secure Pages.
But in fact the question is how to activate it now and how it could work like all other modules.

It works in your Drupal?

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: Hello Lyle By deleting the

Actually, I don't use Secure Pages or really know anything about it. It sounded like you couldn't access your module list any more and you needed a way to fix it. I knew what would probably fix that, but I'm afraid that's as much help as I can be.

Shawn Conn's picture
Offline
Administrator
Joined: 08/07/2007
Juice: 916
Fix

A better fix would have to set the status column to 0 in that row if you were wanting to disable the module, not remove it. Run the query to reinsert the module back into the list of drupal modules:

INSERT INTO `system` VALUES ('sites/all/modules/securepages/securepages.module', 'securepages', 'module', 'Set which pages are always going to be used in secure mode (SSL)', 0, 0, 0, -1, 0);

Change "sites/all..." to the module's location if you don't have your secure pages module in the "sites/all/modules" directory. From what I remember, the secure pages module by default enables all admin links to go to https URLs regardless if you have SSL enabled on your web server. Make sure you've set up your web server for SSL before you enable the module.

-Shawn Conn: If the Name Don't Rhyme It Ain't Mine

seanknight's picture
Offline
Joined: 02/29/2008
Juice: 6
Secure Pages Kills Drupal

Installing and enabling the Secure Pages module kills all drupal pages. I have to manually go into the DB to set its status to '0' in order to disable it. I have SSL running fine on this site and SSL worked fine with the E-commerce module. Is Secure pages the only way to force https on certain urls? Im running IIS 6 so using .htaccess is out of the question. Any ideas? Drupal 5.7, Secure pages 1.3, and Ubercart 1.0 - beta 5.

Shawn Conn's picture
Offline
Administrator
Joined: 08/07/2007
Juice: 916
Re: Secure Pages Kills Drupal

You should ask torgosPizza about using the secure pages module. He has more experience than we do with running Ubercart using that module.

-Shawn Conn: If the Name Don't Rhyme It Ain't Mine

torgosPizza's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.
Joined: 08/14/2007
Juice: 4110
Re: Re: Secure Pages Kills Drupal

Do you get blank pages after you enable SecurePages? I'm using Linux, not IIS so I'm not quite sure I'll be able to help TOO much. But I am using the same things you are and have never run into a problem.

If you can get some kind of an error notice (if you're getting a blank screen) then that'll help narrow the issue...

--
Help directly fund development: Donate via PayPal!

seanknight's picture
Offline
Joined: 02/29/2008
Juice: 6
Secure pages

Well I finally got Secure Pages working great since I moved over to an Apache sever. IIS + Drupal was giving me a headache. Unfortunately, about one day ago secure pages stopped forcing the checkout pages to https. The admin pages still work, but none of the other checkout pages will work. They worked before, and I can't think of anything that has changed in the last few days. This is a huge issue because you can't enter your credit card unless secure pages works. I get this error in my firebug window:

uncaught exception: Security Error: Content at http://www.betterbowel.com/cart/checkout may not load data from https://www.betterbowel.com/cart/checkout/payment_details/credit.

Here's what I have checked off as Secure:

admin
admin/*
cart/checkout/*
cart/checkout/review
cart/checkout/payment_details/*
cart/checkout/complete
user/*/order/*
user/*/orders/*
user/*/edit

torgosPizza's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.
Joined: 08/14/2007
Juice: 4110
Try adding cart/checkout to

Try adding cart/checkout to the setup.

--
Help directly fund development: Donate via PayPal!

seanknight's picture
Offline
Joined: 02/29/2008
Juice: 6
Re: Try adding cart/checkout to

Right, actually I figured this out pretty quickly. It is strange that it worked before without cart/checkout specified. Thanks!