Category : windows

I installed Redis-cache in my windows machine,after successfully installed i open reddis-cli in that i run service redis_6379 status it’s showing following error (error) ERR unknown command ‘service’ How to resolve this error and start the redis server …? These are the info about my server ` Server redis_version:3.0.504 redis_git_sha1:00000000 redis_git_dirty:0 redis_build_id:a4f7a6e86f2d60b3 redis_mode:standalone os:Windows arch_bits:64 ..

Read more

I am try to checkout git checkout -f staging this way from widows PowerShell (my operating system is windows 10 ) git checkout -f staging git checkout -q –track origin/staging fatal: cannot create directory at ‘public/C:xamppphp8htdocscaab-hccstoragelogs’: Invalid argument I can check out other branch easily from same repository but when I am going to use ..

Read more

Xampp runs on my windows machine ( on d-disk) Downloaded plugin: export-laravel-5-migrations from https://github.com/beckenrode/mysql-workbench-export-laravel-5-migrations/blob/master/export-laravel-5-migrations.py After installing the plugin to Mysql-workbench, MYSQL workbench does not start anymore. Only when I remove the plugin from /users/xxx/appdata/ropaming/mysql/workbench/modules workbench can start up again. Event viewer log on windows: Faulting application name: MySQLWorkbench.exe, version: 8.0.25.0, time stamp: 0x6089097e Faulting module ..

Read more

I have a website made with Laravel, I need to upload it to windows server (Plesk Cpanel) i have set the database and everything is good, but when trying to open the website it shows me : The stream or file "D:Inetpub…..storagelogs/laravel.log" could not be opened in append mode: failed to open stream: Permission denied ..

Read more

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 ..

Read more

This happened to me a couple of times now on windows wsl2. I have an existing project using laravel sail that works on my mac but when I try to make it work on windows running the installation for an existing project https://laravel.com/docs/8.x/sail#installing-composer-dependencies-for-existing-projects I haven’t found a solution adapted to laravel sail yet. ./vendor/bin/sail up ..

Read more

I want to run laravel 8 on docker. Everything works fine but i can’t show the work in Browser. The message is ‘ERR_EMPTY_RESPONSE’. i write php artisan serve Starting Laravel development server: http://127.0.0.1:8000 [Thu Apr 22 08:43:35 2021] PHP 7.4.16 Development Server (http://127.0.0.1:8000) started I try it with ‘localhost’, ‘127.0.0.1’ and Docker ‘IP’ from Server ..

Read more

I have installed PHPUnit globally and set up an environment variable "path" by, so it runs by command phpunit.phar I created a file with a custom function in the "app" folder: function is_id_term(string $q, &$id = null, string $name = ‘id’): bool { … … … … … } After that I added at the ..

Read more

.htaccess <IfModule mod_rewrite.c> <IfModule mod_negotiation.c> Options -MultiViews -Indexes </IfModule> RewriteEngine On # Handle Authorization Header RewriteCond %{HTTP:Authorization} . RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] # Redirect Trailing Slashes If Not A Folder… RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} (.+)/$ RewriteRule ^ %1 [L,R=301] # Send Requests To Front Controller… RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php ..

Read more