The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Datastore problems.... did i screw up?
I was testing out a hack lastnight, vBackup pro or something i think.
Anyway it was for vb 3.0, and i found instructions on making it work with vbulletin 3.5 (which maybe means it will work with 3.6) anyway, first and foremost, like an idiot i didnt make my database backup BEFORE testing this hack out. Well upon running the cronjob, i got an error... Code:
REPLACE INTO datastore (title, data, unserialize) VALUES ..... Etc.... too many values to list here MySQL Error : Table 'datastore' was locked with a READ lock and can't be updated Error Number : 1099 So the probolem is, after this little hitch, my site would no longer load, at all... i just kept getting the following error about something in class_core (was never modified) Code:
Fatal error: Cannot create references to/from string offsets nor overloaded objects in /***/***/***/***/includes/class_core.php on line 1283 Note: it seems as if ONLY the datastore tables was affected by this error. So i came up with the idea to copy another sites datastore table, and see what happened. Well it worked, my site loaded, but i had there forums and skins list, but had only my skins installed and modded. Confused again, i tran just about all of the maintanence options and this seems to have now made everything right again. I have all my forums, my skins to choose from and my posts/threads back. To me it appears as if everything is working correctly, But i know nothing about the datastore, what it does, how it works etc. so im kind of just wondering if everything really is ok based on what ive done and what i see now, or if i have possibly screwed something up by doing this, and if so is there anyway to fix it? |
#2
|
||||
|
||||
you can use the following but I dont believe its the best way
$vbulletin->db->query_write(" REPLACE INTO " . TABLE_PREFIX . "datastore (title, data) VALUES |
#3
|
||||
|
||||
i fixed it.....
cant remember how but all is working fine now... no issues. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|