We are getting very strange problem. We have implemented a custom router in a custom module. It is working fine as expected in local setup. But when we include the router definition in the modulename/etc/config.xml (the code between <default> tag in the following code), every page of the website gives just a blank page. I am getting blank pages on every url, so dont even know how to debug it. My config.xml is this and if you want any other code from the module I can give that too.
2013-02-03T08:11:57+00:00 ERR (3): Warning: include(Foursevencustom/Stylist/Controller/Router.php): failed to open stream: No such file or directory in /chroot/home/fourseve/fourseven.in/html/lib/Varien/Autoload.php on line 93 2013-02-03T08:11:57+00:00 ERR (3): Warning: include(): Failed opening 'Foursevencustom/Stylist/Controller/Router.php' for inclusion (include_path='/chroot/home/fourseve/fourseven.in/html/app/code/local:/chroot/home/fourseve/fourseven.in/html/app/code/community:/chroot/home/fourseve/fourseven.in/html/app/code/core:/chroot/home/fourseve/fourseven.in/html/lib:.:/usr/share/pear:/usr/share/php') in /chroot/home/fourseve/fourseven.in/html/lib/Varien/Autoload.php on line 93
2013-02-03T08:11:57+00:00 ERR (3): Warning: include(Foursevencustom/Stylist/Controller/Router.php): failed to open stream: No such file or directory in /chroot/home/fourseve/fourseven.in/html/lib/Varien/Autoload.php on line 93 2013-02-03T08:11:57+00:00 ERR (3): Warning: include(): Failed opening 'Foursevencustom/Stylist/Controller/Router.php' for inclusion (include_path='/chroot/home/fourseve/fourseven.in/html/app/code/local:/chroot/home/fourseve/fourseven.in/html/app/code/community:/chroot/home/fourseve/fourseven.in/html/app/code/core:/chroot/home/fourseve/fourseven.in/html/lib:.:/usr/share/pear:/usr/share/php') in /chroot/home/fourseve/fourseven.in/html/lib/Varien/Autoload.php on line 93
Is the compilation mode enable? if yes try to disable.
regards
filippo.
the controllers/Router.php should be Controllers/Router.php, i.e. capital first letter and it works. Two days wasted.
I am sure that is a joy many Magento developers such as me have faced before . One of the joys of developing and testing on a windows machine. With a linux install you would spot it before it goes to production.