Love Fuel?
Donate
About
Forums
Discussions
Login
FuelPHP Forums
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
kay899
February 2013
Hello,
I have installed Fuel correctly for the first time ona webserver.
Under
http://www.tierpensionen-portal.com/
everything is runnign perfectly.
Then I tried to make a staging installation under
http://stage.tierpensionen-portal.com/
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:
'security' =>
array(
'csrf_autoload' => false,
'csrf_token_key' => 'fuel_csrf_token',
'csrf_expiration' => 0,
'uri_filter' =>
array(
0 => 'htmlentities',
),
'input_filter' =>
array(
),
'output_filter' =>
array(
0 => 'Security::htmlentities',
),
'htmlentities_flags' => 3,
'htmlentities_double_encode' => false,
'auto_filter_output' => true,
'whitelisted_classes' =>
array(
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?
Thanks
Kay
Harro
February 2013
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.
kay899
February 2013
Was some other stupid thing:
I haven't set the Database for Enviroment Stage correctly. :.-(
Add a Comment
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Categories
All Discussions
5,088
General
↳ General
3,364
↳ Job Board
13
↳ Installation & Setup
214
Packages
↳ Oil
213
↳ Orm
700
↳ Auth
260
Development
↳ Tips and Tutorials
126
↳ Code share
145
↳ Applications
52
In this Discussion
Harro
February 2013
kay899
February 2013