From: Terry B. <tb...@do...> - 2003-03-11 22:21:15
|
Hi James, Thanks for the code to fix the error messages I was getting. Just to describe the problem and the solution. I have run manage.php and got the front admin screen. However at the top = there are some error messages as shown below. I don't know what the errors are referring to, can anyone help me please. Terry ERROR MESSAGES ***********************************************************= ****************************************************** Notice: Use of undefined constant LC_MESSAGES - assumed 'LC_MESSAGES' in = c:\program files\apache group\apache\phpesp\admin\include\lib\espi18n.inc = on line 107 Warning: setlocale() [function.setlocale]: Passing locale category name as = string is deprecated. Use the LC_* -constants instead. in c:\program = files\apache group\apache\phpesp\admin\include\lib\espi18n.inc on line 107 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\apache group\apache\phpesp\admi= n\include\lib\espi18n.inc on line 107 ***************************************************************************= ***************************************************************************= * Solution sent by James L Flemer is Now about your problem. We, the phpESP developers, do not have access to a Windows platform for testing. Could you please try the following fix. Edit phpESP/admin/include/lib/espi18n.inc, and replace line 107: --- old line 107 --- setlocale(LC_MESSAGES, $lang); --- new lines --- if (defined('LC_MESSAGES')) setlocale(LC_MESSAGES, $lang); --- end --- ***************************************************************************= ******************************************************************* Thanks=20 Terry |