Jump to content

mktime() expects parameter 1 to be long


plail

Recommended Posts

i'm pretty much a complete newbie when it comes to php, so i'm looking for help from those with expertise...

 

i recently noticed that the timestamp on my comment form is displaying this for every post: Wednesday, 12.31.69 @ 17:00pm

 

and I'm receiving this error: Warning: mktime() expects parameter 1 to be long, string given in /home/underth8/public_html/writing/inc_rate.php on line 254

 

code.jpg

 

does anyone have any idea how i might solve this problem?

this might not be helpful, but my vague guesses are as follows:

1) some error that i inadvertently introduced on the php document that contains my comment form

2) recently moving to a new time zone

3) the switch to daylight savings time...?

 

any ideas would be greatly appreciated. and thanks for taking the time to read this post.

 

best wishes!

 

 

 

http://www.underthesugar.com/writing/hidden_portland.php

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/133798-mktime-expects-parameter-1-to-be-long/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.