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
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
>
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
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
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
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
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
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
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