All of a sudden, you get tons of warnings like this one:
Warning: setlocale(): Passing locale category name as string is deprecated. Use the LC_* -constants instead. in /home/chris/public_html/nuke/mainfile.php on line 565 |
The problem comes suddenly after your ISP has upgraded to a newer version of PHP (without telling you, of course!
To fix this, remove the quotes that are around "LC_TIME" in the line/file mentioned in the error message displayed (see Warning: setlocale(): Passing locale category name as string is deprecated and News article: Warning: setlocale(): Passing locale category name as string is deprecated.).
![]() |
Attention: repetitious error! |
---|---|
You may get this error again and again. You will have to do the above change in *all* occurences of the LC_something constants! I once counted 17 of them, scattered all around the PHP-Nuke files... |
Help us make a better PHP-Nuke HOWTO!Want to contribute to this HOWTO? Have a suggestion or a solution to a problem that was not treated here? Post your comments on my PHP-Nuke Forum! Chris Karakas, Maintainer PHP-Nuke HOWTO |