system
January 31, 2016, 6:19am
1
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
hillel
January 31, 2016, 6:26am
2
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
system
January 31, 2016, 6:34am
3
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
hillel
January 31, 2016, 6:35am
4
Sorry for not being clearer, I mean load the /invoice_now page.
For example… http://mysite.com/invoice_now
system
January 31, 2016, 6:44am
5
The only existing pages are:
“App”, “boostrap”, “config”, “database”, “public”, “resources”, “storage”, “tests” and “vendor”
Thank you for your help.
Best Regards.
LAPTUS
hillel
January 31, 2016, 6:46am
6
By default everything is under /public
system
January 31, 2016, 6:53am
7
The only file which exists is “invoice_now.blade.php”
Thank you for your help.
Best Regards.
LAPTUS
hillel
January 31, 2016, 6:56am
8
system
January 31, 2016, 7:02am
9
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
hillel
January 31, 2016, 7:04am
10
system
January 31, 2016, 7:07am
11
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
hillel
January 31, 2016, 7:08am
12
Can you check storage/logs/laravel.log for more details about the error.
system
January 31, 2016, 7:11am
13
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
hillel
January 31, 2016, 7:12am
14
Were you able to run php artisan migrate --seed
system
January 31, 2016, 7:16am
15
No, sorry, me will not be capable of executing this artisan and I have WAMPSERVER.
Thank you for your help.
Best Regards.
LAPTUS
hillel
January 31, 2016, 7:17am
16
In that case maybe you can increase your server’s maximum execution time.
system
January 31, 2016, 7:27am
17
What is the minimal time so that the site runs correctly?
Thank you for your help.
Best Regards.
LAPTUS
hillel
January 31, 2016, 7:29am
18
Try increasing from 120 seconds to 300.
system
January 31, 2016, 7:33am
19
What is it necessary to make having modified this parameter?
hillel
January 31, 2016, 7:38am
20