Can Anyone Please Help Me here? I am receiving this error message on my site in a few different places and I have no clue what it means!
Warning: setlocale(): Passing locale category name as string is deprecated. Use the LC_* -constants instead. in /home/ofccla/public_html/dodindex/modules/Downloads/index.php on line 689
Thanks,
Ron
Ron2 Guest
Posted:
Wed Mar 10, 2004 2:27 pm
Ok I will Answer My Own Question and Anyone else who has the same Problem!
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...
_________________ - Never suspect conspiracy if incompetence could achieve the same result.
Ron2 Guest
Posted:
Thu Mar 11, 2004 9:29 am
Ok This is Probably a reaalllyy Sillly Question, But how do you Execute a SQL.txt file? is it somthing like: http://www.yoursite.com/php/SQL.txt
I guess i just have no clue!
Wiitigo Captain
Joined: Mar 08, 2004
Posts: 319
Location: USA
Posted:
Thu Mar 11, 2004 12:06 pm
You would'nt... are you talking about a *.sql file?
Wiit
ImHere2HLP Captain
Joined: Mar 08, 2004
Posts: 343
Location: Morelia, México
Posted:
Thu Mar 11, 2004 12:17 pm
You need a database manager, something like phpMyAdmin, or if you have running your own webserver you can download a standalone executable utility from www.mysql.com
Then, you need to create a database and then import the .sql file (execute it). Such file contains instructions as to how the database should be built.
Good luck,
ImHere2HLP
_________________ - Never suspect conspiracy if incompetence could achieve the same result.
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum