Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Create an account -https page loading on first go


girl

Recommended Posts

Opps title error it should be https page NOT loading on first go - sorry about that:( if a mod can correct it that would be great. if not that is life.

 

Hi,

I hope this is the right area to post this.

 

I have installed SSL and in general it works fine.

However when I go to register as a new user it intially send me to the http page and not the https page.

Once I add all my info as a new member and select the country and hit enter it refreshes and send me to the https page.

 

how can I direct the register link to the https on the first go?

 

When I login and check my account it automatically goes to https.

 

Thanks in advance for any help.

Link to comment
Share on other sites

Opps title error it should be https page NOT loading on first go - sorry about that:( if a mod can correct it that would be great. if not that is life.

 

Hi,

I hope this is the right area to post this.

 

I have installed SSL and in general it works fine.

However when I go to register as a new user it intially send me to the http page and not the https page.

Once I add all my info as a new member and select the country and hit enter it refreshes and send me to the https page.

 

how can I direct the register link to the https on the first go?

 

When I login and check my account it automatically goes to https.

 

Thanks in advance for any help.

Did you make changes to the create_account.php file?

Link to comment
Share on other sites

make sure the ssl in enable in your catalog/includes/configure.php, and your create_account.php uses ssl.

The easiest way I think, is set HTTP_SERVER in the config file to 'https://YOUR.DOMAIN'

Link to comment
Share on other sites

Did you make changes to the create_account.php file?

Rephrase

Have you made changes to the create_account.php file previously?

Link to comment
Share on other sites

Did you make changes to the create_account.php file?

Hi Coopco

around line 258 I have this

 

tep_redirect(tep_href_link(FILENAME_CREATE_ACCOUNT_SUCCESS, '', 'SSL'));

}

}

 

$breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL'));

 

do I need to add anything to it??

 

Hi Bill

"make sure the ssl in enable in your catalog/includes/configure.php, and your create_account.php uses ssl.

The easiest way I think, is set HTTP_SERVER in the config file to 'https://YOUR.DOMAIN'"

 

I think if I do that my whole site will become ssl protected, which is something I am trying not to do, for I think if that is the case I would have to loose the external counter because I would get secure and unsecure warnings. But I may be wrong.

 

 

I just noticed that when I scroll over the following "My account and Checkout, I see in the bottom window the https link for those.

So I guess I just need the s or something to some file, but where...

Link to comment
Share on other sites

seems both the two lines are correct.

 

can you check the login.php, around line 162, the code for account creating link should be

 

tep_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL')

Link to comment
Share on other sites

seems both the two lines are correct.

 

can you check the login.php, around line 162, the code for account creating link should be

 

tep_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL')

 

at 120

<td width="100%" valign="top"><?php echo tep_draw_form('login', tep_href_link(FILENAME_LOGIN, 'action=process', 'SSL')); ?><table border="0" width="100%" cellspacing="0" cellpadding="0">

 

178 td align="right"><?php echo '<a href="' . tep_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL') . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td>

 

I have a login box module added.

Link to comment
Share on other sites

It maybe that your loginbox is just pointing to http instead of https.

Yes that is what I am thinking too.

Do you know how I can make it point to https?

I do not know where to find the code.

I have looked in various files but have not found it as yet.

Link to comment
Share on other sites

Yes that is what I am thinking too.

Do you know how I can make it point to https?

I do not know where to find the code.

I have looked in various files but have not found it as yet.

it is probably in includes\boxes and may be called login.php

Link to comment
Share on other sites

Thanks for your help.

I got it. It is the login info box contribution module, which yes was in includes/box/memberlogin.php

So now the forgot password as well as the register are secure :lol: i'm so thrilled.

Thanks again for taking the time to help.

 

now to start the search for the great shopping cart continue button :)

Link to comment
Share on other sites

Thanks for your help.

I got it. It is the login info box contribution module, which yes was in includes/box/memberlogin.php

So now the forgot password as well as the register are secure :lol: i'm so thrilled.

Thanks again for taking the time to help.

 

now to start the search for the great shopping cart continue button :)

No problem, good luck with your search.

 

I used LoginBox-Secure Login & Forgotten Password link addon.

Link to comment
Share on other sites

  • 4 weeks later...
Thanks for your help.

I got it. It is the login info box contribution module, which yes was in includes/box/memberlogin.php

So now the forgot password as well as the register are secure :lol: i'm so thrilled.

I was wondering what you added in memberlogin.php to enable login under https

when im in https i cant login using the the loginbox but can using

http=login

If i use the osc login under https thats works. but the loginbox in right colum wont.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...