What is with all of these random issues you are having? Composer update solves one issue - but also stops Laravel???
Laravel stopped after i did composer update
what is the solution ?
@tykus I was doing a schedule after creating the schedule I have an err related to timezone to solve that error I did composer update after that everything stopped
@lifesound how does composer update solve that issue if the app is no longer working?
What is the nature of Laravel stopped - what does that actually mean?
@lifesound how stopped. We need a bit more to go on
@tykus the app stopped after composer update if I did I request I got that
[Sat Apr 16 21:09:42 2022] 127.0.0.1:49413 Accepted
[Sat Apr 16 21:09:42 2022] 127.0.0.1:49412 Closing
[Sat Apr 16 21:09:42 2022] 127.0.0.1:49413 [200]: GET /favicon.ico
[Sat Apr 16 21:09:42 2022] 127.0.0.1:49413 Closing
I have commented the schedule but no dice
also deleted the vendor and reinstall also no dice
@lifesound so only the scheduler fails? Or all requests?
@Sinnbeck Not Found pages
@Sinnbeck ALL the app
@lifesound how are you serving the web app?
version
Laravel Framework 8.83.8
@lifesound why do you think it has updated to Laravel 9? What is the version constraint in composer.json?
@tykus I tested the php artisan version , it is 8.8
@lifesound how are you serving the web application?
@tykus locally using php artisan serve
@lifesound Try deleting vendor folder but this time composer install, or did you run that already?
@jlrdw I did , No hope I also reset --hard to last commit where my website was working, and still have the same issue Laravel closing the request
@lifesound every Request gets closed 🤷♂️
Are you sure you're visiting valid URL(s)?
@tykus yes
@lifesound I honestly don't know what you're doing wrong...
Can you show us your web routes?
@lifesound also echo something in index.php, does that work? This is a puzzler.
@tykus It is ok , there is something weird happed I reset the git --hard and it is also closing the request This is a 4 month project :(
@jlrdw could be php artisan is not compatible with laravel ?
@lifesound really?????
could be php artisan is not compatible with laravel ?
@lifesound see if the port you are trying to use is suddenly being used by another process. Or try nginx or apache to run project.
@jlrdw thanx for your care , I really appreciate that
I have did php artisan route:list
and I see all my routes gone
I cleared the routes and it re responds
but have an err Illuminate\Contracts\Container\BindingResolutionException Target class [Fruitcake\Cors\HandleCors] does not exist.
@jlrdw It is working for some reason my routes gone I will set the answer to you to the part you told about the routes
@lifesound your routes are entirely gone??? WTF?!?!?!
@lifesound definitely backup your project often.
@jlrdw I did git commits , what do you mean by packup ?
@tykus I dunno why and how
@tykus I lost 3 hours with mini heart attack, I should deliver the project after 4 months of work
@lifesound I use git also, but I also make a zip backup of project as well, not vendor, but other folders.
@jlrdw thx for the advise
@lifesound so where are we now; you have your routes back or no?
@tykus yes it is working
Please or to participate in this conversation.