Member Since 2 Years Ago
180 experience to go until the next level!
In case you were wondering, you earn Laracasts experience when you:
Earned once you have completed your first Laracasts lesson.
Earned once you have earned your first 1000 experience points.
Earned when you have been with Laracasts for 1 year.
Earned when you have been with Laracasts for 2 years.
Earned when you have been with Laracasts for 3 years.
Earned when you have been with Laracasts for 4 years.
Earned when you have been with Laracasts for 5 years.
Earned when at least one Laracasts series has been fully completed.
Earned after your first post on the Laracasts forum.
Earned once 100 Laracasts lessons have been completed.
Earned once you receive your first "Best Reply" award on the Laracasts forum.
Earned if you are a paying Laracasts subscriber.
Earned if you have a lifetime subscription to Laracasts.
Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.
Earned once you have achieved 500 forum replies.
Earned once your experience points passes 100,000.
Earned once your experience points hits 10,000.
Earned once 1000 Laracasts lessons have been completed.
Earned once your "Best Reply" award count is 100 or more.
Earned once your experience points passes 1 million.
Earned once your experience points ranks in the top 50 of all Laracasts users.
Started a new Conversation 504 Gateway Time-out Error
I have a ScienceNews Laravel app deployed on DigitalOcean using Nginx. I am using the most basic droplet:
It is called https://thesciencebreaker.org
I have other projects using the same exact configurations (also on DigitalOcean) but this is the only one that started to show the 504 Time-out error recently. The website has been dragging quite a bit as well, and at times blows up and shows this error.
The database has about 300 articles, 400 authors and 5k subscribers.
It has an average of about 1200 visitors per month, according to Google Analytics.
Would the database be causing this? Or is it the server that is too basic?
The same backend also has an API that serves an iOS app, but the app never crashes or experiences delays. This happens only on the website.
Any help would be greatly appreciated!
Started a new Conversation Phpunit Crashes After I Created A Console Command That Reads From The Database
So I have an app working well, with many unit tests. All is good until I create some console commands that search the database for various reasons to send out emails, etc. At that moment all my tests crash with the no such table message.
After some moments of agony, I realized that the database call on the console command seems to be running before the test has a chance to migrate the tables and set up the application. Any ideas on how I can fix this?