Hi, my error is that when I view the public folder, I get the following: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database. Regards
Hello! After running the localhost/projectname/public. I'm getting an error saying "UnexpectedValueException" and a ton of stuff written after it, "The stream or file "/Applications/XAMPP/xamppfiles/htdocs/test/storage/logs/laravel.log" could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: ............ Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}}"
@@alfredolopezmacias1613 You have to give read and write permission to all users in the folders: bootstrap, vendor, database and storage of your program
hello, after i did what u did in the video, i can't find the database on localhost -> phpmyadmin , so i can't see the tables for my project, canyou help me to figure it out?
It seems like you need to upgrade your PHP. You could try to change the php version inside the "composer.json" file. Another way to fix it if you are working locally is to install the latest php on your PC.
@@JarvisCodes Yes i noticed, tried again then got this The stream or file "/Applications/XAMPP/xamppfiles/htdocs/pro-app/storage/logs/laravel.log" could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log
Hi, my error is that when I view the public folder, I get the following: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database. Regards
You have to give read and write permission to all users in the folders: bootstrap, vendor, database and storage of your program
sudo chmod -R 777 /Applications/XAMPP/xamppfiles/htdocs/"and your name directory"/
@@kylechristian538 thanks my friends!
Hello! After running the localhost/projectname/public. I'm getting an error saying "UnexpectedValueException" and a ton of stuff written after it, "The stream or file "/Applications/XAMPP/xamppfiles/htdocs/test/storage/logs/laravel.log" could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: ............ Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}}"
running with php artisan serve works fine.
same error
same fix it?
You have to give read and write permission to all users in the folders: bootstrap, vendor, database and storage of your program
@@alfredolopezmacias1613 You have to give read and write permission to all users in the folders: bootstrap, vendor, database and storage of your program
hello, after i did what u did in the video, i can't find the database on localhost -> phpmyadmin , so i can't see the tables for my project, canyou help me to figure it out?
Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.2.0". got this error how do you bypass it
It seems like you need to upgrade your PHP. You could try to change the php version inside the "composer.json" file. Another way to fix it if you are working locally is to install the latest php on your PC.
@@JarvisCodes Yes i noticed, tried again then got this The stream or file "/Applications/XAMPP/xamppfiles/htdocs/pro-app/storage/logs/laravel.log" could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log
its just a piss take coding with apple, you end up wasting your day setting up than coding, because seriously what the fuck is this
@@ianmacharia1117 Try this:
sudo chmod -R ugo+rw storage
This will give you permission to acces the logs
really helpful thank you
Hi I'am getting an error on first step. when I executed the first command, it prompts an error "zsh: command not found: php ". I have XAMPP installed.
Hi, do you have PHP installed on your Computer?
@@JarvisCodes I’m not sure. I have XAMPP installed. I have to install PHP also?
@@yuwenlu8466 Yes, you need to have PHP installed on your Mac
@@JarvisCodes I see. I will try again. Thanks for your reply
for running laravel i have to istall php every time
please help to get out of this
What type of command you need to type? Have you installed PHP globally?
Hello, where do i download the php?
Hello, you can install PHP on mac using Brew. I would recommend you to watch tutorials on that too.
this isnt helping me, i tried to do what you did on the video, it gives me error
Can you write down your error code.
not useful, no commands found in composer web page.
I’m getting an error
Hello, please can you tell me where you are getting the error. We're happy to help :)
i have an error
Hello, can you please tell me what error you're getting?