Error during installation:

  • David Odio
    Participant
      # 7 months ago

      Got following erro while installing:

      Type error: Too few arguments to function RachidLaasri\LaravelInstaller\Helpers\DatabaseManager::response(), 1 passed in C:\inetpub\HVHOA\vendor\rachidlaasri\laravel-installer\src\Helpers\DatabaseManager.php on line 40 and exactly 3 expected

    • laravel-bap
      Keymaster
        # 7 months ago

        Hi,

        Do you have an empty password? There is strange problem with the installation package that we use (RachidLaasri/LaravelInstaller ) when password is empty.

        Please try to setup Your password. If this won’t work run console installer.

        Manual Installer Steps

        1. open console and cd into application root folder.
        2. setup Your database in .env file and APP_URL = “localhost:8000”
        3. run “php artisan config:cache”
        4. run “php artisan cache:clear”
        5. run command “php artisan bap:install”
        6. run artisan serve – this will run php server on localhost:8000 address.

        http://laravel-recipes.com/recipes/282/running-phps-built-in-web-server

        Step 6 is optional if You are using Apache, but then, of course, U need to map domain to public folder etc.

        let me know if you were able to install.

      • paulchicago74
        Participant
          # 5 months, 3 weeks ago

          I am getting the same error even when I have included a password.

          I am running on EasyPHP Server.

        • paulchicago74
          Participant
            # 5 months, 3 weeks ago

            By the way, I cant install manually too.

            I am getting the following error:
            Plugin ‘*81F5E21E35407D884A6CD4A731AEBFB6AF209E1B’ is not loaded

          • paulchicago74
            Participant
              # 5 months, 3 weeks ago

              I tried again with a clean EasyPHP install and got the following error:
              In Connection.php line 664:

              SQLSTATE[42S01]: Base table or view already exists: 1050 Table ‘comments’ already exists (SQL: create table commen
              ts(idint unsigned not null auto_increment primary key,commentable_idvarchar(191) null,commentable_type

              varchar(191) null, commented_id varchar(191) null, commented_type varchar(191) null, comment longtext not nul
              l, approved tinyint(1) not null default ‘1’, rate double(15, 8) null, created_at timestamp null, updated_at
              timestamp null) default character set utf8mb4 collate ‘utf8mb4_unicode_ci’)

            • paulchicago74
              Participant
                # 5 months, 3 weeks ago

                Here is one more:
                “Call to undefined function Illuminate\Encryption\openssl_cipher_iv_length()”

                Looks like your install is not mature enough to go live. The documentation doesnt go thru how to install on a local server.

              • laravel-bap
                Keymaster
                  # 5 months, 3 weeks ago

                  Hi,

                  I didn’t use EasyPHP Server I will check how to install application on EasyPHP Server.

                  I understand that as “manual installation” we understand the same thing, right?

                  Installation via php artisan

                  —-
                  1. open console and cd into application root folder.
                  2. setup Your database info in .env file and APP_URL = “localhost:8000”
                  3. run “php artisan config:cache”
                  4. run “php artisan cache:clear”
                  5. run command “php artisan bap:install”
                  6. run artisan serve – this will run php server on localhost:8000 address.
                  —–

                  About other issues:
                  Plugin ‘*81F5E21E35407D884A6CD4A731AEBFB6AF209E1B’ is not loaded
                  Not enough information to understand what’s going on, but Google says that the user does not have permission to access mysql database – he can’t connect.

                  Base table or view already exists
                  Plese, check files in /database/migrations — maybe you have duplicate migration by using vendor: publish?
                  Call to undefined function Illuminate\Encryption\openssl_ciphera _iv_length()
                  This is not problem with script. You don’t have extensions in Your PHP.

                  Enable this extension (php_mcrypt.dll) in your php.ini file:
                  extension=php_mcrypt.dll

                You must be logged in to reply to this topic.