Forum

Ask, reply and learn. Join the community of Akaunting.

New Discussion

Error 500 during first installation

Alessandro Brunetti   ( User )

Commented 3 years ago

Hi guys, thanks for helping me. Trying to install on a hosting space (one.com), I got stuck on a Error 500 page (Oops! Something went wrong, 500 Internal Server Error, We will work on fixing that right away.) and the log file is showing: "[2020-05-29 06:33:59] local.ERROR: Trying to get property 'headers' of non-object {"exception":"[object] (ErrorException(code: 0): Trying to get property 'headers' of non-object at /customers/8/9/4/cubecon.it/httpd.www/coge/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:185)"

I thing somewhat the Auth Token is involved, but I have no clue how to fix this.

Thanks for any helping hand!

Best regards

Denis Dulici   ( Admin )

Commented 3 years ago

Hello,

You can enable debug to get more details about the error:

https://akaunting.com/docs/developer-manual/debug

Regards

Alessandro Brunetti   ( User )

Commented 3 years ago

Yes, thanks Denis, Now I have:
"HTTP 500 Internal Server Error
No application encryption key has been specified."

Alessandro Brunetti   ( User )

Commented 3 years ago

I saw something googling... but my host does not allow me to ssh and do "php artisan key:generate"...
So how can I fix this? There some commands I should put in a .php file? Or... Thanks for helping me

Alessandro Brunetti   ( User )

Commented 3 years ago

Hi dennis, solved. I had to write correctly .env file for Symphony/laravel. Now I need to force the installation on my database but I think I can carry out this by myself. Thanks again

Feuach   ( User )

Commented 3 years ago

Hi Alessandro. I'm having the same problem. How did you generate the key? After that I've got to write manually the database credentials in the .env file?

Please login or register to leave a response.

Showing 1 to 6 of 6 discussions