Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 90
8 members and 82 guests
breakinguptomak, cycwcwlinlt2gti, danansceclasqe6, horbd4aseracidn, napry4goleobg9t, robaaerteqjc6xs, ssefqarchmar2dx, vacex9ga
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
tattoo fonts
http://www.checkoutmyink.com/category/tattoo-fonts-tattoo

Go Back   Nukemods Forum > NM Staff > Purged Topics

Reply
 
LinkBack Thread Tools Display Modes
server move - now problems - please help
Old
  (#1 (permalink))
dac
Junior Member
 
Status: Offline
Posts: 32
Join Date: Feb 2003
server move - now problems - please help - 08-07-2003, 12:41 AM

Hey everyone,

My host moved my site to a new server, everything functions except I get this error by every story on the home page

Code:
Warning: setlocale(): Passing locale category name as string is deprecated. Use the LC_* -constants instead. in /path/to/my/site/mainfile.php on line 565
Can anyone help me out with this? How do I fix it.
Nuke 6.0

here is the lines of code
Code:
function formatTimestamp($time) {
    global $datetime, $locale;
    setlocale ("LC_TIME", "$locale");
    ereg ("([0-9]{4})-([0-9]{1,2})-([0-9]{1,2}) ([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2})", $time, $datetime);
    $datetime = strftime(""._DATESTRING."", mktime($datetime[4],$datetime[5],$datetime[6],$datetime[2],$datetime[3],$datetime[1]));
    $datetime = ucfirst($datetime);
    return($datetime);
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
dac
Junior Member
 
Status: Offline
Posts: 32
Join Date: Feb 2003
08-07-2003, 01:07 AM

Problem Solved, thanks to Audioslaved from the nuke cops forum.

Here is the fix.

Code:
setlocale ("LC_TIME", "$locale")
Changed to
Code:
setlocale (LC_TIME, $locale)
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
nukemods needs to move myrtletrees nukemods.com 0 08-19-2006 09:12 AM
how to justify/move text to right side? herro Nuke 7.x - General 3 05-04-2005 05:46 PM
How to move from phpBB into php-nuke? Please help? TIA!!! DevinNull Nuke 7.x - General 0 01-12-2005 04:59 PM
Move my users jn1167 Nuke 7.x - General 2 11-26-2004 04:31 PM
Can you move the phpnuke directory once its installed ?? Br00klynzzfinest Purged Topics 4 03-12-2003 04:00 PM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31