Re: Line feed at the befining of my pages source ?!? Where does it come from? Is beaks my XML :(

2009-03-07 Thread uristar
hi, in future, this problem could be also made by unwanted spaces in each file that are use in action (in mean controllets, views, layouts, models ). So before go live with application i double check (e.g with code editor - Komodo, which nicelly showing unwanted spaces) every file, begining and

Re: Line feed at the befining of my pages source ?!? Where does it come from? Is beaks my XML :(

2009-03-07 Thread Dardo Sordi Bogado
This amazing shell have saved me lot of time: http://bin.cakephp.org/saved/33005 On Sat, Mar 7, 2009 at 9:38 AM, uristar robert.rusz...@gmail.com wrote: hi, in future, this problem could be also made by unwanted spaces in each file that are use in action (in mean controllets, views,

Line feed at the befining of my pages source ?!? Where does it come from? Is beaks my XML :(

2009-03-06 Thread Aktarus
Hello, I have an Ajax that requests XML feed to one of my CakePHP action. My action works great and returns something like:- ?xml version=1.0 encoding=ISO-8859-1 ? item id=1 text=Mes catégories /item So far so good... with IE, because my Ajax does not work with Mozilla! Mozilla returns the

Re: Line feed at the befining of my pages source ?!? Where does it come from? Is beaks my XML :(

2009-03-06 Thread Alfredo Quiroga-Villamil
Ummm, try setting your layout to be of ajax type and see how it goes. function toto() { $this-layout = 'ajax'; $this-render( null, '/xml/default', null ); } Regards, Alfredo On Fri, Mar 6, 2009 at 11:24 AM, Aktarus vidaubann...@caramail.com wrote: Hello, I have an Ajax that

Re: Line feed at the befining of my pages source ?!? Where does it come from? Is beaks my XML :(

2009-03-06 Thread Aktarus
Looking in forums I have found this:- http://bytes.com/topic/xml/answers/685843-xml-version-1-0-encoding-utf-8-creting-problem-mozilla-firefox Although **I** don't introduce the line feed they are talking about, I presume it is inserted by CakePHP in the code, I cannot find where with my

Re: Line feed at the befining of my pages source ?!? Where does it come from? Is beaks my XML :(

2009-03-06 Thread Pablo Viojo
removing all closing ? on your models, controllers, components and helpers may help (they are not needed) Saludos, Pablo Viojo pvi...@gmail.com http://pviojo.net (#220 y creciendo!) Ayudar nos hace felices! http://needish.com -

Re: Line feed at the befining of my pages source ?!? Where does it come from? Is beaks my XML :(

2009-03-06 Thread Aktarus
Thanks to IRC channel guys I solved the pbm: Remove all the php closing tags ? from your code and it solved the pbm. Thanks to the CakePHP community! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP