HTTPS to HTTP will not work

If im in the shopping cart in the HTTPS section and click on the menu it will not work



I’ll be in

https://www.yourdomain.com/index.php?dispatch=checkout.cart



then decide to click on a menu item on the left and it takes me to



https://www.yourdomain.com/tools-and-maintenance/

[QUOTE]Not Found



The requested URL /tools-and-maintenance/ was not found on this server.



Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.[/QUOTE]

See this bug:

[url]http://forum.cs-cart.com/vbugs.php?do=view&vbug_id=1877[/url]

I tried this [url]http://forum.cs-cart.com/showpost.php?p=81264&postcount=10[/url]



And still no go :confused:



Also did the


[QUOTE]Index: /branches/2.0.x/core/fn.control.php

===================================================================

— /branches/2.0.x/core/fn.control.php (revision 9088)

+++ /branches/2.0.x/core/fn.control.php (revision 9606)

@@ -222,5 +222,4 @@

$secure_controllers = array(

‘payment_notification’ => ‘passive’,

  •   'pages' => 'passive',
    'image' => 'passive',
    );

    Index: /branches/2.0.x/addons/form_builder/func.php

    ===================================================================

    — /branches/2.0.x/addons/form_builder/func.php (revision 9088)

    +++ /branches/2.0.x/addons/form_builder/func.php (revision 9606)

    @@ -299,3 +299,8 @@

    }



    +function fn_form_builder_init_secure_controllers($secure_controllers)

    +{
  • $secure_controllers[‘pages’] = ‘passive’;

    +}

    +

    ?>

    Index: /branches/2.0.x/addons/form_builder/controllers/customer/pages.post.php

    ===================================================================

    — /branches/2.0.x/addons/form_builder/controllers/customer/pages.post.php (revision 7502)

    +++ /branches/2.0.x/addons/form_builder/controllers/customer/pages.post.php (revision 9606)

    @@ -39,6 +39,14 @@

    if ($mode == ‘view’ && !empty($_REQUEST[‘page_id’])) {

    // if form is secure, redirect to https connection
  • if (db_get_field(“SELECT value FROM ?:form_options WHERE element_type = ?s AND page_id = ?i”, FORM_IS_SECURE, $_REQUEST[‘page_id’]) == ‘Y’ && !defined(‘HTTPS’)) {
  •   return array(CONTROLLER_STATUS_REDIRECT, Registry::get('config.https_location') . '/' . Registry::get('config.current_url'));

+

  • $page_is_https = db_get_field(“SELECT value FROM ?:form_options WHERE element_type = ?s AND page_id = ?i”, FORM_IS_SECURE, $_REQUEST[‘page_id’]);
  • if (!defined(‘HTTPS’)) {
  •   if ($page_is_https == 'Y') {
  •   	return array(CONTROLLER_STATUS_REDIRECT, Registry::get('config.https_location') . '/' . Registry::get('config.current_url'));
  •   }
  • } else {
  •   if ($page_is_https != 'Y') {
  •   	return array(CONTROLLER_STATUS_REDIRECT, Registry::get('config.http_location') . '/' . Registry::get('config.current_url'));
  •   }
    }



    Index: /branches/2.0.x/addons/form_builder/init.php

    ===================================================================

    — /branches/2.0.x/addons/form_builder/init.php (revision 7673)

    +++ /branches/2.0.x/addons/form_builder/init.php (revision 9606)

    @@ -56,5 +56,6 @@

    ‘get_page_data’,

    ‘page_object_by_type’,
  • ‘clone_page’
  • ‘clone_page’,
  • ‘init_secure_controllers’

    );[/QUOTE]

Try to post in that bug thread that their changes bring no relieve.

thank you for your help, I’ll do that…



What part of Texas are you in ?

Houston

Born and raised in Pflugerville… :smiley: :smiley:

Born in Moscow, raised in NY.

[quote name=‘TexasGuy’]Born in Moscow, raised in NY.[/QUOTE]



Pflugerville is just north west of you… :cool:





ANYWAY, If anyone has any input please let me know… I know im losing sells with this!

[quote name=‘TexasGuy’]See this bug:

[url]http://forum.cs-cart.com/vbugs.php?do=view&vbug_id=1877[/url][/QUOTE]



Did you have problems with your HTTPS going to HTTP ?

Yeah but it is for plain pages, if I go to SSL cart then to any of regular “pages” then it goes as SSL to the page, if you go to the category or a product, it goes back to non-SSL. Thus, I don’t really see it as a big problem so far. Plus, I have not tried the fix yet.