Member Since 2 Months Ago
4,830 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.
I did it: I gave permission to Web Station (it probably didn't have it, because I dragged it from another location and it didn't give itself permission). I went into settings > shared folders > [ Folder Name ] > Edit > Permissions > Local Groups (Select from dropdown at the top) and gave read/write permissions to the HTTP group.
I also downloaded a missing PHP extension through web station > PHP settings > Default Profile > Edit and selected all necessary extensions.
I've created a PHP info page, and it showed all PHP settings, so PHP works.
There is an interesting development though: Yesterday I changed and tweaked some things in the settings. I also moved the folder out of the default web folder and into a new directory. I changed the folder in the virtual host and enabled error showing in index.php, and instead of downloading a file it now shows me this error:
Warning: require(/volume1/laravel_sites/web-project/public/../bootstrap/autoload.php): failed to open stream: Permission denied in /volume1/laravel_sites/web-project/public/index.php on line 27 Fatal error: require(): Failed opening required '/volume1/laravel_sites/web-project/public/../bootstrap/autoload.php' (include_path='.') in /volume1/laravel_sites/web-project/public/index.php on line 27
I have some experience working with my NAS, but I don't know how to fix this (I think it's a permission thing). If anyone could help me out here, I would greatly appreciate it!
I've also tried serving the website with Apache 2.4 now, but it gives the same error.
I am currently using a virtual host in Synology Web Station as I said before, I have this configured with Nginx (it came with Web Station). I've made a screenshot of the settings of the virtual host: https://imgur.com/a/hpDNgOF
laravel/framework v5.2.45 The Laravel Framework.
Yes, PHP is installed (PHP -v returns version 5.6.11)
timyboy12345 started a new conversation Visiting My Laravel Website Hosted On Synology Downloads A File
I want to host a Laravel website on my Synology NAS. I have everything set up, and working. I've downloaded composer, created a project, forwarded all ports and it all works. But when I visit my website (laravel.something.nl) instead of seeing the correct page, my computer downloads the public/index.php file.
I did create a virtual host and point it to the /public directory, but this is correct (right?)
It seems to me it isn't executing the php script, but just printing the code. Windows downloads a file to my PC, with the PHP code, while my iPhone shows my the raw PHP code in the browser.
If anyone could help me, I would appreciate it!
What is the exact error? Or is there any other info in the laravel logs?
I want to host a school project on Azure DevOps. I've got the laravel project up and running, but as soon as something needs to be gotten from the mysql database, I get the error
could not find driver.
I've read in some places this needs to be enabled, but where and how would I do this? Or is there something else going on?
PS: I've gotten the same error when I use SQL server