PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
Foggy
Client


Joined: Jan 07, 2006
Posts: 52

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

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
persona_non_grata



Joined:
Posts: 0

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

what downloads module do you use?
View user's profile Send private message
Foggy
Client


Joined: Jan 07, 2006
Posts: 52

PostPosted: Sat Feb 18, 2006 6:47 am Reply with quote Back to top

I'm using the stock download module that came with RavenNuke76 2.02.00.
View user's profile Send private message
persona_non_grata



Joined:
Posts: 0

PostPosted: Sat Feb 18, 2006 6:54 am Reply with quote Back to top

well most errors like yours are related to the time and date.
go to php.net and type in mktime in functions list...
View user's profile Send private message
Foggy
Client


Joined: Jan 07, 2006
Posts: 52

PostPosted: Sat Feb 18, 2006 8:14 am Reply with quote Back to top

OK, I'll check it out. Is there another download module you would recommend?
View user's profile Send private message
persona_non_grata



Joined:
Posts: 0

PostPosted: Sat Feb 18, 2006 8:17 am Reply with quote Back to top

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....
View user's profile Send private message
azism
Worker
Worker


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

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

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
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 Back to top

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

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum