Icy Phoenix

     
 


Post new topic  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 1
 
 
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...  
 



 
VortexSend private messageVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

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




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Post new topic  This topic is locked: you cannot edit posts or make replies.  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron