How to fix the App_url error in laravel 5.5 - laravel

i'm using the laravel 5.5 and when i add my virtual host to the .env file this error came up
The requested URL /password/reset/cafedf0cb3d2a3a0bcfe0c26566233f8afa60901989b8ab48084ec005ed27fe5 was not found on this server
please tell me how can i fix this error...

Related

how to fix finfo error in Laravel production?

I am getting this error when I am using Storage::URL() in my laravel App in cPanel and I have installed the fileinfo extension
You must enable fileinfo extension in php.ini as well.
If you are using cPanel, you can check here: https://www.shorttutorials.com/control-panel/enable-php-fileinfo-extension.html

502 Bad Gateway nginx/1.17.10 Laravel

I'm getting a 502 Bad Gateway nginx/1.17.10 error when trying to visit a Laravel .test site with Valet. I'm having no issues with another Laravel app running on .test. I have tried reinstalling nginx, php, valet, and have tried using php versions 7.2 ,7.3 & 7.4 for valet. Any ideas?
For anyone still experiencing this issue:
Open your Homestead.yaml file
Add the following lines to the sites option:
php: YOUR_PHP_VERSION
type: apache
Run the command vagrant reload --provision

Restiction in directory when deploy laravel app. open_basedir restriction for lang directory

I tried to deploy a laravel web in Windows server 2018. At the moment that I load the webpage error 500.
The log file said:
PHP Fatal error: Uncaught ErrorException: file_exists(): open_basedir restriction in effect. File(C:\inetpub\vhosts\my-web.com\resources\lang/de.json) is not within the allowed path(s): (C:/Inetpub/vhosts/my-web.com\;C:\Windows\Temp) in C:\inetpub\vhosts\my-web.com\vendor\laravel\framework\src\Illuminate\Filesystem\Filesystem.php:23
I tried to give all permissions in Plesk but doesn't help. I tried to print a simple "Hello world" and it works. Do I miss something?
I also did the recommendation from Plesk without success.
https://support.plesk.com/hc/en-us/articles/115000278993-A-website-hosted-in-Plesk-is-not-accessible-open-basedir-restriction-in-effect-File-is-not-within-the-allowed-path-s-
PHP version 7.3.14
Laravel 6
In Plesk go to php settings and add :{WEBSPACEROOT} to the open_basedir so laravel can access to file in root.

How to Host laravel 5.2 on CENTOS server

I am trying to host my laravel 5.2 project on a CENTOS Server (Shared Hosting) I followed this tutorial
https://medium.com/laravel-news/the-simple-guide-to-deploy-laravel-5-application-on-shared-hosting-1a8d0aee923e
but when I try running it on online I get a blank page.
I checked my log I got this error
AH01276: Cannot serve directory /var/www/html: No matching DirectoryIndex (index.html,index.php,index.php) found, and server-generated directory index forbidden by Options directive
I then followed this http://www.liquidweb.com/kb/apache-error-no-matching-directoryindex-index-html-found-solved/ to solve that but I still keep getting a blank page with the same error in the log.
Please any help will be so much appreciated.
Thanks in advance.
You should point web server to a public directory inside Laravel project directory, not to it's root.
I had to redirect apache in the host file to the project folder

Starting error with laravel 4 : Whoops! There was an error

I was installing laravel 4 by following steps in the official website laravel.com
i downloaded the 4' version from github then i've running the command :
php composer.phar install
but when i try to start laravel by opening the path localhost/laravel/public
it show me this error
Can you help me?
thank you
Clear your cookies for 'localhost' and try again - this is likely picking up a session ID from a previous project. Even better would be to setup a Virtual Host so that you're not working from "localhost" but instead a domain like "mysite.dev".

Resources