Fatal Error Exception

Hello,

Having to enter the parameters of installation of Invoices Ninja, a message displays: " Whoops, looks like something went wrong.
FatalErrorException in Connection.php line 362: maximum execution time of 120 second exceeded ".

Could you help me?

Thank you for your help.

LAPTUS

You could try setting up the site from the command line rather than using the setup page.

Here are the basic steps:

  • Copy .env.example to .env and set parameters
  • Run php artisan migrate --seed
  • Run php artisan optimize
  • Load /invoice_now in your browser

Hello Hillel Coren,

Thank you for your answer.
I use Wamp Server and I do not find the file “invoice_now”.

Thank you for your help(assistant).
Best Regards.

LAPTUS

Sorry for not being clearer, I mean load the /invoice_now page.

For example… http://mysite.com/invoice_now

The only existing pages are:
“App”, “boostrap”, “config”, “database”, “public”, “resources”, “storage”, “tests” and “vendor”

Thank you for your help.

Best Regards.

LAPTUS

By default everything is under /public

The only file which exists is “invoice_now.blade.php”

Thank you for your help.

Best Regards.

LAPTUS

Are you loading http://mysite.com/public/invoice_now

What do you see with http://mysite.com/public/

When I go on the page http:// mysite.com/public, I am redirected towards the page of installation:
http://mysite.com/public/setup/.

Thank you for your help.

Best Regards.

LAPTUS

What do you see with http://mysite.com/public/invoice_now

When I go on the page “invoice_now”, I have two errors: “QueryException in Connection.php line 624” and “PDOException in Connection.php line 382”.

Thank you for your help.

Best Regards.

LAPTUS

Can you check storage/logs/laravel.log for more details about the error.

The description of the first error is : SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘remember_token’ in ‘field list’
And, the description of the second error is : SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘remember_token’ in ‘field list’ (SQL: update users set remember_token = Y48YBTo8SQRVETABqSpKRBx5Aslc9R60RWc33AqrrcAmCAQqkCSq4VmmT4UT, updated_at = 2016-01-31 18:05:10 where id = 1)
Thank you for your help.

Best Regards.

LAPTUS

Were you able to run php artisan migrate --seed

No, sorry, me will not be capable of executing this artisan and I have WAMPSERVER.

Thank you for your help.

Best Regards.

LAPTUS

In that case maybe you can increase your server’s maximum execution time.

What is the minimal time so that the site runs correctly?

Thank you for your help.

Best Regards.

LAPTUS

Try increasing from 120 seconds to 300.

What is it necessary to make having modified this parameter?

http://stackoverflow.com/questions/3829403/how-to-increase-the-timeout-in-php