Are you working in CakePHP debug mode ? I would advise setting the debug level to 2 , this would output performed sql queries which can be usefull in this case to find the cause of the error.
Also, come to think of it ... I think Cake gives 404 errors when in production mode (debug level 0), thus hiding the real error message. Good luck ! On Wed, Aug 12, 2009 at 12:45 PM, technicaltitch<technicalti...@gmail.com> wrote: > > Thanks hugely delocalizer and bert and anyone else who reads this. I > am trying to get the site working on Apache locally (I did have it but > the hard disk crashed a couple months ago and I'm struggling hence the > delay). > > I hadn't come across debugging PHP before - sounds very useful. What > is the generally recommended setup for debugging PHP? I've found a > couple Eclipse plugins - EclipsePDT based on xdebug and PHPeclipse > which seems more basic. > > The string length does not seem relevant - the two strings currently > isolated are: > > http://geocities.com/ [ed: this is not a link - this is the text > I enter into the text field that creates the error] > > and the two Spanish sentences in my original post starting "Los > animales silvestres..." - either of the sentences on its own does not > crash, just the pair together. > > I don't specify the string length in the CakePHP, and it happens to > both varchar(255) and blob database fields (mysql 5). > > By 404 I mean that when I press submit, it redirects to the homepage, > which is exactly what it does if I type in a non-existent URL. I'm not > sure what is doing this but if I can figure it out I'll create a 404 > page to confirm. > > Thanks hugely > Chris > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---