Hi tt;
How long are these strings? What datatype are you using to store these
strings in the db? b.t.w. the links in your post to the examples don't
appear to go anywhere useful... :(

On Aug 6, 8:23 pm, technicaltitch <technicalti...@gmail.com> wrote:
> Dear all,
>
> Please I'm desperate - if you had a simple CakePHP app, and certain
> strings in any text field caused it to give up without any error and
> display the default homepage, where could you look? I'm not asking for
> possible solutions as I realise this is too obscure for that, but I've
> absolutely no idea what part of the server could possibly have this
> effect. Anything that has anything to do with looking at form strings
> site-wide.
>
> I have removed all my controller code, I have removed the TinyMCE
> controllers and seen the bug in plain text inputs as well as
> textareas, I have tried GET and POST forms, I have tried entering the
> text via phpMyAdmin, or on a non-CakePHP site hosted on the same
> infrastructure and they work fine.
>
> Entering this string into any text field causes the 
> error:http://geocities.com/
> but entering this doesn't:http://geocities.com(ie, without the last
> character). Similarly for the string in Spanish in my original post -
> each sentence on it's own doesn't, but the two together does cause
> this error.
>
> Please ANY tip would be hugely appreciated - my PHP isn't at a level
> where I can trace through the Cake code, I've spent nearly a week on
> this, my next step is to rewrite the CMS in plain PHP which is several
> weeks' unpaid work I've no idea how I'll fit in.
>
> Thanks for any time or help whatsoever,
> Chris
>
> www.intiwarayassi.org
>
> On Aug 1, 4:20 pm, technicaltitch <technicalti...@gmail.com> wrote:
>
> > Dear all,
>
> > Thanks for your time. I've written a simple CakePHP+TinyMCE CMS and
> > I'm having a horrendous time tracking a very strange error. Specific
> > strings in any of the text fields are causing my website to do
> > something that looks like a 404 error.
>
> > These are the strings I have found so far - I can paste these into any
> > of my text fields on the site and it causes a complete failure:
>
> > "http://geocities.com/"; or
>
> > "Los animales silvestres del refugio fueron sacados de los circos, de
> > los mercados y de las jaulas inhumanas, o fueron una vez de mascotas
> > que muchos fueron muy maltratados por el amo. El proyecto consiste en
> > la rehabilitación y la restauracion de nuevas especies para luego ser
> > devueltos a su hábitat natural"
>
> > (and several others I'm painstakingly tracking down). If I remove even
> > just part of the string it works perfectly. The behaviour is 100%
> > predictable once you isolate the string. If I put a space in the
> > middle, or delete the end '/', the problem disappears.
>
> > I have commented out all of my controller code including the save and
> > redirect and I still get the error. It happens whether or not model
> > validation is taking place. I am doing nothing clever - just a simple
> > POST form, 'edit' method and redirect to an index/admin page. I can
> > find no error messages anywhere. Where do I start?
>
> > I'm using CakePHP version 1.1.17.5612 on a standard CPanel-based host.
>
> > Massive thanks for any tips whatsoever, I am completely lost on this,
> > Chris
>
> > The website is herewww.intiwarayassi.org-I'm a professional
> > developer but did this for free
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to