#### Category : windows

I want to use windows task scheduler for my laravel application. But whenever the schedule triggered, it not running perfectly. The data in my database not changing to what I want. I’ve already tested it before in my localhost (windows 10 pro) and it running well without any problem. But when I’m running it on ..

When I launched a Laravel project from GitHub in the XAMPP folder it runs fine and all shows like it should. However, when I launch it as a Laravel Homestead project with the homestead IP address as the app url I get an error (pictured here). I have already added the database and added it ..

I tried to deploy my laravel project in a subdirectory in windows server, but it’s always returns 404 Not Found. Any ideas why this happens? Sourc..

I previously used Laravel on a couple of things some years ago, and am thinking of using it again. I usually develop on Windows 10 running Apache (MySQL db), and it would be deployed to Ubuntu. Looking at the getting started bit of the Larvel docs, it describes a whole load of Docker/WSL2 stuff that ..

I am using Laravel 8x and Xampp in my window. I have created the project and put it into htdocs and there is a correct .htaccess file but not working correctly. Urgently Help… Sourc..

I have lunched my script in windows with wamp server. I send email with queue in Laravel and I created batch file and add to windows startup. mybatchfile is : php artisan queue:work It works correctly. My question is there any better way to run php artisan queue:work in windows? Sourc..

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

I use supervisord to configure and run laravel queues as a background job on the linux machines. One of my customer can only use windows machine due to their company policy. I want to run laravel queue as a background job on windows. I’ve came up with this solution below but I am not so ..

am deploying a Laravel 8.x app using Nginx but its like am missing something because all am getting is a 403. Can someone please point me in the right direction. Here is a segment of my nginx.config server { listen 80; server_name localhost; #charset koi8-r; #access_log logs/host.access.log main; location / { root C:/xampp/htdocs/my_laravel_app/public; index index.html ..

I have build a project on a windows 10 machine and now that it is allmost finshed I tried to deploy it on a ubuntu 20.04.2 server on a virtual machine. But now that I’ve got it working I keep getting Undefined variable errors (see below). I can’t seem to find anything about this so ..

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

git reset –hard origin/yusuf when I run the command it gives error: unable to create file server.php: Permission denied fatal: Could not reset index file to revision ‘origin/yusuf’. error How can i solve this problem? Sourc..

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

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

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

I’m just trying out a learning experience with Laravel to get up to speed for a future project and so I am installing – or trying to install – a dev version on my Windows 10 laptop. On laravel.com they rather insist on installing a local version but this seems to be fraught with problems: ..

Every time I use composer install or php artisan make command, Laravel generates 2 folders in my project. %username% and app data. Why is this and how I can prevent it from happening? Sourc..

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

I am having some troubles figuring out this problem, so I would really appreciate it if someone can help. I am trying to fetch department data from my database enter the image description here. Sourc..

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

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

Throws an error when I run laravel new example-app: ‘ "" ‘ is not recognized as an internal or external command, operable program or batch file. Windows 10 x64, 20H2. P.S. Yes, I know, that I can install via composer: composer create-project laravel/laravel example-app Sourc..

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

I run Laravel on both Ubuntu and Windows. I install Laravel on Ubuntu, and it works well. But when I start on Windows with the same project, it shows "Syntax error, unexpected ‘)’". I think it’s path problem between Ubuntu and Windows. How to solved this? Sourc..