Supplement to Installation of Semantic Scuttle
Tuesday, September 09th, 2008 | Author: Andreas
Possibly you get an error-messages after installation. There are two known issues at the moment.
Opening-Tag <?
In the file templates/top.inc.php at line 52 is “<? ” used as an opening-tag. This is valid according w3 but some web-server do have a problem with this tag. Just change it to “<?php”
Warning: setlocale() [function.setlocale]
Maybe you get an error-message like:
Warning: setlocale() [function.setlocale]: Passing locale category name as string is deprecated. Use the LC_* -constants instead in C:\web\SemanticScuttle\includes\php-gettext\gettext.inc on line 131 Warning: setlocale() [function.setlocale]: Invalid locale category name LC_MESSAGES, must be one of LC_ALL, LC_COLLATE, LC_CTYPE, LC_MONETARY, LC_NUMERIC, or LC_TIME in C:\web\SemanticScuttle\includes\php-gettext\gettext.inc on line 131
I had this once with an local XAMPP-installation. As far as I find out this is a problem of the web-server. For details visit PHP.NET.
Because this is only a warning you can avoid the output of this message by modifying
/includes/php-gettext/gettext.inc, at line 131 you find:
$ret = setlocale(LC_MESSAGES, $locale);
Just at an @ before setlocale:
$ret = @setlocale(LC_MESSAGES, $locale);
Related Posts
