I have a very weird problem on my localhost. I’m on Mac, and I am using Laravel valet for my local websites (all of them are WordPress) and only one project has an ERR_CONNECTION_REFUSED error. I have about 10 projects, and I can open all of them without any problem, just this one gets an ..
I am uploading my Laravel website from localhost to a live hosted website. I finished uploading the files but I have this error displayed: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.4.0". How do I update the composer? Sourc..
I have worked on a laravel project and now im trying to host this project on xampp in a virtual machine. I have copied my files on xampp folder and when i trying to access with localhost i get an errot same like this on screenshot below. Is db connection problem or something else? https://kinsta.com/wp-content/uploads/2021/03/including-xampp-in-URL.png ..
I have laravel app on localhost server, I want to share it to the local network via wamp server, I looked at posts here and did most of actions like : change httpd-vhosts.conf to : <VirtualHost *:80> ServerName localhost DocumentRoot D:/wamp/www <Directory "D:/wamp/www/"> Options +Indexes +FollowSymLinks +MultiViews AllowOverride All Require all granted Order Deny,Allow Allow ..
It is on this directory /pagination/bootstrap-4.blade.php , this is marked @foreach ($element as $page => $url) , working on the localhost , but for some reason when it is on live , it shows this error . Thanks Sourc..
Invalid argument supplied for foreach() on live server It is on this directory /pagination/bootstrap-4.blade.php , this is marked @foreach ($element as $page => $url) working on the localhost , but for some reason when it is on live , it shows this error . Sourc..
I use a local website with a host 127.0.0.1 app1.local and I have an api api.local:8000 (laravel) but my response is empty without error. My curl works in an index.php and with the command php -S localhost:2000 for example. I get all data back. The same if I use Postman with exactly the same curl ..
I want to enable phpdebugbar on custom domain name alias on local system. It is working on localhost:8000 but i created custom domain alias e.g mysite.com but phpdebugbar not working and showing the error Uncaught ReferenceError: PhpDebugBar is not defined this also works on mysite.com:8000 (with port) but without port it doesn’t works. is there ..
Description – I have an AWS EC2 Instance, t2.micro, with Ubuntu installed on it. It is configured with Apache2 and PHPMyAdmin (MySQL). Now, I have a very basic Laravel Project, which I had sourced from GitHub and it works perfectly fine on my Laptop (Windows, XAMPP). It is also mostly set up on the server. ..
I am running my web app on localhost and I have need to use ns so that chat and messaging, etc could work! now the WebSocket filed to connect! how can I fix that on localhost? anyone? Sourc..
Good morning everybody. I got my project on localhost today in my Xampp, I can see the project and work on it, but the problem is , if i create a new Route, "/test", and i try to acces there, i get: Forbidden You don’t have permission to access this resource. Apache/2.4.47 (Win64) OpenSSL/1.1.1k PHP/7.3.28 ..
Error: MySQL shutdown unexpectedly. 7:21:35 PM [mysql] This may be due to a blocked port, missing dependencies, 7:21:35 PM [mysql] improper privileges, a crash, or a shutdown by another method. Sourc..
does everyone know the problem? this is my home.blade but when I open my localhost, only 1 pict would show. It should all of them showed up. Sourc..
I’m using Linux Mint and I have installed Composer and the Laravel Installer as a global Composer dependency using this command: composer global require "laravel/installer" later I created a project somewhere in home directory and ran php artisan serve, my question is if I want to create a project in /var/www/html directory, should I use ..
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 ..
I have upgraded my PHP version to 8.0.3 because previously I have an older version of PHP and laravel don’t install in it but after when I upgraded my PHP to the 8.0.3 version whenever I open any table structure tab these errors come and stuck it. Sourc..
I just uploaded my nodejs app on Heroku which makes a post request on my localhost 127.0.0.1 my localhost server is on PHP which takes a file and some data and generates an invoice but the problem is I get this error in the Heroku log when my deployed node server tries to make a ..
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 ..
After cloning a project from GitHub when I give command on cdr: composer install This error is occurring: Your lock file does not contain a compatible set of packages. Please run composer update. How can I solve this problem? Sourc..
Thanks in advance for helping. I am new to laravel and I am doing this project and learning laravel at the same time. As I wrote on the title, the project and files are loading fine on live hosting when it is on the Cpanel. But, When I downloaded it, the files are not working. ..
I create dynamic links using database and then display them in html pict 1 but when I click on the link on the website, it displays ip localhost 127.0.0.1 after which the link was created. example: 127.0.0.1/www.instagram.com Sourc..
How can I open my index.php (file path: C:UsersammarOneDriveDesktopWebDevelopmentPHP) file in my browser through xampp localhost. here is the screenshot Sourc..
Getting this error "file_put_contents(C:wamp64wwwnlnstorageframework/sessions/GTWfY7o16EIxiH2lFJmxDoGxbVqmTNSE8ws9mxz3): failed to open stream: No such file or directory" enter image description here Sourc..
Laravel Version: 8.35.1 PHP Version: 8.0.0 Description: I’m uploading an image with laravel using this code: $product_image = $request->file(‘product_image’); $product_image_extension = $product_image->extension(); $product_image_name = time() . ‘.’ . $product_image_extension; $product_image->storeAs(‘/media/product_images’, $product_image_name); $model->product_image = $product_image_name; It works fine, the file is uploaded to storage/app/media/product_images/. Then, I run the command php artisan storage: link to create the ..
When i hit my local host to open my local site it dont perform any action it is working fine for firefox.dont know the reason.It has app before address. http://app.127.0.0.1:8000/login Sourc..