500 error first time install

0

Hi,

I uploaded all files to a sub-folder, typed https://www.mydomain.com/subfolder/install
And I get 500 error?

I also use your simple invoice. (works perfectly)
My server (plesk (debian)/DB Mysql latest version)

Read the doc...

why can't I install?

Thanks
Gunther

Question Resolved For: Simple Business Manager - Invoicing Solution 0 Votes 19 Answers 789 Views
Asked by Gunther 3 years ago

0

Answered by Mian Saleem 3 years ago

Hello,

The Laravel installation is quite different and difficult than CodeIgniter v3. If you set the root path correct then it will be easier by accessing install and following the steps.

The good thing is laravel has better error reporting tools. You can check the latest log file in storage/logs/ folder for errors.

Let me know the error details so that I can suggest solution.

Thank you

0

Answered by Mian Saleem 3 years ago

Hello,

Please update you php version to 7.4 as the latest update require php7.4

Thank you

0

Answered by Mian Saleem 3 years ago

Hello,

Now the error is due to app key,

Please check your .env file and If update the APP_KEY is missing or empty. You can run php artisan key:generate or manually add key as following

APP_KEY=base64:VuMQy24XBoefyf/Fku8vqZYFcl+QL/h4MQpnAWXoSgw=

Thank you

0

Answered by Gunther 3 years ago

Hello,

Not working.
And the key is there. attached.

I have 2-3 laravel app/site running on this server in parallel with couple of codeingniter sites including one of yours.
There's something wrong with the installer.
This is not supposed to happen on a weekly maintained plesk/debian server up to date.

Thank you

0

Answered by Mian Saleem 3 years ago

Hello,

Please let me know the installation link and server details. I will try to check.

You can post private reply by enabling the PRIVATE for Staff only at top right of the reply section.

Thank you

0

Answered by Mian Saleem 3 years ago

Hello,

Th perg_match error might be related to unescaped -

Can you please edit the installer/Requests/UserRequest.php

and replace the line 25 - 30 with

            'name' => [
                'required', 'string', 'max:50', 'regex:/^[\w\-_.\&\s]*$/',
            ],
            'username' => [
                'required', 'max:25', 'unique:users', 'regex:/^[\w\-_.]*$/',
            ],

This should resolve the preg_match issue.

Thank you

We use Cookies

We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.