Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Bug Fixes
Author Message
Foggy
Client


Joined: Jan 07, 2006
Posts: 52

PostPosted: Fri Feb 17, 2006 1:59 pm Reply with quote

Didn't see this one in the FAQ, anyone have a fix for this warning?

PHP Warning: mktime() expects parameter 1 to be long, string given in /home/mysite/public_html/modules/Downloads/index.php on line 1084

I'm getting a simular warning for an event callender too.
 
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Fri Feb 17, 2006 4:22 pm Reply with quote

what downloads module do you use?
 
View user's profile Send private message
Foggy
PostPosted: Sat Feb 18, 2006 6:47 am Reply with quote

I'm using the stock download module that came with RavenNuke76 2.02.00.
 
hitwalker
PostPosted: Sat Feb 18, 2006 6:54 am Reply with quote

well most errors like yours are related to the time and date.
go to php.net and type in mktime in functions list...
 
Foggy
PostPosted: Sat Feb 18, 2006 8:14 am Reply with quote

OK, I'll check it out. Is there another download module you would recommend?
 
hitwalker
PostPosted: Sat Feb 18, 2006 8:17 am Reply with quote

just use yours....
it can because of yountry...(thats often the reason)
search php.net and it should show any solution to your error,if not post your error again in ravens distro forum....
 
azism
Worker
Worker


Joined: Feb 02, 2005
Posts: 145
Location: Tucson, AZ

PostPosted: Thu Aug 10, 2006 3:38 pm Reply with quote

I am getting the error
Quote:
PHP Warning: mktime() expects parameter 1 to be long, string given in /home/ti99ers/public_html/modules/Downloads/index.php on line 1087

Where lines 1087 and 1088 are as follows:
Quote:
line 1087 function categorynewdownloadgraphic($cat) {
line 1088 global $prefix, $db, $module_name, $datetime, $locale;


Now I've read the thread preceding this, but I am either really dense or I am totally missing what was stated. Confused

What do I need to do??? Question

_________________
Webmaster
TI99ers On-Line User Group Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Send e-mail Visit poster's website
ozbutcher
Worker
Worker


Joined: Jan 17, 2007
Posts: 170

PostPosted: Tue Jan 23, 2007 4:31 pm Reply with quote

I got the same problem.

When I just submit a comment to a link on my site... and then click 'Link Comments' to read the comment I get this error:

Total of 1 comments

Warning: mktime() expects parameter 6 to be long, string given in C:\Program Files\xampp\htdocs\burntclan\modules\Web_Links\index.php on line 1235

Opening up the file listed above on that line I find this:

Code:
$timestamp = mktime(0, 0, 0, $date_array['1'], $date_array['2'], $date_array['0']);
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Bug Fixes

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©