The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
anyone see why this query shouldn't return any results? if not, could someone please explain exactly what conditions they see in the SELECT statement, so i can go through and double-check everything? thanks.
btw, it's part of an addon i'm making that i *may* release, so i'll be sure to give credit. PHP Code:
|
#2
|
||||
|
||||
![]()
hmm, it wouldn't return any results if $folderid isn't set up right or if $pagenumber=0 and $linksperpage=0 from what i can see..
|
#3
|
|||
|
|||
![]()
here's the part just above that. note that $linksperpage is a setting i added in the admin cp.
PHP Code:
|
#4
|
||||
|
||||
![]()
hmm use that if clause instead it's better because it will catch more buggy pagenumbers..
PHP Code:
|
#5
|
|||
|
|||
![]()
good point, but that doesn't seem to be what's causing it. still changed it though.
|
#6
|
||||
|
||||
![]()
hmm is it called within a function?
maybe you've forgotten to globalize $linksperpage.. |
#7
|
|||
|
|||
![]()
nope, it's not in a function.
![]() |
#8
|
||||
|
||||
![]()
hmm, normally this should return a division by zero i think...
this line: PHP Code:
PHP Code:
|
#9
|
|||
|
|||
![]()
what's different about the second one?
|
#10
|
|||
|
|||
![]()
oh, got it. thanks. the listing still shows nothing though.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|