Comments (8)
Same issue! I've been waiting for someone to address it.
from forkcms.
Just posted this on the Forums:
In Fork 3.5.0 if I set t the parameter for fork.debug in app/config/parameters.yml it doesn't actually bring the CMS out of debug mode.
The debug.css files is still being loaded, including the nofollow, noindex metatag.
CSS and JS aren't being minified and combined.
Since there isn't a symfony console I can't to app:cache:clear --env="dev" or app:cache:clear --env="prod".
Is the parameters.yml being cached somewhere?
from forkcms.
Debug info:
- index.php:32 Autoload.php gets included
- autoload.php:107 Spoon gets included
- spoon.php:28 Debug is set on true every time because the parameter check in AppKernel will be executed after this.
Can we include Spoon after AppKernel?
Poke: @tijsverkoyen @dieterve @matthiasmullie
from forkcms.
The idea behind 1 autoload.php is that you can include that 1 file and every Fork class + its dependencies will be available. Moving around the Spoon include to a deeper level will cause this idea to fail and things will get more complicated again (which is not the direction we want to go to).
Spoon is actually not correct (in my opinion) in initiating things just by including its base file. I think we might need to do some changes in Spoon and remove those initial settings. I just removed them as test and everything is still working but some more extensive testing should be done.
from forkcms.
I agree with @dieterve: Spoon should not set this config var upon init, definitely not as a non-over-writable constant.
from forkcms.
This issue seems that it would an easy fix, but I guess I don't understand the complexity of the passing of variables. Would it be a safe bet to modify /vendor/spoon/spoon.php on line 28 to false as a temporary work around?
from forkcms.
@westondunn: If you need it today then that's probably the easiest solution. @dieterve is looking into it and we will bring out a patch as soon as possible.
from forkcms.
Good deal, thanks.
from forkcms.
Related Issues (20)
- Remove Analytics Module HOT 1
- Pages - Improve performance of pages module HOT 1
- Pages - handle unlinked blocks
- Pages - preview url for home HOT 1
- Pages - rename HTML field HOT 1
- Core - addCSS and addJS
- Env variables in parameters.yml are not supported on module list HOT 2
- Profiles module frontend, users need to login twice HOT 8
- Pages - Broken usertemplates HOT 2
- Send email from within ajax callback HOT 1
- GenerateUrl ajax call error HOT 3
- Formbuilder : Labels with special chars HOT 2
- Error 500 in 5.11 release. Missing autoload.php HOT 10
- Breadcrumbs: code "if loop last" removes delimiter in pure bootstrap HOT 4
- Can't add links to images in editor HOT 1
- Add toggles to MediaLibrary and disable default 'strip' functionality
- Locale - Only rows with the "label" type fields are exported, the rest are ignored HOT 1
- Fix htaccess redirect for URL's which contain "bin/" HOT 1
- Exception when creating entities during Module install HOT 1
- Problem with Cache component and igbinary
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 forkcms.