![]() |
Fixed - See Edit at bottom of message
------------------------------------------- Stats works wonderfully as long as I don't select any of the Limit By options. When I select either the limit by posts or usergroup id's, I get the following database error (any recommendations on what to look for?): Database error in vBulletin 3.0.6: Invalid SQL: SELECT COUNT(referrerid) as getusers FROM user WHERE referrerid > 0 AND posts 9 mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '9' at line 1 mysql error number: 1064 Date: Wednesday 16th of March 2005 08:38:36 PM Script: http://www.barrreport.com/forums/adm...rralstatistics Referer: http://www.barrreport.com/forums/admincp/ Username: Admin IP Address: 63.162.87.195 ***********EDIT************************** This error is created if you do not set a "conditional" in the field: That is / are: Set the conditional to Equals and all works well ... Greg |
Same problem here.
|
Quote:
|
Quote:
Once this error message is created, there is no way to fix it from the admincp without manually going into the database and editing limit1, limit2, and limit3 as necessary ... There really *does* need to be an error trap coded to catch this "problem" ... Greg |
greg - I will have this fixed in the next release. Also please click install if you have installed my hack :) until then I will make a rollback file later tonight that you will need to run if you have this same problem.
|
FOR ALL OF YOU GETTING A BLANK SCREEN IN THE ADMINCP:
open referralstats.php and find: // ########################## REQUIRE BACK-END ############################ require_once('./global.php'); After it add: require_once('./includes/adminfunctions_template.php'); require_once('./includes/functions_misc.php'); Let me know if this resolves your issue. It should. :) |
Quote:
I clicked install earlier ... One sad thing about the Installl button ... it only lets you do it once ... I have 8 vBulletin licenses ... and your hack will be on at least three of them by the end of this weekend ... Greg |
Quote:
Nevermind, I read a previous post that explained it, thanks. |
Download this fix and upload it to your admincp directory. Open the file in your browser and once completed, delete this file from your admincp directory. This error will be fixed on the next release. :)
This will not fix the blank page error!! |
so, if installing this hack, do we still need to use the above fix?
|
All times are GMT. The time now is 03:09 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|