Comments (10)
I got this same error when my APP_ENV was set to production
and APP_DEBUG set to true. It works when I have APP_ENV
set to local
from ignition-code-editor.
php artisan cache:clear && php artisan route:clear
and you are good to go (eventually).
from ignition-code-editor.
Im running into this error when running unit tests.
from ignition-code-editor.
My setting is:
APP_ENV="development"
Might be related to
Would it be better to write
if ($this->app->environment('production')) {
I often like to keep error handling in place in staging environments, but perhaps not the editor. I can see both sides of the argument.
from ignition-code-editor.
Getting this error when deploying to a Staging server through Vapor...(APP_DEBUG set to true
)
from ignition-code-editor.
Same problem here +1 to @mikebronner s suggestion
from ignition-code-editor.
+1
from ignition-code-editor.
I had to chmod 777 -R storage
to solve this
Edit :
and set .env APP_ENV=local first, refresh the page and re set APP_ENV=production
from ignition-code-editor.
if your are using Centos operationg system
sudo nano /etc/apache2/apache2.conf // ubunto
sudo nano /etc/httpd/conf/httpd.conf
Find the following code inside the editor:
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
Change to:
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
After that restart the Apache server or httpd
sudo systemctl restart httpd
or
sudo systemctl restart apache2
from ignition-code-editor.
I was getting this because I didn't have APP_KEY set in .env.testing
from ignition-code-editor.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ignition-code-editor.