New Landing How can we help? Atelier Small bugs in Maintenance Mode

Viewing 15 posts - 1 through 15 (of 24 total)
  • Posted in: Atelier
  • #187580
    gehrkensit
    Member
    Post count: 38

    Setting “On (Standard)” shows a template with an hardcoded logo – does not respect uploaded logo from theme options. So, I tried: “On (custom page)” and set one of the imported demo pages (pages/coming-soon/) for the maintenance but this creates in chrome and Safari following permanent error: ERR_TOO_MANY_REDIRECTS

    Can you please fix/help?`Thanks a lot.

    #187583
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Can you provide your site url and admin credentials so we can check it?
    Use the private reply.

    -Rui

    #187586
    gehrkensit
    Member
    Post count: 38
    This reply has been marked as private.
    #187592
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Couldn’t figure it out.
    What do you have inside your htaccess file? Can you post it here?

    Thanks

    -Rui

    #187603
    gehrkensit
    Member
    Post count: 38
    This reply has been marked as private.
    #187604
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    ok. Let us know.
    -Rui

    #187792
    gehrkensit
    Member
    Post count: 38

    So, we fixed the bug in your “swift-framework/core/sf-functions.php” which lead to a redirect loop with ssl enabled sites and maintenance mode. Please consider integrating this fix in a future release.

    🙂

        /* GET CURRENT PAGE URL
        ================================================== */
        function sf_current_page_url() {
            $pageURL = 'http';
            $defaultPort = "80";
            if ( isset( $_SERVER["HTTPS"] ) ) {
                if ( $_SERVER["HTTPS"] == "on" ) {
                    $pageURL .= "s";
                    $defaultPort = "443";
                }
            }
            $pageURL .= "://";
            if ( $_SERVER["SERVER_PORT"] != $defaultPort ) {
                $pageURL .= $_SERVER["SERVER_NAME"] . ":" . $_SERVER["SERVER_PORT"] . $_SERVER["REQUEST_URI"];
            } else {
                $pageURL .= $_SERVER["SERVER_NAME"] . $_SERVER["REQUEST_URI"];
            }
    
            return $pageURL;
        }
    
    
    #187960
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Thanks. Will forward it to the development team and we will reply you later about this.

    -Rui

    #187976
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Thanks for that – have edited for the next update.

    FYI – the standard maintenance mode uses the Admin Login Logo for the maintenance mode (this is set in the theme options).

    – Ed

    #187978
    gehrkensit
    Member
    Post count: 38

    Ah, perfect. Didn´t notice that it uses the admin logo. Thought of the main site logo at first 😉

    Thanks for help & quick support!

    #188071
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem 🙂

    #196020
    9studios
    Member
    Post count: 22

    Hi!

    Have the same problem ERR_TOO_MANY_REDIRECTS

    #196043
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Check your htaccess file probably some incorrect setting it’s causing it.
    Check also your error logs.

    -Rui

    #196111
    9studios
    Member
    Post count: 22
    This reply has been marked as private.
    #196118
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Try to use only the default htaccess settings to see what happens.

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress
    

    -Rui

Viewing 15 posts - 1 through 15 (of 24 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register