The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
This is the strangest thing I've ever seen. A .php which was working earlier now doesn't work and backups won't help either.
Basically, the file won't open. There is no 404 error, it simply won't display and eventually, timeout. If I change the code PHP Code:
PHP Code:
PHP Code:
I'm starting to think it's server related but why this would happen on the server is beyond me. It's really puzzling and sinve I've spent hours over this, I'm at my wit's end. Help? |
#2
|
|||
|
|||
![]()
If you use while, you can't use query_first
![]() Now, since you're gonna use while, the ORDER BY can be dumped, we can re-apply that later. So, try this: PHP Code:
|
#3
|
||||
|
||||
![]() ![]() [slumps] It only will load with query_first. Very, very odd. |
#4
|
|||
|
|||
![]()
Could you post the table definition.
|
#5
|
|||
|
|||
![]()
Is this from AN-net's Stock Hack?
|
#6
|
||||
|
||||
![]()
if you use'
Code:
$getstocks = $DB_site->query_first("SELECT stockname,symbol FROM ".TABLE_PREFIX."stocks WHERE active=1 ORDER BY symbol"); PHP Code:
|
#7
|
||||
|
||||
![]() Quote:
And yes, it is from AN-net's stock hack I've also tried inserting just another query_first infront of the regular query to see if query_first is required but that fails as well. However, when used, the query works fine, that's not an issue. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|