Ask, reply and learn. Join the community of Akaunting.
I followed download instructions from https://github.com/akaunting/akaunting
But, it generate this warning, I moved the index.php to public folder it generate other errors!
How to solve this issue?
Warning: require_once(akaunting/public/index.php): Failed to open stream: No such file or directory in /Users/akaunting/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php on line 16
I soleve the error by modify require_once $publicPath.'/./index.php';
in
vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php
to
require_once $publicPath.'/../index.php';
But now, I faced another issue, which is, not opening Akaunting correctly as attached screen shot shows:
image
when I entered the credential I got this:
{"status":null,"success":true,"error":false,"message":"Verification done! You are being redirected...","data":null,"redirect":"http://127.0.0.1:8000/1"}
After refresh and confirm I got white page of http://127.0.0.1:8000/1/wizard
I solve the issue by using Ngixn web server instead of built-in php web server (i.e., php artisan serve).
You should always use the official package for production
https://akaunting.com/start
Thanks, but what you mean by official package?
Anyway, I realized that my issue was with php artisin serve command! may be it cannot serve akaunting. But, php builtin web server and Nginx do not have any issue for installation.
php builtin web server command:
php -S localhost:8080 -t oath/to/directory/akaunting
or go to the root directory of akaunting:
php builtin web server .
Showing 1 to 7 of 7 discussions