Wednesday, January 23, 2013

Weird Issue

I have a canvas page that needs to display inside facebook.

 

In development so it is in a subfolder called fitbit (not in the root)

 

Only building the page now outside FB / no integration but problem is if I go to the url …www.example.com/fitbit/canvas I get 404 error.

 

If I change the route.php so going to www.example.com/fitbit it calls

Router::connect('/', array('controller' => 'canvas', 'action' => 'index')); it loads fine.

 

Cannot figure out why it will not load fine without the Route change.

 

It is clearly loading with the routh page but not finding without….weird!

 

Any ideas?

 

Thanks

Dave

No comments: