Icy Phoenix

     
 

Date Error In Functions.php

Date Error In Functions.php

Article
Reply with quote    Download Post  
Post 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: [Download] [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...  



 
Vortex - View user's profile Send private message  
Vortex [ Thu 23 Nov, 2006 12:03 ]
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us


Date Error In Functions.php

Comments
Reply with quote    Download Post  
Post Re: Date Error In Functions.php 
 
I think you may have some hosting problems...



 
Mighty Gorgon - View user's profile Send private message  
Mighty Gorgon [ Wed 29 Nov, 2006 01:37 ]
Display posts from previous:    

HideWas this topic useful?

Post new topic  This topic is locked: you cannot edit posts or make replies.  Page 1 of 1