Forum

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

New Discussion

PHP Fatal error: Uncaught Error

Long Long   ( User )

Commented 9 months ago

I just clone newest version of akaunting, and run install on Window 10.
PHP 8.1
Everything have been install successfully, but when I run "php artisan serve" and access to localhost:8000 then console log print out these errors
WARN PHP Warning: require_once(D:\WorkingSpace\Personal\akaunting\public/index.php): Failed to open stream: No such file or directory in D:\WorkingSpace\Personal\akaunting\vendor\laravel\framework\src\Illuminate\Foundation\resources\server.php on line 16.

WARN PHP Fatal error: Uncaught Error: Failed opening required 'D:\WorkingSpace\Personal\akaunting\public/index.php' (include_path='.;C:\php\pear') in D:\WorkingSpace\Personal\akaunting\vendor\laravel\framework\src\Illuminate\Foundation\resources\server.php:16.

Leonardo Ahumada   ( User )

Commented 8 months ago

have you written the path correctly?
...rsonal\akaunting\public/index.php it seams like after the public you got the backslash inclining forward.

Long Long   ( User )

Commented 8 months ago

I'm using Window, the last backslash might be auto-generated by PHP.
When I use "php -S 0.0.0.0:80" it ran.

Please login or register to leave a response.

Showing 1 to 3 of 3 discussions