Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    ELB works for http but not for https I get Mixed Content: The page at 'https://ov3rt.com/' errors

    Installing Bagisto
    4
    7
    513
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mikeyapina last edited by

      ELB works for http but not for https I get Mixed Content: The page at 'https://ov3rt.com/' errors!

      Screen Shot 2020-06-18 at 6.15.17 AM.png

      1 Reply Last reply Reply Quote 0
      • M
        mikeyapina last edited by

        APP_NAME=ov3rt
        APP_ENV=local
        APP_VERSION=1.1.0
        APP_KEY=base64:oAdbdj8w4StZsKWLDLiUsmdXChXnH2S/IdpO5Ljuro8=
        APP_DEBUG=false
        APP_URL=https://ov3rt.com
        APP_TIMEZONE=America/Los_Angeles
        APP_LOCALE=en
        LOG_CHANNEL=stack
        APP_CURRENCY=USD

        1 Reply Last reply Reply Quote 0
        • V
          Vaishali Agarwal last edited by

          Hi @mikeyapina
          follow this link https://forums.bagisto.com/topic/1422/missing-admin-submenus/7

          Thanks

          M 1 Reply Last reply Reply Quote 0
          • M
            mikeyapina @Vaishali Agarwal last edited by

            @Vaishali-Agarwal thanks this worked.

            Step 1 - In boot() method of AppServiceProvider (app/Providers/AppServiceProvider.php), use this

            $this->app['request']->server->set('HTTPS', true);

            1 Reply Last reply Reply Quote 1
            • H
              harshaq last edited by

              @Vaishali-Agarwal Thank you. It worked for me also.

              1 Reply Last reply Reply Quote 0
              • M
                mikeyapina last edited by

                OK, so I had this issue previously and resolved it, but now its back, and I don't know what to do.. It is due to a mix of HTTP and https I tried to redirect everything to https with he below script change, but it isn't working .. what's wrong?

                <?php

                namespace App\Providers;

                use Illuminate\Support\ServiceProvider;
                use Illuminate\Support\Facades\Schema;

                class AppServiceProvider extends ServiceProvider
                {
                /**
                * Bootstrap any application services.
                *
                * @return void
                */
                public function boot()
                {
                Schema::defaultStringLength(191);

                    $this->app['request']->server->set('HTTPS', true);
                }
                
                /**
                 * Register any application services.
                 *
                 * @return void
                 */
                public function register()
                {
                
                }
                

                }
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                "AppServiceProvider.php" 31L, 523C

                A 1 Reply Last reply Reply Quote 0
                • A
                  Amitk-Webkul @mikeyapina last edited by

                  Hi @mikeyapina,

                  Which version of Bagisto are you using?

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post