For Programmers: Free Programming Magazines  


Home > Archive > PHP Smarty Templates > January 2006 > Re: [SMARTY] solved: Re: [SMARTY] Re: Globally loading arrays: Best practice?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [SMARTY] solved: Re: [SMARTY] Re: Globally loading arrays: Best practice?
messju mohr

2006-01-09, 10:21 pm

On Wed, Dec 28, 2005 at 03:17:47PM +0100, Patrick Ben Koetter wrote:
> * Patrick Ben Koetter <p@state-of-mind.de>:
>
> Sometimes when you think you've checked everything it pays to do it again.
> Yes, there was one more whitespace and after deleting it the error's gone.
>
> Thanks!


just a tip for the next time: turn off output-buffering and put out
some header() right before $smarty->display(). a more recent php will
throw an error like:

E_WARNING: Cannot modify header information - headers already sent by
(output started at ...:nn) in ... line nn

so the error message will contain the precise location of the
errornous whitespace :)

greetings
messju

> p@rick
>
>
>
>
>
> --
> state of mind
> Agentur für Kommunikation und Design
>
> Patrick Koetter Tel: 089 45227227
> Echinger Strasse 3 Fax: 089 45227226
> 85386 Eching Web: http://www.state-of-mind.de
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com