Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.
I got this when trying to install XRMS on my server
Warning: setlocale() [function.setlocale]: Passing locale category name as string is deprecated. Use the LC_* -constants instead. in C:\Program Files\EasyPHP\www\xrms\include\i18n.php on line 232
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:\Program Files\EasyPHP\www\xrms\include\i18n.php on line 232
Warning: require_once(PEAR.php) [function.require-once]: failed to open stream: No such file or directory in C:\Program Files\EasyPHP\www\xrms\include\classes\HTML\QuickForm.php on line 22
Fatal error: require_once() [function.require]: Failed opening required 'PEAR.php' (include_path='.;C:\PROGRA~1\EasyPHP\\php5\pear\;C:/Progra~1/EasyPHP/www/xrms/include/classes') in C:\Program Files\EasyPHP\www\xrms\include\classes\HTML\QuickForm.php on line 22
what is the solution?
Can anyone help me?
Thanks in advance
AFAIK this is windows specific... a quick workaround is to change line 232 in i18n to setlocale(LC_ALL, "deu"); (for german, english should be en, google for windows language codes)
Be warned that this breaks multi-language support.
The second error says that you need pear to run XRMS, take a look on pear.php.net for instructions on how to install.
The solution about Pear.php is to modifiey "require_once('PEAR.php');" into /xrms/include/classes/HTML/QuickForm.php with "require_once('PEAR/PEAR.php');" (without " symbol)