vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Warning error (https://vborg.vbsupport.ru/showthread.php?t=311449)

dha12oks 05-17-2014 11:16 PM

Warning error
 
Hey, well for some reason I am getting a warning message;

Code:

Warning: mktime() expects parameter 4 to be long, string given in ..../includes/class_userprofile.php on line 260
now, seeing as it's just a warning, is there any way of hiding it?

Thanks in advance.

tbworld 05-17-2014 11:38 PM

What version of vb4?
What version of PHP?

This could also be just an invalid data entry, which was not properly validated. Does it happen after anyone is envoking that page?

PHP 5.1.15 and earlier had this bug, but that is a pretty early version of PHP at this point.

It is not the kind of error I would want suppressed.

ForceHSS 05-17-2014 11:39 PM

add the following line to the top of your /includes/config.php file under the <?php line:
Code:
Code:

define('SKIP_ALL_ERRORS', true);
I would not suppress it but will still give you the above code as a temp if needed but you would be best to fix the problem not hide it as the above code does just that

dha12oks 05-18-2014 09:41 AM

Quote:

Originally Posted by tbworld (Post 2498259)
What version of vb4?
What version of PHP?

This could also be just an invalid data entry, which was not properly validated. Does it happen after anyone is envoking that page?

PHP 5.1.15 and earlier had this bug, but that is a pretty early version of PHP at this point.

It is not the kind of error I would want suppressed.

Apologises for late response; Well it's only a warning, not an error which is stopping the forums from functioning, it's the latest version of vB4.


All times are GMT. The time now is 12:29 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01036 seconds
  • Memory Usage 1,715KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete