Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Could someone help please?


Nathali

Recommended Posts

chek the following:

1)No java script or css has a ref to non ssl url.

2)Base href has www.site.in

 

3)All images are from https url.

Satish

 

Thank you very much for your replies satish & Jim?

 

I really don't know how to check it.

 

I think that I configured the configure.php files correct in the root/include directory and under the admin/includes

My admin panel is working good with the SSL and the padlock is there !

 

The thing is that I get the Https link, when I link to create_account.php and login pages in my browser (explorer 7) but I don't see the padlock icon...!

 

I can see it for a half second when the page is reloaded and then it disapears.

 

Could it be because of the flash banner or the loginbox best contribution that I installed?? god knows :'(

 

If someone could guide me what could I do I will be very happy, because now I am really desperate !!

 

my website link is pcmemory.co.il

 

Thanks a lot for your kind attention folks !

 

Best Regards !

Best Regards,

Nathali

Link to comment
Share on other sites

Thank you very much for your replies satish & Jim?

 

I really don't know how to check it.

 

I think that I configured the configure.php files correct in the root/include directory and under the admin/includes

My admin panel is working good with the SSL and the padlock is there !

 

The thing is that I get the Https link, when I link to create_account.php and login pages in my browser (explorer 7) but I don't see the padlock icon...!

 

I can see it for a half second when the page is reloaded and then it disapears.

 

Could it be because of the flash banner or the loginbox best contribution that I installed?? god knows :'(

 

If someone could guide me what could I do I will be very happy, because now I am really desperate !!

 

my website link is pcmemory.co.il

 

Thanks a lot for your kind attention folks !

 

Best Regards !

There was another thread similar to this that turned out to be the flash something. I can't remember what the fix was.

Link to comment
Share on other sites

There was another thread similar to this that turned out to be the flash something. I can't remember what the fix was.

 

Hi coopco !

 

Your reply helped me to find the solution.

 

I changed the includes/header.php file the flash section the link to https instead of http and now the create_account/php & login.php pages come with the secured padlock !

 

So it was the flash banner ha?!!

 

Thanks coopco very much ! it is not the first time that you guide me to be able to reach the solution at the end !!! :thumbsup:

 

But now I have a very small issue to solve..

 

I installed the loginbox best contribution , and the links there should be aimed to the https pages and the are not..

 

here is the loginbox.php file in the includes/box directory

 

loginbox.php

<?php

/*

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 osCommerce

 

Released under the GNU General Public License

 

Autologin added by DJ Downey http://www.liquidgfx.com

 

*/

 

// WebMakers.com Added: Do not show if on login or create account

