[TYPO3-english] Whitspace before XML tag

J.Paardekooper j.paardekooper at drecomm.nl
Sun Oct 26 15:14:19 CET 2008


Hello,

I have a problem on my website. The very first character of the source of my 
website a whitespace.
"  <?xml version="1.0" encoding="iso-8859-1"?>"

My documen't won't validate because of this whitespace. I also can't use the 
Google Sitemaps extension, cause I get an xml error, also cause of this 
whitespace.

I've looked through all of my php files inn the typo3ext folder, basically 
looking for extra lines before/after the php start/closing tags. I've found 
a couple, changed them accordingly, but no luck. When I open a cached 
localconf file, it does indeed show an extra line after the closing tag.

I've only got about 5 extensions on my site and I've looked through all of 
them several times. Does anyone have any idea what could be causing this?

Thanks

Jesper

--------------------------------------------------
From: <typo3-english-request at lists.netfielders.de>
Sent: Sunday, October 26, 2008 2:50 PM
To: <typo3-english at lists.netfielders.de>
Subject: TYPO3-english Digest, Vol 61, Issue 110

> Send TYPO3-english mailing list submissions to
> typo3-english at lists.netfielders.de
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> or, via email, send a message with subject or body 'help' to
> typo3-english-request at lists.netfielders.de
>
> You can reach the person managing the list at
> typo3-english-owner at lists.netfielders.de
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of TYPO3-english digest..."
>
>
> Today's Topics:
>
>   1. How to disable display of column in the Page view?
>      (Marcus 'biesior' Biesioroff)
>   2. Re: How to disable display of column in the Page view?
>      (Folkert Hielema)
>   3.  ext: mnoGoSearch 2.0.0 (Antonio Willybiro)
>   4. Re: ext: mnoGoSearch 2.0.0 (Dmitry Dulepov)
>   5. Re: ext: mnoGoSearch 2.0.0 (Antonio Willybiro)
>   6. Re: Presentation about open source and TYPO3 (ries van Twisk)
>   7. "To top" (Ronald Wiplinger (Lists))
>   8. Re: "To top" (Rupali Gupta)
>   9. Re: Default values for BE form fields (Vahan Amirbekyan)
>  10.  TCAdefaults in later versions (Vahan Amirbekyan)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 26 Oct 2008 12:56:18 +0100
> From: Marcus 'biesior' Biesioroff <vsbies at wp.pl>
> Subject: [TYPO3-english] How to disable display of column in the Page
> view?
> To: typo3-english at lists.netfielders.de
> Message-ID:
> <mailman.1.1225022191.21884.typo3-english at lists.netfielders.de>
> Content-Type: text/plain; charset=ISO-8859-2; format=flowed
>
> ellou' List!
>
> I need to disable displaying all of the columns in Page view for certain
> pages (want to show ie. only tt_news records).
>
> I know that I can configure columns in PageTS trough:
>
> mod.web_layout.tt_content.colPos_list = 1,0,2,3  //4, 5, 10, 10000 ....
>
> but I need just to set it to do not show ANY column :)
>
> can you help me ?
>
>
> ------------------------------
>
> Message: 2
> Date: Sun, 26 Oct 2008 13:34:42 +0100
> From: Folkert Hielema <nederflash at gmail.com>
> Subject: Re: [TYPO3-english] How to disable display of column in the
> Page view?
> To: TYPO3 English <typo3-english at lists.netfielders.de>
> Message-ID:
> <mailman.49606.1225024488.4573.typo3-english at lists.netfielders.de>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> What if you leave it empty ? Isn't it suppose to show nothing then ?
>
> like:
>
> mod.web_layout.tt_content.colPos_list =
>
> At the risk of talking bullocks as few weeks typo3 user,
>
> Folkert Hielema
>
> Marcus 'biesior' Biesioroff wrote:
>> ellou' List!
>>
>> I need to disable displaying all of the columns in Page view for certain
>> pages (want to show ie. only tt_news records).
>>
>> I know that I can configure columns in PageTS trough:
>>
>> mod.web_layout.tt_content.colPos_list = 1,0,2,3  //4, 5, 10, 10000 ....
>>
>> but I need just to set it to do not show ANY column :)
>>
>> can you help me ?
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>>
>>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Sun, 26 Oct 2008 12:53:37 -0000
> From: "Antonio Willybiro" <keiser_soze at hotmail.com>
> Subject: [TYPO3-english]  ext: mnoGoSearch 2.0.0
> To: typo3-english at lists.netfielders.de
> Message-ID:
> <mailman.1.1225025598.31947.typo3-english at lists.netfielders.de>
>
> Hi,
>
> I use typo3 v4.2.1
>
> I have successfully:
> - installed anc compiled mnGoSearch engine.
> - installed and compiled  mnGoSearch PHP extension.
> - created the mnGoSearch database which i called 'search'
> - installed the mnGoSearch typo3 extension
>
> I have a couple of questions regarding the configuration of the mngosearch
> extension:
> 1. from the manual section: 'Addition to Typoscript template' its says 
> that
> there should be two extension templates record in 'include static (from
> extensions)' i.e. mngosearch:base and mngosearch:respect index flag.
> I can not see any of these. I only have the template 'mnGoSearch
> (mngosearch)' there. any idea why i can't see the others?
> 2. "Cron script should have access to mysql and mnogosearch engine (the 
> one
> installed at /opt/mnogosearch)".
> How do i check that? it is to do with openbasedir, file ownership or else?
> 3. My cron script is like: 0 3 * * * /usr/bin/php -q
> /var/www/vhosts/mydomain.com/typo3_src/typo3/cli_dispatch.phpsh -w -n
> &>/dev/null
> The manual says cli_dispatch.php but i could not find that file...
> Is that correct?
> 4. "Mapping TemplaVoila template" - i can't find the file named
> tv_exported.xml from mnogosearch/pi1/templates. is that critical?
> 5. Search form options  and Search results options are not shown in my CE
> flexform no matter what i select as display mode. any idea why? actually i
> don't have neither a TAB nor a Template tab in my CE
>
>
> Thanks very much!
> Antonio
>
>
>
>
>
> ------------------------------
>
> Message: 4
> Date: Sun, 26 Oct 2008 15:23:23 +0200
> From: Dmitry Dulepov <dmitry.dulepov at gmail.com>
> Subject: Re: [TYPO3-english] ext: mnoGoSearch 2.0.0
> To: typo3-english at lists.netfielders.de
> Message-ID:
> <mailman.1.1225027404.5286.typo3-english at lists.netfielders.de>
> Content-Type: text/plain; charset=UTF-8
>
> Hi!
>
> Antonio Willybiro wrote:
>> I use typo3 v4.2.1
>>
>> I have successfully:
>> - installed anc compiled mnGoSearch engine.
>> - installed and compiled  mnGoSearch PHP extension.
>> - created the mnGoSearch database which i called 'search'
>> - installed the mnGoSearch typo3 extension
>>
>> I have a couple of questions regarding the configuration of the 
>> mngosearch
>> extension:
>> 1. from the manual section: 'Addition to Typoscript template' its says 
>> that
>> there should be two extension templates record in 'include static (from
>> extensions)' i.e. mngosearch:base and mngosearch:respect index flag.
>> I can not see any of these. I only have the template 'mnGoSearch
>> (mngosearch)' there. any idea why i can't see the others?
>
> Just add this one. Manual is not up to date. I uploaded 2.0.0 in
> order to have it installed on the translation server ASAP. 2.0.1
> will follow soon with the updated manual.
>
>> 2. "Cron script should have access to mysql and mnogosearch engine (the 
>> one
>> installed at /opt/mnogosearch)".
>> How do i check that? it is to do with openbasedir, file ownership or 
>> else?
>
> open_basedir + your shell user should be able to access
> /opt/mnogosearch.
>
>> 3. My cron script is like: 0 3 * * * /usr/bin/php -q
>> /var/www/vhosts/mydomain.com/typo3_src/typo3/cli_dispatch.phpsh -w -n
>> &>/dev/null
>> The manual says cli_dispatch.php but i could not find that file...
>> Is that correct?
>
> cli_dispatch.phpsh
> And you are missing "mnogosearch" before "-w".
>
>> 4. "Mapping TemplaVoila template" - i can't find the file named
>> tv_exported.xml from mnogosearch/pi1/templates. is that critical?
>
> No. TemplaVoila template is removed completely.
>
>> 5. Search form options  and Search results options are not shown in my CE
>> flexform no matter what i select as display mode. any idea why? actually 
>> i
>> don't have neither a TAB nor a Template tab in my CE
>
> Again, this is due to the non?updated manual. I did not expect
> anyone to install mnogosearch on Sunday :D
>
> If you are really interested, take a look at the TS options using
> Backend. Open Web>Template, TypoScript Object Browser there and see
> what options exist under plugin.tx_mnogosearch_pi1. There are
> comments there. But generally you do not need to touch anything
> because all options are already optimized for the best settings.
>
> I will release 2.0.1 with the updated manual next week.
>
> -- 
> Dmitry Dulepov
> TYPO3 translations support
> My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book
> In the blog:
> http://typo3bloke.net/post-details/get_typo3_coding_guidelines_here/
>
>
> ------------------------------
>
> Message: 5
> Date: Sun, 26 Oct 2008 13:28:52 -0000
> From: "Antonio Willybiro" <keiser_soze at hotmail.com>
> Subject: Re: [TYPO3-english] ext: mnoGoSearch 2.0.0
> To: typo3-english at lists.netfielders.de
> Message-ID:
> <mailman.1.1225027714.5864.typo3-english at lists.netfielders.de>
>
> Thanks for your answers.
>
> I'll wait for next week update then.
>
> I noticed one additional thing: when you create a 'mnoGoSearch indexing
> configuration' and choose Table to index News, anything you select for the
> 'Body text fields for the record' is not saved when you save the record.
>
> Sunday is great for work :)
>
> A
>
> "Dmitry Dulepov" <dmitry.dulepov at gmail.com> wrote in message
> news:mailman.1.1225027404.5286.typo3-english at lists.netfielders.de...
>> Hi!
>>
>> Antonio Willybiro wrote:
>>> I use typo3 v4.2.1
>>>
>>> I have successfully:
>>> - installed anc compiled mnGoSearch engine.
>>> - installed and compiled  mnGoSearch PHP extension.
>>> - created the mnGoSearch database which i called 'search'
>>> - installed the mnGoSearch typo3 extension
>>>
>>> I have a couple of questions regarding the configuration of the
>>> mngosearch
>>> extension:
>>> 1. from the manual section: 'Addition to Typoscript template' its says
>>> that
>>> there should be two extension templates record in 'include static (from
>>> extensions)' i.e. mngosearch:base and mngosearch:respect index flag.
>>> I can not see any of these. I only have the template 'mnGoSearch
>>> (mngosearch)' there. any idea why i can't see the others?
>>
>> Just add this one. Manual is not up to date. I uploaded 2.0.0 in
>> order to have it installed on the translation server ASAP. 2.0.1
>> will follow soon with the updated manual.
>>
>>> 2. "Cron script should have access to mysql and mnogosearch engine (the
>>> one
>>> installed at /opt/mnogosearch)".
>>> How do i check that? it is to do with openbasedir, file ownership or
>>> else?
>>
>> open_basedir + your shell user should be able to access
>> /opt/mnogosearch.
>>
>>> 3. My cron script is like: 0 3 * * * /usr/bin/php -q
>>> /var/www/vhosts/mydomain.com/typo3_src/typo3/cli_dispatch.phpsh -w -n
>>> &>/dev/null
>>> The manual says cli_dispatch.php but i could not find that file...
>>> Is that correct?
>>
>> cli_dispatch.phpsh
>> And you are missing "mnogosearch" before "-w".
>>
>>> 4. "Mapping TemplaVoila template" - i can't find the file named
>>> tv_exported.xml from mnogosearch/pi1/templates. is that critical?
>>
>> No. TemplaVoila template is removed completely.
>>
>>> 5. Search form options  and Search results options are not shown in my 
>>> CE
>>> flexform no matter what i select as display mode. any idea why? actually
>>> i
>>> don't have neither a TAB nor a Template tab in my CE
>>
>> Again, this is due to the non-updated manual. I did not expect
>> anyone to install mnogosearch on Sunday :D
>>
>> If you are really interested, take a look at the TS options using
>> Backend. Open Web>Template, TypoScript Object Browser there and see
>> what options exist under plugin.tx_mnogosearch_pi1. There are
>> comments there. But generally you do not need to touch anything
>> because all options are already optimized for the best settings.
>>
>> I will release 2.0.1 with the updated manual next week.
>>
>> -- 
>> Dmitry Dulepov
>> TYPO3 translations support
>> My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book
>> In the blog:
>> http://typo3bloke.net/post-details/get_typo3_coding_guidelines_here/
>
>
>
>
> ------------------------------
>
> Message: 6
> Date: Sun, 26 Oct 2008 08:34:17 -0500
> From: ries van Twisk <typo3 at rvt.dds.nl>
> Subject: Re: [TYPO3-english] Presentation about open source and TYPO3
> To: TYPO3 English <typo3-english at lists.netfielders.de>
> Message-ID:
> <mailman.49612.1225028110.4573.typo3-english at lists.netfielders.de>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
>
> On Oct 25, 2008, at 1:40 PM, Dmitry Dulepov wrote:
>
>> Hi!
>>
>> ries van Twisk wrote:
>>> We all know it's a lot of work but Dmitry make it sounds like if it
>>> takes 4 weeks of
>>> work to complete a 1.5 hours presentation.
>>
>> It tooks me two days to make a good 1h presentation and further
>> hours to rehearse it. So it is truly hard work, not just dropping a
>> couple of bullets to a powerpoint page. Of course, it is if we are
>> still talking about *good* presentation.
>>
>> Making good presentation is more difficult then writing good code.
>> It is more difficult than writing a good book. Presentation is
>> limited in time and people should not doze off while listening, they
>> should be really interested.
>>
>
> What's your point?? We all know this and that's the reason the guy
> asked the community if there was something out there!
>
> Ries
>
>
>
>
>
>
>
>
> ------------------------------
>
> Message: 7
> Date: Sun, 26 Oct 2008 21:39:56 +0800
> From: "Ronald Wiplinger (Lists)" <ronald_lists at elmit.com>
> Subject: [TYPO3-english] "To top"
> To: TYPO3 English <typo3-english at lists.netfielders.de>
> Message-ID:
> <mailman.49614.1225028410.4573.typo3-english at lists.netfielders.de>
> Content-Type: text/plain; charset=ISO-8859-1
>
> I was expecting that by activate "To top", the inserted link will go to
> the top of the page, but it goes to Home (1st page).
> Is there a switch or another way to do that?
> Besides, is there a way to use an icon instead? (e.g., an arrow pointing 
> up)
>
> bye
>
> Ronald
>
>
> ------------------------------
>
> Message: 8
> Date: Sun, 26 Oct 2008 15:49:15 +0200
> From: "Rupali Gupta" <rupali.ffm at googlemail.com>
> Subject: Re: [TYPO3-english] "To top"
> To: "TYPO3 English" <typo3-english at lists.netfielders.de>
> Message-ID:
> <mailman.49615.1225028962.4573.typo3-english at lists.netfielders.de>
> Content-Type: text/plain; charset=ISO-8859-1
>
> check here:
> http://www.typo3-jack.net/typo3-english-lists-netfielders-de/15837-re-typo3-page-top-link.html
>
> 2008/10/26 Ronald Wiplinger (Lists) <ronald_lists at elmit.com>
>
>> I was expecting that by activate "To top", the inserted link will go to
>> the top of the page, but it goes to Home (1st page).
>> Is there a switch or another way to do that?
>> Besides, is there a way to use an icon instead? (e.g., an arrow pointing
>> up)
>>
>> bye
>>
>> Ronald
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>>
>
>
>
> -- 
> Regards,
> Rupali
>
>
> ------------------------------
>
> Message: 9
> Date: Sun, 26 Oct 2008 08:47:40 -0500
> From: "Vahan Amirbekyan" <vamirbekyan at dgfoundation.org>
> Subject: Re: [TYPO3-english] Default values for BE form fields
> To: typo3-english at lists.netfielders.de
> Message-ID:
> <mailman.1.1225028864.8922.typo3-english at lists.netfielders.de>
>
> Philipp,
> thank you for the hint.
> Below works for user TS only per my experiments.
> Does it work for page TS in higher versions of TS?
>
>
> "Philipp Holdener" <philipp at holdener.ch> wrote in message
> news:mailman.1.1224831580.9267.typo3-english at lists.netfielders.de...
>> Vahan Amirbekyan schrieb:
>>> Folks,
>>> how to set default value for BE forms?
>>> is it possible?
>>>
>>> thank you in advance
>>
>> TCAdefaults... is your friend ;-)
>>
>> I'm using TCAdefaults.tt_content.imagewidth = 156 to set the imagewidth 
>> by
>> default
>>
>>
>> Greetings
>>
>> Philipp
>
>
>
>
> ------------------------------
>
> Message: 10
> Date: Sun, 26 Oct 2008 08:49:28 -0500
> From: "Vahan Amirbekyan" <vamirbekyan at dgfoundation.org>
> Subject: [TYPO3-english]  TCAdefaults in later versions
> To: typo3-english at lists.netfielders.de
> Message-ID:
> <mailman.1.1225028972.9173.typo3-english at lists.netfielders.de>
>
> Folks,
> up to v4.1.1 TCAdefaults works for user TS only.
> As I believe it woudl be very useful to have ability to set up default
> values for page TS i though may be that feature is now available in later
> versions.
> Do you know if TCAdefaults works for page TS in newer versions?
>
> thank you
>
>
>
>
> ------------------------------
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
> End of TYPO3-english Digest, Vol 61, Issue 110
> **********************************************
> 


More information about the TYPO3-english mailing list