[support] Error: "compilation failed"

Daniel Carrera daniel.carrera at zmsl.com
Mon May 8 14:16:34 UTC 2006


Hello,

I'm trying to create a Drupal site. When I went to create the admin 
account I got the error:

<quote>
warning: Compilation failed: characters with values > 255 are not yet 
supported in classes at offset 27 in 
/home/ingots/public_html/drupal/modules/user.module on line 243.
</quote>

The offending part of the code is:

<quote>
if (preg_match('/[\x{80}-\x{A0}'. // Non-printable ISO-8859-1 + NBSP
                '\x{AD}'.          // Soft-hyphen
                '\x{2000}-\x{200F}'. // Various space characters
                '\x{2028}-\x{202F}'. // Bidirectional text overrides
                '\x{205F}-\x{206F}'. // Various text hinting characters
                '\x{FEFF}'.          // Byte order mark
                '\x{FF01}-\x{FF60}'. // Full-width latin
                '\x{FFF9}-\x{FFFD}]/u', // Replacement characters
                $name)) {  // <---- **OFFENDING LINE** <-- <--
     return t('The username contains an illegal character.');
}
</quote>

But the name I entered was just "admin". It shouldn't have caused any 
problems.

Does anyone know what's wrong and how I can fix it?

Best,
Daniel.
-- 
      /\/`) http://opendocumentfellowship.org
     /\/_/
    /\/_/   ...and starting today, all passwords must
    \/_/    contain letters, numbers, doodles, sign
    /       language and squirrel noises.



More information about the support mailing list