[Typo3-linux] Invalid range end in install step 1

Michael Stucki michael at typo3.org
Fri Nov 11 09:08:02 CET 2005


Dimitri Tarassenko wrote:

> Nick,
> 
> As far as I can see this error is caused by ereg() function which
> basically checks whether the hostname you entered as a location of
> your database is a valid one or not:
> 
> Line 2078:
>        if (!ereg("[^[:alnum:]_\.-:]",$value) && strlen($value)<50)

I think you can solve this problem by just moving the "-" to the end of the
list:

if (!ereg("[^[:alnum:]_\.:-]",$value) && strlen($value)<50)

If it helps, please make sure to add this to the bugtracker.

- michael
-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/



More information about the TYPO3-linux mailing list