Forum

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

New Discussion

internal sever error 500

Don Reid   ( User )

Commented 2 years ago

Hi I get 500 internal server error after login click on dashboard button and have same result

Nitesh Yeole   ( User )

Commented 2 years ago

Even i am getting the same error ...If u get any solution for this plz do let me know

Don Reid   ( User )

Commented 2 years ago

i found a fix on you tube
where you make a copy of .env and rename the copy to .env
then open a command shell and run
php artisan cache:clear
then
php artisan config:clear
then
php artisan key:generate

i can now log back in

Don Reid   ( User )

Commented 2 years ago

you tube video is

Laravel 500 server error (php,cpanel) fix by Artificial Stream

Nitesh Yeole   ( User )

Commented 2 years ago

I am still getting the same error by using the steps whatever u have mentioned

Surihost   ( User )

Commented 2 years ago

I too get the 500 server error during the update to latest version ?

Don Reid   ( User )

Commented 2 years ago

i changed .env debug to true and production to local
debug came up with missing company logo

Don Reid   ( User )

Commented 2 years ago

ErrorException
Trying to get property 'id' of non-object (View: D:\wamp64\www\ak\resources\views\wizard\companies\edit.blade.php)
http://ak/1/wizard

D:\wamp64\www\ak\app\Http\ViewComposers\Wizard.php:157

































foreach ($money_currencies as $key => $item) {

$codes[$key] = $key;

}



return $codes;

}



protected function getTaxes()

{

return Tax::all();

}



protected function getCompany()

{

$company = company();



$company->api_key = setting('apps.api_key');

$company->financial_start = setting('localisation.financial_start');



$logo_id = setting('company.logo');



$logo = Media::find($logo_id);

$logo->path = route('uploads.get', $logo->id);



$company->logo = $logo;



return $company;

}

}

Jahangir Mohammad Ali Siddique   ( User )

Commented 2 years ago

After update 2.1.15 I can't login . 500 error giving have any solution ?

Valentina   ( User )

Commented 2 years ago

I am having the same error, do not really understand the steps. Could you share the video?

Please login or register to leave a response.

Showing 1 to 10 of 10 discussions