if ( (!strstr($_SERVER['PHP_SELF'],'login.php')) and (!strstr($_SERVER['PHP_SELF'],'create_account.php')) and !tep_session_is_registered('customer_id') ) {

?>

<!-- loginbox //-->

<?php

if (!tep_session_is_registered('customer_id')){

 

?>

 

 

<tr>

<td>

<?php

$info_box_contents = array();

$info_box_contents[] = array('align' => 'left',

'text' => BOX_LOGINBOX_HEADING

);

new infoBoxHeading($info_box_contents, $newtheme, false, false);

$loginboxcontent = "

<form name=\"login\" method=\"post\" action=\"" . tep_href_link(FILENAME_LOGIN, 'action=process') . "\">

<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">

<tr>

<td align=\"center\" class=\"infoBoxContents\">

" . tep_box_greeting_top() . "

</td>

</tr>

<tr>

<td align=\"center\" class=\"infoBoxContents\">

" . BOX_LOGINBOX_EMAIL . "

</td>

</tr>

<tr>

<td align=\"center\" class=\"infoBoxContents\">

<input type=\"text\" name=\"email_address\" maxlength=\"96\" size=\"20\" value=\"\">

</td>

</tr>

<tr>

<td align=\"center\" class=\"infoBoxContents\">

" . BOX_LOGINBOX_PASSWORD . " <A HREF=\"" . tep_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL') . "\">" . BOX_LOGINBOX_FORGOT_PASSWORD . "</A>

</td>

</tr>

<tr>

<td align=\"center\" class=\"infoBoxContents\">

<input type=\"password\" name=\"password\" maxlength=\"40\" size=\"20\" value=\"\">

</td>

</tr>

<tr>

<td class=\"infoBoxContents\" align=\"center\">

" . tep_image_submit('button_login.gif', IMAGE_BUTTON_LOGIN) . "

 

</td>

</tr>

<tr>

<td align=\"center\" class=\"infoBoxContents\">

" . BOX_LOGINBOX_NEW . "

</td>

</tr>

</table>

</form>

";

$info_box_contents = array();

$info_box_contents[] = array('align' => 'center',

'text' => $loginboxcontent

);

new infoBox($info_box_contents);

?>

</td>

</tr>

<?php

} else {

// If you want to display anything when the user IS logged in, put it

// in here... Possibly a "You are logged in as :" box or something.

}

?>

<!-- loginbox_eof //-->

<?php

// WebMakers.com Added: My Account Info Box

} else {

if (tep_session_is_registered('customer_id')) {

?>

 

<!-- my_account_info //-->

<tr>

<td>

<?php

$info_box_contents = array();

$info_box_contents[] = array('align' => 'left',

'text' => BOX_HEADING_LOGIN_BOX_MY_ACCOUNT

);

new infoBoxHeading($info_box_contents, $newtheme, false, false);

$loginboxcontent = "

<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">

<tr>

<td align=\"center\" class=\"loginBoxGreeting\">

" . tep_box_greeting_top() . "

</td>

</tr>

<tr>

</table>

";

$info_box_contents = array();

$info_box_contents[] = array('align' => 'center',

'text' => $loginboxcontent .

'<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'NONSSL') . '">' . LOGIN_BOX_MY_ACCOUNT . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_ACCOUNT_EDIT, '', 'NONSSL') . '">' . LOGIN_BOX_ACCOUNT_EDIT . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_ACCOUNT_HISTORY, '', 'NONSSL') . '">' . LOGIN_BOX_ACCOUNT_HISTORY . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_ADDRESS_BOOK, '', 'NONSSL') . '">' . LOGIN_BOX_ADDRESS_BOOK . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_ACCOUNT_NOTIFICATIONS, '', 'NONSSL') . '">' . LOGIN_BOX_PRODUCT_NOTIFICATIONS . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_LOGOFF, '', 'NONSSL') . '"><b>' . LOGIN_BOX_LOGOFF . '</b></a>'

);

new infoBox($info_box_contents);

?>

</td>

</tr>

<!-- my_account_info_eof //-->

 

<?php

}

}

?>

 

you can see what I mean in my site pcmemory.co.il (the customers login box)

 

So if you, or someone could help me please to do that then all my SSl problems will be solved ! :thumbsup:

 

Regards,

Best Regards,

Nathali

Link to comment
Share on other sites

I succeed to solve most of the issues, but I need to modify these 2 lines to direct to https links

 

Could someone help please ???

 

 

define('BOX_LOGINBOX_NEW', '<span class="greetUser">Not registered yet?</span><br><a href="' . tep_href_link(FILENAME_CREATE_ACCOUNT) . '"><span class="smallText">Click here to<br>create an account</span></a>');

 

define('BOX_LOGINBOX_FORGOT_PASSWORD', '<a href="' . FILENAME_PASSWORD_FORGOTTEN . '"><i>(forgotten?)</i></a>');

 

Thank you,

 

Nathali

Best Regards,

Nathali

Link to comment
Share on other sites

tep_href_link(FILENAME_CREATE_ACCOUNT)

Should be:

 

tep_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL')

 

FILENAME_PASSWORD_FORGOTTEN

Should be:

 

tep_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL')

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

tep_href_link(FILENAME_CREATE_ACCOUNT)

Should be:

 

tep_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL')

 

FILENAME_PASSWORD_FORGOTTEN

Should be:

 

tep_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL')

 

Thank you very much Jim !!!

 

Now it works great !

 

I really appreciate that you always kind to help me ! :thumbsup:

 

Wish you all the best ,

 

Nathali

Best Regards,

Nathali

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...