The Arcive of vBulletin Modifications Site. |
|
Ahhhhh!! No post count! Emergency! Details »»
|
|||||||||||||||||||||||||
ok well after installed the post increasment hack I think it really bunnged up my board. now another site just closed and we will have 100% of there traffic, and AHHHHH new users have no post count!
I reverbed the hacked files but that didnt work, so I think its the DB changes made! plus another hint is when I try to update stars and such, I get this..Code:
Invalid SQL: SELECT starlevel,starimg FROM stars WHERE minposts<= ORDER BY minposts DESC LIMIT 1 mysql error: You have an error in your SQL syntax near 'ORDER BY minposts DESC LIMIT 1' at line 1 now I wanna reverse the DB changes made, how would I do that when this is the changes I made? Code:
alter table user add postdirection smallint(5) DEFAULT 1 NOT NULL; alter table user modify posts int(6); alter table usertitle modify minposts int(6); -myles Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Code:
SELECT starlevel,starimg FROM stars WHERE minposts[high]<=[/high] ORDER BY minposts DESC LIMIT 1 2. [sql]ALTER TABLE user DROP postdirection[/sql] |
|
#3
|
||||
|
||||
|
you need to compare with a value? lol sorry I dont think I understand..
AHHHHH! why wont they work :sleep: F****************CK!!! |
|
#4
|
||||
|
||||
|
look at the highlighted text, you have a smaller or equal condition an no value following.
|
|
#5
|
||||
|
||||
|
I get the same erorr:
Quote:
Only I got it after a newuser registered. |
|
#6
|
||||
|
||||
|
That line is generated by the following statement:
PHP Code:
I would suggest maybe putting a pair of parenthesis around the addition statement. PHP Code:
PHP Code:
|
|
#7
|
||||
|
||||
|
Mine is only happening in the register.php.
|
|
#8
|
||||
|
||||
|
yeah im having the same problems as boofo is seems, but I havent made any changes to register.php since it all started. werid. thanks zzed but sadly ether did anything
im stumped with a unworking board, and im far to lazy to rehack it all (its unthinkable) guess I wait for vB3
|
|
#9
|
||||
|
||||
|
Try running this and let me know if it fixes it for you.
Quote:
|
|
#10
|
|||
|
|||
|
well you guys obviously don't have values... because the errors aren't showing them...
perhaps you have a variable that isn't defined... and synx if there post count isn't incrementing then you probably deleted code that you needed in the newthread & newreply.php files... regards, g-force2k2 |
![]() |
|
|