#### Category : localhost

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

I design my page in localhost which works fine and I include all my paths like that <link href="{{ asset(‘public/’.Config::get(‘config.template_assets’).’assets/vendor/bootstrap/css/bootstrap.min.css’)}}" rel="stylesheet"> but when I run my php artisan serve bootstrap is not including with 404 error ,which mean my server can’t found the location of bootstrap, so how should I change my path so that ..

Now i am trying to make a laravel project to be on local host to run without writing php artisan serve so the user can use it directly so i put the project in xampp folder in htdocs and access the public folder and everything work fine but the problem is the project has an ..

This is not exactly a code question, but no one but web app developers would use this. Explanation We are a small company of four ( three web developers ) and have been using a very, very outdated development process until now. That means that we had one domain https://our-development-server.com with loads of folders named ..

My new laravel project takes 2 minutes to load a page. When I start the program its looking up localhost Then Looking up fonts.googlapis.com After some time I see the loaded page then when I press a button to go to another page I get: Read localhost Looking up googleapis.com Why is it taking so ..

I am trying to integrate Google reCAPTCHA into my Laravel website by following this tutorial. I have completed all of the steps, but now when I try to submit the contact form I get this error in my browser: Undefined index: 127.0.0.1. The error is coming from the following line of code inside of my ..

I am using virtual hosts for my laravel web development but now I wanted to "refresh" my knowledge of PHP. But I have an issue when I type localhost I get one of my virtual hosts and then I cant for example type localhost/php-projects/index.php because there is no such link as php-projects in my virtual ..

I’m a fresher in Cpanel laravel hosting. I’m facing a specific problem SQLSTATE[HY000] [1045] Access denied for user ‘mbaam_trodian’@’localhost’ (using password: YES) (SQL: select * from users where email = [email protected] limit 1) and can’t found any solution for 3 days. Localhost settings: localhost settings database user: database user settings .env file: DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 ..

I just fixed a problem but do not exactly understand why the solution works. Setting: Windows 10 Laravel 7.0 PHP built in server (via php artisan serve –port=80) Hosts file with entry 127.0.0.1 something.local Problem: Making a web page request to http://something.local in the browser took very long to load. Upon inspection in chrome dev ..

I’m trying to start project in laravel on my lacalhost. This project is not mine, I work on it, and try to figured out how it was builded. There is main files:enter image description here And in this files is laravel.core. He look’s inside like this: enter image description here In my XAMPP httpd-vhosts I ..

I’m trying since yesterday to start project in laravel on my lacalhost. This project is not mine, i work on it, and try to figuret out how it was builded. There is main files: enter image description here And in this files is laravel.core. He look’s inside like this: enter image description here In my ..

Okay, so I’m learning laravel and I have downloaded xampp and it runs and everything. I type PHP artisan serve on cmd and its success and then when I type localhost:8000 on my browser it runs okay BUT when I try to move to another page or just refresh the page or type localhost:8000 again ..

for example i have two project folder stored in htdocs folder htdocs/pro1 & htdocs/pro2 I am using xampp as localhost so i need to go http://localhost/pro1 & http://localhost/pro2 to open in browser I saw laravel works something else with CMD command artisan serve inside project folder and when we open browser http://127.0.01:8080 it opens the ..

cURL error 7: Failed to connect to localhost port 1080: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) Every time I am trying to call data from API it shows me this error unable to find a way to fix it My App is connected to MySQL DB and API is connected to MS SQL DB ………. Any Help ..

I upload my laravel project from localhost to server but to access the app my url is http://myhostexample.com/public/ I want it to be http://myhostexample.com I have modified the public/.htaccess and here it is : <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}] ..

I am working on a project which is already completed but requires some changes so I downloaded it from cPanel to my Localhost. I set up everything all links are working but when I go to its admin panel http://localhost:8000/admin it works but styling is not working like it shows admin login page without CSS ..

[where app is a file created when I created] it but it shows error it shows the error UnexpectedValueException The stream or file "/opt/lampp/htdocs/app/storage/logs/laravel.log" could not be opened in append mode: failed to open stream: Permission denied please help me with this Sourc..

why my laravel url not working when method is post example the url api must be : http://localhost/PROJECTNAME/api/loginWeb but when i click post button it always direct to http://localhost/api/loginWeb but when method is get this okay. i use xampp here is my htaccess <IfModule mod_rewrite.c> <IfModule mod_negotiation.c> Options -MultiViews -Indexes </IfModule> RewriteEngine On # Handle ..

I have two domains directing to a single laravel application. test_en.site test_fr.site MY REQUIREMENT test_en.site need to load the English content by default and test_fr.site need to load the French content. (If a user accesses to test_en.site, still the user can change the language to French, and if a user accesses to test_fr.site user can ..

I have a Laravel app and I don’t know why suddenly started to force https on my localhost. This is something I had never faced before. This app runs with docker but even without running it with docker-compose but php artisan serve keeps on forcing https on my localhost. I even tried by adding #app/Providers/AppServiceProvider.php ..

I want to run my laravel project without artisan serve command. The project has several js and CSS files that are in public folder. How can i run a laravel project without actually removing the files from public folder. Source: Laravel Sta..

I’m trying to display image from mysql database. it’s just showing the name of the image. Image is not displaying. how to make it display? I’m using laravel framework with localhost. Kindly look into it and help me out.. my controller page code… public function stores(Request $request) {$this->validate(\$request, [ ‘firstname’ => ‘required’, ‘lastname’ => ..