[TYPO3-english] PHP warning parse_url(http:///404/)

Tomas Havner tomas.havner at kansli.lth.se
Fri Dec 3 09:13:30 CET 2010


  Christopher Torgalson skrev 2010-12-02 20:42:
> Hi,
>
> On Thu, Dec 2, 2010 at 11:38 AM, "Christian Müller (Kitsunet)"
> <christian at kitsunet.de>  wrote:
>> On 02.12.2010 16:10, Tomas Havner wrote:
>>> Hi,
>>>
>>> My error logs is filled with the following:
>>>
>>> PHP Warning: parse_url(http:///404/) [<a
>>> href='function.parse-url'>function.parse-url</a>]: Unable to parse url
>>> in /usr/local/typo3/typo3_src-4.2.15/t3lib/class.t3lib_div.php on line
>>> 2715
>>>
>>> any ideas?
>>>
>>>
>>> Regards
>>>
>>> Tomas
>>>
>> That happens if you have a broken link somewhere (probably inside some
>> content, but could virtually be everywhere), try to search if you link to
>> /404 somewhere...
>
> Just a guess, but did you set page not found handling url in the
> Install Tool to /404? (If you did do this, it's wrong since there is
> no reason to EVER try to access a 404 page by it's own URL; just use
> the index.php?id=123 syntax...)
>
>
I host many sites, so I have set the page not found handling to 404. Is 
there a solution to define one 404-page per site without using /404?

Tomas


More information about the TYPO3-english mailing list