vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   e-steki Banlist (https://vborg.vbsupport.ru/showthread.php?t=103190)

akanevsky 12-21-2005 05:44 PM

Quote:

Originally Posted by Michelle
No Psionic Vision, the script checks that.
It is because he didn't set a perpage limit in his settings so it's considered 0 and the function divides the number by 0.
Just go in your e-steki Banlist settings and adjust them ;)
Psionic vision, I expected that you would know that there would be different errors if I hadn't implemented a check. :eek:

However it may be, you do not have a zero-setting error check. And you don't have anything to say here :)

lifesourcerec 12-22-2005 08:33 AM

I get this error:

Quote:

Warning: Division by zero in /includes/functions.php on line 1815
Which is this line:
Quote:

$totalpages = ceil($results / $perpage);

ConqSoft 12-22-2005 11:31 AM

You didn't set a value for Per Page.

Lea Verou 12-22-2005 07:52 PM

Quote:

Originally Posted by Psionic Vision
However it may be, you do not have a zero-setting error check. And you don't have anything to say here :)

Well the hack is aimed to people who know the very basics! :rolleyes:
Who would install a hack without configuring it's settings? :rolleyes:

akanevsky 12-22-2005 08:34 PM

Say there is a self-promoted hacker who somehow was made an admin and then he went and messed up all settings. Most vBulletin's settings - except the system ones like path, server etc. - wouldn't create much errors if messed up, but your page would make a fatal error. Besides, the less error the user gets, the better :)

Lea Verou 12-22-2005 09:45 PM

Quote:

Originally Posted by Psionic Vision
Say there is a self-promoted hacker who somehow was made an admin and then he went and messed up all settings. Most vBulletin's settings - except the system ones like path, server etc. - wouldn't create much errors if messed up, but your page would make a fatal error. Besides, the less error the user gets, the better :)

This is a very rare occasion and my hack is not a crucial one, nor a page that is viewed that often ;)

mholtum 12-23-2005 12:01 AM

I get this along the top of the banlist.php page when viewing it:
Code:

Warning: Division by zero in /includes/functions.php on line 1815

Lea Verou 12-23-2005 12:02 AM

Quote:

Originally Posted by mholtum
I get this along the top of the banlist.php page when viewing it:
Code:

Warning: Division by zero in /includes/functions.php on line 1815

Set a perpage setting in the e-steki Banlist Settings.

brvheart 12-24-2005 03:06 PM

*clicks install* but.....not it shows me as being banned????

Lea Verou 12-24-2005 09:05 PM

Quote:

Originally Posted by ravenes
*clicks install* but.....not it shows me as being banned????

Huh? :confused: Are the other results correct? Can you provide a screenshot?


All times are GMT. The time now is 12:39 AM.

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.01624 seconds
  • Memory Usage 1,739KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete