Open Govind-Patel opened 4 months ago
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
If you're using Apache, you don't need (or want) to use php artisan serve
. Just use Apache
apache is not working
[2024-02-16 17:43:00] local.ERROR: Symfony\Component\ErrorHandler\Error\FatalError: Maximum execution time of 600 seconds exceeded in D:\xampp\htdocs\projects\hb_asset_managment\vendor\laravel\framework\src\Illuminate\Foundation\Console\ServeCommand.php:59 Stack trace:
[2024-02-16 17:43:00] local.ERROR: Maximum execution time of 600 seconds exceeded {"exception":"[object] (Symfony\Component\ErrorHandler\Error\FatalError(code: 0): Maximum execution time of 600 seconds exceeded at D:\xampp\htdocs\projects\hb_asset_managment\vendor\laravel\framework\src\Illuminate\Foundation\Console\ServeCommand.php:59) [stacktrace]
"}
That looks like Apache is working tho. The sad panda message if from within Snipe-IT, which means Apache is doing it's job serving those files. My guess would be an httpd.conf misconfiguration. https://snipe-it.readme.io/docs/linuxosx#using-apache
Snipe-IT DocumentationSetting up a web server can sound daunting for folks who don't normally do that kind of thing. This guide will help you walk through the configuration for Apache or Nginx on Linux and OSX.Using ApacheThe most common setup for Snipe-IT on a linux server is to use Apache, so if you're not sure what to...
Debug mode
Describe the bug
Whoops\Exception\ErrorException
Maximum execution time of 600 seconds exceeded
at D:\xampp\htdocs\projects\hb_asset_managment\vendor\laravel\framework\src\Illuminate\Foundation\Console\ServeCommand.php:59 55▕ : now()->addDays(30)->getTimestamp(); 56▕ 57▕ $process = $this->startProcess($hasEnvironment); 58▕ ➜ 59▕ while ($process->isRunning()) { 60▕ if ($hasEnvironment) { 61▕ clearstatcache(false, $environmentFile); 62▕ } 63▕
1 D:\xampp\htdocs\projects\hb_asset_managment\vendor\filp\whoops\src\Whoops\Run.php:514 Whoops\Run::handleError("Maximum execution time of 600 seconds exceeded", "D:\xampp\htdocs\projects\hb_asset_managment\vendor\laravel\framework\src\Illuminate\Foundation\Console\ServeCommand.php")
2 [internal]:0 Whoops\Run::handleShutdown()
Reproduction steps
Whoops\Exception\ErrorException
Maximum execution time of 600 seconds exceeded
at D:\xampp\htdocs\projects\hb_asset_managment\vendor\laravel\framework\src\Illuminate\Foundation\Console\ServeCommand.php:59 55▕ : now()->addDays(30)->getTimestamp(); 56▕ 57▕ $process = $this->startProcess($hasEnvironment); 58▕ ➜ 59▕ while ($process->isRunning()) { 60▕ if ($hasEnvironment) { 61▕ clearstatcache(false, $environmentFile); 62▕ } 63▕
1 D:\xampp\htdocs\projects\hb_asset_managment\vendor\filp\whoops\src\Whoops\Run.php:514 Whoops\Run::handleError("Maximum execution time of 600 seconds exceeded", "D:\xampp\htdocs\projects\hb_asset_managment\vendor\laravel\framework\src\Illuminate\Foundation\Console\ServeCommand.php")
2 [internal]:0 Whoops\Run::handleShutdown()
Expected behavior
Whoops\Exception\ErrorException
Maximum execution time of 600 seconds exceeded
at D:\xampp\htdocs\projects\hb_asset_managment\vendor\laravel\framework\src\Illuminate\Foundation\Console\ServeCommand.php:59 55▕ : now()->addDays(30)->getTimestamp(); 56▕ 57▕ $process = $this->startProcess($hasEnvironment); 58▕ ➜ 59▕ while ($process->isRunning()) { 60▕ if ($hasEnvironment) { 61▕ clearstatcache(false, $environmentFile); 62▕ } 63▕
1 D:\xampp\htdocs\projects\hb_asset_managment\vendor\filp\whoops\src\Whoops\Run.php:514 Whoops\Run::handleError("Maximum execution time of 600 seconds exceeded", "D:\xampp\htdocs\projects\hb_asset_managment\vendor\laravel\framework\src\Illuminate\Foundation\Console\ServeCommand.php")
2 [internal]:0 Whoops\Run::handleShutdown()
Screenshots
Snipe-IT Version
v6.3.1
Operating System
windows
Web Server
apache
PHP Version
8.0
Operating System
window 10
Browser
Google Crome
Version
No response
Device
No response
Operating System
No response
Browser
No response
Version
No response
Error messages
No response
Additional context
php artisan serve command in laravel isuue