Re: Weird Issue
Are you using a standard CakePHP folder structure for your application and has your webserver been set to have the root at the webroot folder in the CakePHP folder structure? Show your folder structure and where in it the fitbit folder is located. Kind regards John On Thursday, 24 January 2013 06:11:36 UTC+2, advantage+ wrote: 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 -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en.
RE: Weird Issue
My root / www is just an index page as there is no real site for my domain so the structure is the following www index.php -fitfit -fitbit / all cake files / app / app /controllers / app /models and so on Dave From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf Of John Andersen Sent: Thursday, January 24, 2013 5:09 PM To: cake-php@googlegroups.com Subject: Re: Weird Issue Are you using a standard CakePHP folder structure for your application and has your webserver been set to have the root at the webroot folder in the CakePHP folder structure? Show your folder structure and where in it the fitbit folder is located. Kind regards John On Thursday, 24 January 2013 06:11:36 UTC+2, advantage+ wrote: 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 -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en.
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 -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en.