The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Minor change crashed my database!
After adding the min days registered to start a new thread hack and the min posts to start a new thread hack I am getting a mysql error number: 1136 when I tried to add a new section to my forum. The rest of the error looks like this:
VALUES (NULL,'1','Special Project 2: The Links Engine','The links engine is ready to go, all we need now are links. Add your link dumps here, and if you want to help add links please ask.','1','35','6', '','1','1','30','','', '0','1','1','1','1','1', '1','1','1','0','14','3') mysql error: Column count doesn't match value count at row 1 I think these values: styleoverride,allowratings,countposts,moderateatta ch,minposts) correspond to '1','1','1','0','14','3') The value of 14 is supposed to correspond to the value of minthread, but I see from the hack of min posts to start a new topic that the minthread has been left out. I thought it would be a simple fix to change this in forum.php: (forumid,styleid,title,description,active,displayo rder,parentid,parentlist,allowposting,cancontainth reads,daysprune,newpostemail,newthreademail,modera tenew,allowhtml,allowbbcode,allowimages,allowsmili es,allowicons,styleoverride,allowratings,countpost s,moderateattach,minposts) and add minthread metween moderateattach and minposts. When I upped the change and tried to add a new section it crashed my whole board I reupped the old forum.php file minus the changes, but my board is still down. What the hell went wrong? |
#2
|
|||
|
|||
What error are you getting now?
It would seem that uploading the unhacked forum.php should fix the changes. Regards, g-force2k2 |
#3
|
|||
|
|||
Now every page of my board says:
Quote:
Quote:
|
#4
|
||||
|
||||
Upload/execute the file repair.php
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|