AtomicVPp Posted June 20, 2003 Posted June 20, 2003 I have setup PHP-Nuke in my Cpanel in the addon scripts. I have customized the settings to the way I want it and I have posted a few(7) news items. I am getting the error "Warning: setlocale() [function.setlocale]: Passing locale category name as string is deprecated. Use the LC_* -constants instead. in /home/atomicv/public_html/blog/mainfile.php on line 565" at the top of every news item. I am also getting the error "Warning: setlocale() [function.setlocale]: Passing locale category name as string is deprecated. Use the LC_* -constants instead. in /home/atomicv/public_html/blog/mainfile.php on line 565" in the 'Administration Menu' under 'Last 20 Articles'. How can this be fixed? TIA -Tim Quote
TCH-JimE Posted June 20, 2003 Posted June 20, 2003 Hi, Simple fix. Search through the mainfile.php file using ctrl+f in internet explorer and search for LC_Time When you have found it, it may look be "LC_Time" remove the quotes so its just LC_Time Remember to back this file up first! Jim Quote
AtomicVPp Posted June 20, 2003 Author Posted June 20, 2003 That fixed it! Thanks again Jim. -Tim Quote
Head Guru Posted June 21, 2003 Posted June 21, 2003 Jim, Good work. *head guru pats jim on back* Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.