Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Installation & Setup
Get an error after installing Fuel on Subdomain
I have installed Fuel correctly for the first time ona webserver.
everything is runnign perfectly.
Then I tried to make a staging installation under
which now shows an error:
Fuel\Core\FuelException [ Error ]: There is no security.output_filter defined in your application config file
COREPATH/classes/security.php @ line 59
I have checked my config.php an find there is ecurity.output_filter set with:
'csrf_autoload' => false,
'csrf_token_key' => 'fuel_csrf_token',
'csrf_expiration' => 0,
0 => 'htmlentities',
0 => 'Security::htmlentities',
'htmlentities_flags' => 3,
'htmlentities_double_encode' => false,
'auto_filter_output' => true,
0 => 'Fuel\\Core\\Response',
1 => 'Fuel\\Core\\View',
2 => 'Fuel\\Core\\ViewModel',
3 => 'Closure',
Any idea why this error is appearing?
Do I have to make some adjustments in config.php when using this on a Subdaomain?
The most likely cause of this is that you have used a Core method somewhere that requires cleaning before the application configuration is loaded.
For example Input::uri() or Input::get(), in your index.php or your app/bootstrap.php.
You can't access the framework until it's initialized, which is the last line in the default app/bootstrap.php.
Was some other stupid thing:
I haven't set the Database for Enviroment Stage correctly. :.-(
Add a Comment
It looks like you're new here. If you want to get involved, click one of these buttons!
Apply for Membership
↳ Job Board
↳ Installation & Setup
↳ Tips and Tutorials
↳ Code share
In this Discussion