I am using modules and here's the structure:
-application
-modules
-affaire
-controllers
-ProfileController.php
-models
-Affaire.php
-AffaireMapper.php
The problem is in the index action of ProfileController, when I call :
$affaireMapper = new Affaire_Model_AffaireMapper();
The error I get is Affaire_Model_AffaireMapper not found on ... well you know the drill :P I suspect that this is because of my module name being written in lowercases. I also double checked my class name in AffaireMapper.php to be sure it wasn't mistyped. The name is Affaire_Model_AffaireMapper btw!
If it is because of what I suspect, is there any way that I can keep my lowercase name "affaire"? I want it in lowercases so my ur; are like : "somthing.com/affaire/profile". Anyway, I'm new to Zend so it might (or it IS :P) a newbie mistake!