ssbg wrote:
>
> Chris,
>
> I'm having problems with module configs too, but I'm guessing that your
> function name should be "_initRouter()". Are you seeing your error
> message logged? If your logger is working, log your routes before you
> send them to the router to verify they're being read properly.
>
> HTH.
>
Hi,
Thx for trying to help me ;) ...
- i think it doesnt matter which name i use, initRoutes or initXY are all
ok, i don't use the "resource" router (i will try that later, unfortunatly
there is no documentation about it)
- no there was no message in my logs, my bootstrap never got loaded, i
missed something but found a hint here, in your main application config file
you need to add this line:
/application/configs/config.ini
resources.modules[] = default, categories, moduleXY;
i found the hint here: http://framework.zend.com/issues/browse/ZF-6659
now it loads my bootstrap :D
- but now i get another error msg:
An exception occured while bootstrapping the
application.simplexml_load_file() [function.simplexml-load-file]: I/O
warning : failed to load external entity
"file:///C:/xampp/htdocs/gamerszone/application/categories/configs/routes.xml"
... what i want to achieve are modules that are totally independent from the
core application, i want to be able to copy a module folder from one project
to another without having to modifiy the application core ... if somebody
has examples how he did it or a tutorial please add the url here, thx
chris
--
View this message in context:
http://www.nabble.com/module-bootstrap-doesnt-load-module-routes-tp23685377p23691738.html
Sent from the Zend Framework mailing list archive at Nabble.com.