Undefined property: CakeRoute::$response

2012-08-04 Thread lsiden
ControllerTestCase/TestSuite is throwing a PHP error because Router::currentRoute()->response is not defined on TestSuite.php line 250. This is encountered in a branch taken because $request->params['controller'] is not set. So I think that this may be the root of the problem but I'm not sure

Re: CakeRoute

2012-01-27 Thread sixthpoint
thanks for the reply, I will look into both of these for my project On Jan 26, 5:47 pm, Sam Sherlock wrote: > Jose Diaz-Gonzalez has some code on github that may help here > you'll have to adjust/play > > a domain redirect comp - set up a model > domain_prefixeshttps://gist.github.com/1498851 >

Re: CakeRoute

2012-01-26 Thread Sam Sherlock
Jose Diaz-Gonzalez has some code on github that may help here you'll have to adjust/play a domain redirect comp - set up a model domain_prefixes https://gist.github.com/1498851 Static Page Route plugin (has 1.3/2.x branches) - you'll have to create something very bespoke but this will help you co

Re: CakeRoute

2012-01-26 Thread sixthpoint
http://mark-story.com/posts/view/using-custom-route-classes-in-cakephp On Jan 26, 3:56 pm, sixthpoint wrote: > I have found this article, appears to be helpful. Might be some issues > though when migrating to cake 2.x > > On Jan 26, 1:15 pm, sixthpoint wrote: > > > > > > > > > I have been trying

Re: CakeRoute

2012-01-26 Thread sixthpoint
I have found this article, appears to be helpful. Might be some issues though when migrating to cake 2.x On Jan 26, 1:15 pm, sixthpoint wrote: > I have been trying to do some research on solving my problem. It seems > simple, but I don't see a lot of documentation in cake on creating > custom rou

CakeRoute

2012-01-26 Thread sixthpoint
I have been trying to do some research on solving my problem. It seems simple, but I don't see a lot of documentation in cake on creating custom routes. My issue: I want to take a URL like so http://localhost/controller1/item1 and route it to http://item1.localhost/* this "item1" can be different

Re: Fatal error: Call to undefined method CakeRoute::__set_state()

2011-02-20 Thread Jeremy Burns | Class Outfit
thod-cakeroute__set_state > > then it has been resolved. Does the solution not work in your case? > Enjoy, > John > > On Feb 19, 9:20 pm, Jeremy Burns wrote: >> I upgraded site to 1.3.7, and am now getting this error: >> >> Fatal error: Call to undefined met

Re: Fatal error: Call to undefined method CakeRoute::__set_state()

2011-02-19 Thread John Andersen
wrote: > I upgraded site to 1.3.7, and am now getting this error: > > Fatal error: Call to undefined method CakeRoute::__set_state() in > <[path]>/app/tmp/cache/views/<[filename.php]>  (<[path]> and > <[filename.php]> are the path to my app and one or more fil

Fatal error: Call to undefined method CakeRoute::__set_state()

2011-02-19 Thread Jeremy Burns
I upgraded site to 1.3.7, and am now getting this error: Fatal error: Call to undefined method CakeRoute::__set_state() in <[path]>/app/tmp/cache/views/<[filename.php]> (<[path]> and <[filename.php]> are the path to my app and one or more filenames in cache that thro