Question: Installation In A Subfolder Of Xampp

Installation In A Subfolder Of Xampp

Please help to install this one in a subfolder of xampp htdocs. attachment here to check why a blank blue screen comes/..

DC

davinder chawla

Asked
Please help to install this one in a subfolder of xampp htdocs.
attachment here to check why a blank blue screen comes/..
  • MS

    Mian Saleem

    Answered
    Hello,

    Please check the latest log file in `storage/logs/` folder and let me know the error details so that I can suggest.

    Thank you
  • DC

    davinder chawla

    Answered
    Please check this text file

    [2020-10-28 04:46:35] production.ERROR: No application encryption key has been specified. {"exception":"[object] (RuntimeException(code: 0): No application encryption key has been specified. at C:\\xampp\\htdocs\\SimpleBusinessManager\\vendor\\laravel\\framework\\src\\Illuminate\\Encryption\\EncryptionServiceProvider.php:80)
    [stacktrace]
    #0 C:\\xampp\\htdocs\\SimpleBusinessManager\\vendor\\laravel\\framework\\src\\Illuminate\\Support\\helpers.php(433): Illuminate\\Encryption\\EncryptionServiceProvider->Illuminate\\Encryption\\{closure}(NULL)
    #1 C:\\xampp\\htdocs\\SimpleBusinessManager\\vendor\\laravel\\framework\\src\\Illuminate\\Encryption\\EncryptionServiceProvider.php(84): tap(NULL, Object(Closure))
    #2 C:\\xampp\\htdocs\\SimpleBusinessManager\\vendor\\laravel\\framework\\src\\Illuminate\\Encryption\\EncryptionServiceProvider.php(61): Illuminate\\Encryption\\EncryptionServiceProvider->key(Array)
    #3 C:\\xampp\\htdocs\\SimpleBusinessManager\\vendor\\laravel\\framework\\src\\Illuminate\\Encryption\\EncryptionServiceProvider.php(33): Illuminate\\Encryption\\EncryptionServiceProvider->parseKey(Array)
    #4 C:\\xampp\\htdocs\\SimpleBusinessManager\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(801): Illuminate\\Encryption\\EncryptionServiceProvider->Illuminate\\Encryption\\{closure}(Object(Illuminate\\Foundation\\Application), Array)
    #5 C:\\xampp\\htdocs\\SimpleBusinessManager\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(687): Illuminate\\Container\\Container->build(Object(Closure))
    #6 C:\\xampp\\htdocs\\SimpleBusinessManager\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Application.php(796): Illuminate\\Container\\Container->resolve('encrypter', Array, true)
    #7 C:\\xampp\\htdocs\\SimpleBusinessManager\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(633): Illuminate\\Foundation\\Application->resolve('encrypter', Array)
    #8 C:\\xampp\\htdocs\\SimpleBusinessManager\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Application.php(781): Illuminate\\Container\\Container->make('encrypter', Array)
    #9 C:\\xampp\\htdocs\\SimpleBusinessManager\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(955): Illuminate\\Foundation\\Application->make('encrypter')
    #10 C:\\xampp\\htdocs\\SimpleBusinessManager\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(875): Illuminate\\Container\\Container->resolveClass(Object(ReflectionParameter))
    #11 C:\\xampp\\htdocs\\SimpleBusinessManager\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(836): Illuminate\\Container\\Container->resolveDependencies(Array)
    #12 C:\\xampp\\htdocs\\SimpleBusinessManager\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(687): Illuminate\\Container\\Container->build('App\\\\Http\\\\Middle...')
    #13 C:\\xampp\\htdocs\\SimpleBusinessManager\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Application.php(796): Illuminate\\Container\\Container->resolve('App\\\\Http\\\\Middle...', Array, true)
    #14 C:\\xampp\\htdocs\\SimpleBusinessManager\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(633): Illuminate\\Foundation\\Application->resolve('App\\\\Http\\\\Middle...', Array)
    #15 C:\\xampp\\htdocs\\SimpleBusinessManager\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Application.php(781): Illuminate\\Container\\Container->make('App\\\\Http\\\\Middle...', Array)
    #16 C:\\xampp\\htdocs\\SimpleBusinessManager\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(204): Illuminate\\Foundation\\Application->make('App\\\\Http\\\\Middle...')
    #17 C:\\xampp\\htdocs\\SimpleBusinessManager\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(178): Illuminate\\Foundation\\Http\\Kernel->terminateMiddleware(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))
    #18 C:\\xampp\\htdocs\\SimpleBusinessManager\\public\\index.php(60): Illuminate\\Foundation\\Http\\Kernel->terminate(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))
    #19 {main}
    "}
  • MS

    Mian Saleem

    Answered
    Hello,

    The `APP_KEY` isn't set for some reason. Please run `php artisan key:generate` or replace the `APP_KEY` line with following

    ```
    APP_KEY=base64:0XSYOkxxtFcndVXGtI8vwDkC4WX8I5XQdo/DIIhRvrE=
    ```

    I hope, this will resolve the `No application encryption key has been specified.` error.

    Thank you
  • MS

    Mian Saleem

    Answered
    Hello,

    Please download the latest file. I have just updated. You need php7.4 for latest version. Please update your php to 7.4 and then try to install the latest file. If you still have issue, please let me know.

    Thank you
  • MS

    Mian Saleem

    Answered
    Hello,

    By same error, you mean `unexpected '=>' (T_DOUBLE_ARROW)`? If yes, then your php version isn't php7.4 Please double check. If any other error, please let me know the error details.

    Thank you
  • MS

    Mian Saleem

    Answered
    Hello,

    The domain path should be set to `public` in the SBM files. You can't have /public/ in your url :(

    You can add a virtual that points to the SBM/public folder and then access the installer from that host.

    Laravel installation is not same as CodeIgniter v3. You will need to set the domain root path to public folder. You can refer to this article **[Xampp Virtual Host](https://www.codementor.io/@magarrent/how-to-install-laravel-5-xampp-windows-du107u9ji#xampp-virtual-host)**

    If still can't manage, please try to install it on live server so that I can check it for you.

    Thank you
  • Login to Reply