Forum

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

New Discussion

Routes are returning 404/403 after installing

Jimmi Hansen   ( User )

Commented 3 years ago

Hi!
I'm pretty new at akaunting development, but I have a good amount of knowledge of Laravel. But when I've ran "php artisan module:make my-blog" & "php artisan module:install my-blog 1" the route /my-blog returns a 404. If I add MyBlog to the settings page, it just returns a 403. What have I done wrong?

Denis Dulici   ( Admin )

Commented 3 years ago

Hey Jimmi,

First of all, welcome on board.

You should uncomment the line 11 in modules/MyBlog/routes/admin.php file:

https://github.com/akaunting/akaunting/blob/master/app/Console/Stubs/Modules/routes/admin.stub#L11

As for the settings page, make sure you've added the permissions:

https://github.com/akaunting/module-offline-payments/blob/master/Listeners/FinishInstallation.php#L33

Regards

Jimmi Hansen   ( User )

Commented 3 years ago

Hello Denis!

Thanks! I've uncommented line 11in routes/admin.php & line 33 Listeners/FinishInstallation.php, it fixed it.

But the option to go to "My Blog" Settings, is gone?

Please login or register to leave a response.

Showing 1 to 3 of 3 discussions