» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 62
0 members and 62 guests
No Members online
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
Tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
Football Betting - best nfl betting promotions at sportsbook.com.
Oral Chelation - initial cleansing of your veins & arteries
Portatiles - Ofertas en Ordenadores y Portatiles. Increibles Ofertas DELL.

Register Now! Contact Us

About this Page
This is a discussion on server move - now problems - please help within the Purged Topics forums, part of the NM Staff category; Hey everyone, My host moved my site to a new server, everything functions except I get this error by every ...


Go Back   Nukemods Forum » NM Staff » Purged Topics

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-07-2003, 12:41 AM
dac dac is offline
Junior Member
 
Join Date: Feb 2003
Posts: 32
server move - now problems - please help
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
  #2 (permalink)  
Old 08-07-2003, 01:07 AM
dac dac is offline
Junior Member
 
Join Date: Feb 2003
Posts: 32
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


All times are GMT -5. The time now is 09:29 AM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.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