On windows I would do it with notepad++ (Format -> Encode in UTF-8 without
BOM).

If not - there is an entry in geany documentation about BOM:
http://www.geany.org/manual/current/index.html#unicode-byte-order-mark-bom

> In the status bar you can easily see whether the file starts with a BOM or
not.
> If you want to set a BOM for a file or if you want to remove it from a
file,
> just use the document menu and toggle the checkbox.


--
Regards,
Vladas Diržys


2009/12/7 Jigal Sanders <[email protected]>

> I am using geany. How can i check it?
>
>
> On 6 dec 2009, at 21:13, Vladas Diržys <[email protected]> wrote:
>
> Hi,
>
> Are you sure there is no BOM at the beginning of EventController.php? Which
> editor are you using?
>
> --
> Regards,
> Vladas Diržys
>
>
> On Fri, Dec 4, 2009 at 14:09, Jigal sanders < <[email protected]>
> [email protected]> wrote:
>
>> Hello I have a strange problem.
>>
>> I am trying to enable Zendx_JQuery_Form
>>
>> So I have created a class as you can see here:
>> <http://pastebin.com/m2a43e1c2>http://pastebin.com/m2a43e1c2
>>
>> The problem is that my jquery datepicker fields don't work. I only get the
>> following error in firebug:
>>
>> <br />
>> <b>Fatal error</b>:  Uncaught exception 'Zend_Controller_Response_Exception' 
>> with message 'Cannot send headers; headers already sent in 
>> /var/www/nrka/application/controllers/EventsController.php, line 1' in 
>> /home/jigal/Public/ZendFramework-1.9.6/library/Zend/Controller/Response/Abstract.php:282
>>
>>
>>
>>
>> Stack trace:
>> #0 
>> /home/jigal/Public/ZendFramework-1.9.6/library/Zend/Controller/Response/Abstract.php(300):
>>  Zend_Controller_Response_Abstract-&gt;canSendHeaders(true)
>> #1 
>> /home/jigal/Public/ZendFramework-1.9.6/library/Zend/Controller/Response/Abstract.php(727):
>>  Zend_Controller_Response_Abstract-&gt;sendHeaders()
>>
>>
>>
>>
>> #2 
>> /home/jigal/Public/ZendFramework-1.9.6/library/Zend/Controller/Front.php(984):
>>  Zend_Controller_Response_Abstract-&gt;sendResponse()
>> #3 
>> /home/jigal/Public/ZendFramework-1.9.6/library/Zend/Application/Bootstrap/Bootstrap.php(77):
>>  Zend_Controller_Front-&gt;dispatch()
>>
>>
>>
>>
>> #4 /home/jigal/Public/ZendFramework-1.9.6/library/Zend/Application.php(358): 
>> Zend_Application_Bootstrap_Bootstrap-&gt;run()
>> #5 /var/www/nrka/public/index.php(26): Zend_Application-&gt;run in 
>> <b>/home/jigal/Public/ZendFramework-1.9.6/library/Zend/Controller/Response/Abstract.php</b>
>>  on line <b>282</b><br />
>>
>>
>>
>> But in eventController.php in starts with <?php right at the beginning.
>> There is no empty space.
>>
>> Can anyone tell me what I am doing wrong?
>>
>>
>> thanks,
>>
>> J. Sanders
>>
>>
>>
>>
>>
>

Reply via email to