I am new at symfony and I'm getting an error when creating a new component :
500 | Internal Server Error | sfConfigurationException The component does not exist: "etatFlotte", "results".
I followed the steps in http://www.symfony-project.org/book/1_0 ... ayer#Slots to build my component.
My module name is etatFlotte In my component.class.php
I have this :
class etatFlotteComponents extends sfComponents
{
public function executeResults(sfWebRequest $request){
}
}
In my module/templates/_results.php , I have some html.
Now in the module where I want to display the component modules/resume/templates/indexsuccess.php, I have the code :
include_component('etatFlotte', 'results')
I should not get any errors but I'm getting the component does not exist error. I tried adding to the view.yml :
components:
etatFlotte: [etatFlotte, results]
But nothing.... Could somebody help me ? I really want to know how to create a component and make it work. I think I have missed some configuration steps somewhere.vchellen
compontents.class.php
, notcomponent.class.php
. – Maerlyncomponents.class.php
– greg0ire