Date Error In Functions.php »  Show posts from    to     

Icy Phoenix


Old Support Topics - Date Error In Functions.php



Vortex [ Thu 23 Nov, 2006 12:03 ]
Post subject: Date Error In Functions.php
Hi all again ;)


I get this error randomly navigating my site:

Quote:

Warning: date() expects parameter 2 to be long, string given in /...SERVER'S_PATH.../www/includes/functions.php on line 840



that is something related to:


Code: [Hide]
  1. case SERVER_SWITCH:  
  2. $dst_sec = date('I', $gmepoch) * $userdata['user_dst_time_lag'] * 60;  
  3. return ( !empty($translate) ) ? strtr(@gmdate($format, $gmepoch + (3600 * $tz) + $dst_sec), $translate) : @gmdate($format, $gmepoch + (3600 * $tz) + $dst_sec);  
  4. break;  
  5.  



I think...


The latest thing I did was to reset max user ever online by phpmyadmin, if this could help...


(I already checked file permissions and cleared cache)



Edit: I just noticed that the max users online parameter in portal is not stored, but it changes exactly with the current usersonline number... :roll:


Mighty Gorgon [ Wed 29 Nov, 2006 01:37 ]
Post subject: Re: Date Error In Functions.php
I think you may have some hosting problems... :roll:




Powered by Icy Phoenix