Bagisto Forum

    Bagisto

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

    No Acces to Front, Register and noAdmin login (account) [SOLVE]

    Installing Bagisto
    3
    5
    1057
    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.
    • Hardkiffeur
      Hardkiffeur last edited by Hardkiffeur

      On a fresh install with composer on : WSL/ubuntu20.4 / nginx

      Follow : https://github.com/bagisto/bagisto

      No error during install.

      I'm not able to have the front side : Home and customer page :

      Trying to get property 'default_locale' of non-object
      /var/www/local.websites/local.fripus/packages/Webkul/Shop/src/Http/Middleware/Locale.php#44
      

      At the /admin login : "Please check your credentials and try again." with admin@example.com /admin123

      the admins table is empty on my database 😞

      mysqld --version : Ver 8.0.22-0ubuntu0.20.04.3
      npm7.3.0
      php 7.4.3
      Laravel 7.14.1

      Any idea ?

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

        @Hardkiffeur
        you just need to run the below command from the root directory of the project

        php artisan db:seed
        
        composer dump-autoload
        
        php artisan vendor:publish & press 0 to continue
        
        1 Reply Last reply Reply Quote 1
        • ghermans
          ghermans last edited by

          Hi @Hardkiffeur what method did you use to install Bagisto (web install or console) ?

          Kind regards,
          Glenn Hermans

          Manager Bagisto Europe
          info@bagisto.eu

          1 Reply Last reply Reply Quote 0
          • Hardkiffeur
            Hardkiffeur last edited by Hardkiffeur

            Thankx a lot Vaishali & Ghermans for the time 😉
            First for Ghermans : with the composer routine like I said on my first post.

            php artisan db:seed : Error In Connection.php line 671

            Error-Bagisto-install.jpg
            And two others :

            In PDOConnection.php line 63:
              SQLSTATE[42S22]: Column not found: 1054 Unknown column 'default_name' in 'field list'
            In PDOConnection.php line 61:
              SQLSTATE[42S22]: Column not found: 1054 Unknown column 'default_name' in 'field list'
            

            Then trying to make a 'php artisan migrate:fresh' => Get the Super privilege needed for the Create trigger ! into the Connection.php line 671 same for :

            In PDOConnection.php line 43:
              SQLSTATE[HY000]: General error: 1419 You do not have the SUPER privilege and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable)
            In PDOConnection.php line 41:
              SQLSTATE[HY000]: General error: 1419 You do not have the SUPER privilege and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable)
            

            This is a DevStack issue for me no ? so gonna check my sql configuration and/or start with Docker and let U know 😉

            HK

            1 Reply Last reply Reply Quote 0
            • Hardkiffeur
              Hardkiffeur last edited by

              Ok so I've made what sql said me :
              log with admin right on mysql and run :

              SET GLOBAL log_bin_trust_function_creators = 1;
              

              Then All three steps share by Vaishali could be run and I've the front / custommer / admin !

              Thanks for the time !

              HK

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