Yes, it is due to the server configuration, as it works on my macbook
and mbp development laptops. It also works on another server running
lighttpd. The one server where it breaks is an apache server with the
directadmin control panel. Maybe someone has an idea about what DA is
misconfiguring. this issue is basically un-debuggable, as apache and
cake logs are empty and I just see the 404 error.
If I put die('I am here'); before the use of array it prints it, if
after it sends a 404 error. This is really frustrating actually,
because I have got no clue as to why this is happening.

On Apr 5, 11:47 pm, Sliv <[EMAIL PROTECTED]> wrote:
> I would test your app on a different server, as it sounds like an
> environment (php and/or apache) issue to me.
>
> I've tried the 1.2 beta on several different servers, linux distros
> and php versions/configurations, and every problem not already
> mentioned in trac was because of something wrong with the environment,
> not cake.
>
> On Apr 5, 2:29 pm, Kusok <[EMAIL PROTECTED]> wrote:
>
> > Any ideas? I am sorry for asking twice, but this is important for me.
>
> > On Apr 5, 12:21 pm, Kusok <[EMAIL PROTECTED]> wrote:
>
> > > It still shows404even if I set the debug level to 3. There is also
> > > nothing in the log file. But it's clear, that the404is coming from
> > > cake, as the web server shows a different404if the file is not
> > > found.
>
> > > On Apr 5, 11:12 am, Adam Royle <[EMAIL PROTECTED]> wrote:
>
> > > > Set your debug setting to 2 and see what the error is. When you set
> > > > debug = 0, cake throws a404whenever there is a script error.
>
> > > > On Apr 5, 6:57 pm, Kusok <[EMAIL PROTECTED]> wrote:
>
> > > > > I am using cakephp beta 1.2 and I noticed, that usage of arrays throws
> > > > > a404error. For instance if I use something like 
> > > > > Model->findAll(array('id' => 5, 'status' => 1)) this throws a404not 
> > > > > found.
>
> > > > > If I use Model->findAll("id = 5 and status = 1") it works fine.
>
> > > > > Another thing is I cannot use requestAction on controllers as it
> > > > > requires aarray('return') in the end.
>
> > > > > This is a PHP misconfiguration error I assume, but how do I fix it?
>
> > > > > Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to