#### Category : macos

I have an error with my uploaded image. When i attempt to store my file data everything working fine. Data was stored, file else. But when the form request comeback, I have this error : The root path /var/folders/fg/xxx/T is not readable. I work with Xampp on Mac and laravel-medialibrary. Sourc..

I’m using PhpStorm on Mac. I’m trying to debug a Laravel application inside the Sail container on the remote Ubuntu server. Error that I can see from Xdebug inside Sail container is: [17] Log opened at 2021-09-26 21:24:59.590599 [17] [Step Debug] INFO: Checking remote connect back address. [17] [Step Debug] INFO: Checking header ‘HTTP_X_FORWARDED_FOR’. [17] ..

Lately, I kept getting this error php artisan migrate > IlluminateDatabaseQueryException : could not find driver (SQL: select * from information_schema.tables where table_schema = public and table_name = migrations and table_type = ‘BASE TABLE’) database.php ‘pgsql’ => [ ‘driver’ => ‘pgsql’, ‘host’ => env(‘DB_LOCAL_HOST’, ‘127.0.0.1’), ‘port’ => env(‘DB_LOCAL_PORT’, ‘5432’), ‘database’ => env(‘DB_LOCAL_DATABASE’, ”), ‘username’ => ..

I have a Laravel 8 project that I want to send emails with. I develop it on macOS and I want to test it, but it does not work, but won’t give any errors. (I replaced sensitive data with ********) .env MAIL_MAILER=smtp MAIL_HOST=smtp.gmail.com MAIL_PORT=465 MAIL_USERNAME=********@gmail.com MAIL_PASSWORD=******** MAIL_ENCRYPTION=ssl MAIL_FROM_ADDRESS=********@gmail.com MAIL_FROM_NAME="${APP_NAME}" Note: I validated those settings, I .. Read more I’m getting the following error when trying to access my project: Error mac OS could not be opened: failed to open stream: Permission denied Sourc.. Read more I am unable to choose a time slot in Mac. In windows, it is working fine. I have tried changing the codes in my visual studio.$.ajax({ type: ‘POST’, url: ‘/calendar/read_schedule/’+doctor_id, data: { date: info.event.start.toLocaleDateString(), }, success: function(response){ console.log(response); if(response.success){ $(‘#add-event select[name="time-slot"]’).html(”); let option = document.createElement("option"); option.value = 0; option.innerHTML = "Pick a time slot"; .. Read more I have a project laravel + vuejs in macos. I got this error, run the command ‘npm run dev’ *[email protected] blogger % npm run dev *> [webpack-cli] Error: spawn Unknown system error -86 at ChildProcess.spawn (node:internal/child_process:415:11) at spawn (node:child_process:698:9) at Object.execFile (node:child_process:325:17) at Object.module.exports.fileCommandJson (/Users/panda/Sites/blogger/node_modules/node-notifier/lib/utils.js:88:13) at NotificationCenter.notifyRaw (/Users/panda/Sites/blogger/node_modules/node-notifier/notifiers/notificationcenter.js:81:11) at WebpackNotifierPlugin.compilationDone (/Users/panda/Sites/blogger/node_modules/webpack-notifier/index.js:129:14) at _next1 (eval at .. Read more The problem happens whenever I call the Laravel installer: laravel new app. When I call composer create-project –prefer-dist laravel/laravel app everything works fine. I’m using zsh and my export paths looks as follows: export PATH=$HOME/bin:/usr/local/bin:$PATH export PATH=/opt/homebrew/bin:$PATH export ZSH="/Users/konstantinkrumov/.oh-my-zsh" export PATH=~/.composer/vendor/bin:$PATH I also have an alias for composer alias composer="php /usr/local/bin/composer/composer.phar When I run which .. Read more I’ve just switched to MacOs – never used it before and I’m using Macbook M1 Pro, so a newbie here. Also, I’ve only started with web dev so I’m fairly new in this field as well. Now, how should I proceed in order to set-up a local development enviroment – I plan to use mainly .. Read more I am attempting to setup a basic project in Laravel using Laravel Sail. According to the official Laravel documentation the following commands will create a new Laravel application called "example-app" and start Laravel Sail. curl -s "https://laravel.build/example-app" | bash cd example-app ./vendor/bin/sail up However, after running these commands I see the following error message: ERROR: .. Read more Hi I have my newly installed valet that gives me this error Fatal error: require(): Failed opening required ‘/Users/user/Desktop/myApp/public/index.php’ (include_path=’.:/Users/user/pear/share/pear’) in /Users/user/.composer/vendor/laravel/valet/server.php on line 221 any idea why im getting this error? this error is from ~/valet/server.php on last line of code require$frontControllerPath; this \$frontControllerPath contains this "/Users/user/Desktop/myApp/public/index.php". Appreciate your help. Thank you Source: ..

I’m getting this error on my newly installed Laravel valet after running myApp.test Warning: require(/Users/username/Desktop/www/myApp/public/index.php): failed to open stream: Operation not permitted in /Users/username/.composer/vendor/laravel/valet/server.php on line 219 Fatal error: require(): Failed opening required ‘/Users/username/Desktop/www/myApp/public/index.php’ (include_path=’.:/usr/local/Cellar/[email protected]/7.3.28_1/share/[email protected]/pear’) in /Users/username/.composer/vendor/laravel/valet/server.php on line 219 Also, I can ping myApp.test PING myapp.test (127.0.0.1): 56 data bytes 64 bytes from 127.0.0.1: ..

I get this error message on clone (I have windows, my colleague is working on mac machine): error: invalid path ‘public/C:UsersMy-PCDocumentsProjectsSamplestoragelogs/laravel.log’ fatal: unable to checkout working tree warning: Clone succeeded, but checkout failed. You can inspect what was checked out with ‘git status’ and retry with ‘git restore –source=HEAD :/’ and when I try the ..

Class 'Locale' not found issue on CakePHP 3 I am trying to follow the solution as found in the answer provided in the link above to solve a class "AppLocale" not found error for a Laravel website I’m trying to set up on my localhost. However, I encountered an error Error: No available formula or ..

UnexpectedValueException The stream or file "/Applications/XAMPP/xamppfiles/htdocs/lsapp/storage/logs/laravel.log" could not be opened in append mode: failed to open stream: Permission denied Laravel http://localhost/lsapp/public/enter image description here Sourc..

Laravel 8 To be exact: "laravel/framework": "^8.12", I have no idea why most of my routes working locally on Mac OS X, but giving me 404 on production Ubuntu 20. Local .test Prod .app These are my routes declation <?php use IlluminateSupportFacadesRoute; /* |————————————————————————– | Web Routes |————————————————————————– | | Here is where you can ..

I’m working on laravel 8 and I’m creating a website and I linked the database to a form and it worked. the only problem is when I submit the form it shows me a black screen and it is downloading. I can get the data saved in the database but no message shows and this ..

I’m using MAC OS and I’m new to laravel .. I’m working on laravel using xampp and when i run the command php artisan migrate I get this error SQLSTATE[HY000] [2002] Connection refused (SQL: select * from information_schema.tables where table_schema = web and table_name = migrations and table_type = ‘BASE TABLE’) my .env DB_CONNECTION=mysql DB_HOST=127.0.0.1 ..

I have a Laravel application in my local dev environment(Mac Big Sur). When I run my application using php artisan serve the application starts up. But then when I try to access it on 127.0.0.1:8000 it tries to load it on https instead of http. I have tried the following but it does not work. ..

The issue of installing laravel for the first time using a composer like this : composer global require laravel/installer then after you get the success messages and you be happy to run be a normal human and open a new tab and run : laravel in a new menu you will get this error in ..

Hi I have try to update php to 8.0 but always there a problem with valet to read the new version and I try to solve it without specific instructions but this time is stucked I will abbreviated my question and print valet diagnose valet –version Laravel Valet 2.14.1 brew services list dnsmasq error root ..

How I can Install Laravel8 On mac high siera. When I create project it automatically install laravel 5 . I have PHP 8. How I can resolve this problem ? Sourc..