Please start your own thread, and provide the information requested here:
Database error in vBulletin 4.2.2 after upgrade
Collapse
X
-
MARK.B
vBulletin Support
------------
My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
My Unofficial vBulletin Cloud Demo: https://www.adminammo.com -
Please start your own thread, and provide the information requested here:
http://www.vbulletin.com/forum/node/4005557
The problem is the following code snippet in external.php:
Code:if ($foundcache = $db->query_first(" SELECT text, headers, dateline FROM " . TABLE_PREFIX . "externalcache WHERE cachehash = '" . $db->escape_string($cachehash). "' AND dateline >= " . (TIMENOW - $cachetime) . " ")) { $db->close(); if (!empty($foundcache['headers'])) { $headers = unserialize($foundcache['headers']); if (sizeof($headers)) { foreach($headers AS $header) { header($header); } } } echo $foundcache['text']; exit; }
$cachehash is a md5 hash but $db->escape_string($cachehash) returns and empty string and when you remove the escape_string function it is getting worse.Comment
-
My Mods also available at OzzModz.com
New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders!
Stop Spam Now The era of Big Spam is over.
Vote to bring back hooks in vB5, http://tracker.vbulletin.com/browse/VBV-10333Comment
-
Secondly, what looks like the same issue often isn't.
Thirdly, this is a very old thread and what caused an issue back then, may not be the cause now, as new versions have and patches have been out since.
Finally, and probably most importantly - it's a forum rule, and it's the only way to get support.
If you really think a previous issue does have relevance, you can link to it in your new thread.MARK.B
vBulletin Support
------------
My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
My Unofficial vBulletin Cloud Demo: https://www.adminammo.comComment
-
Just to chime in real quick. I solved this problem last year - I think it was an issue with Vbseo, which I've since removed. Sorry not to update this earlier, (I usually do), but it totally slipped my mind. I must have been pretty busy.~ Master of my own Domain ~👍 3Comment
Related Topics
Collapse
-
by MerenguistaHi
I received over 200 Database Error messages :
Code:[COLOR=#222222][FONT=arial]Database error in vBulletin :[/FONT][/COLOR] [COLOR=#222222][FONT=arial] Invalid SQL:[/FONT][/COLOR] [COLOR=#222222][FONT=arial]SELECT * FROM setting;[/FONT][/COLOR]
-
Channel: Support Issues & Questions
-
-
by nsglazerI've received hundreds of emails since our upgrade to vBulletin 5.1.3 Patch Level 1 all pretty similar to these. Any idea what's going on?
Database error in vBulletin 5.1.3:
...-
Channel: Support Issues & Questions
-
-
by aelalfeyI started getting this error about 6 days "about 10 emails everyday" ago with no certain reason.Code:
[COLOR=#222222][FONT=arial]Database error in vBulletin 5.1.8:[/FONT][/COLOR] [COLOR=#222222][FONT=arial] Invalid SQL:[/FONT][/COLOR] [COLOR=#222222][FONT=arial]CREATE[/][/]
-
Channel: Support Issues & Questions
-
-
by sowmya002Hi,
We are getting mails of the below kind in from our vbulletin forum. Though not so frequent these kinds of mails keep coming from the forum. As you can see from the message pasted below...-
Channel: Support Issues & Questions
Thu 5 Feb '15, 8:18pm -
-
by Soner3dSometimes i got a database error e mail like this and the site is going extremely slow.
How can i fix it?...-
Channel: Support Issues & Questions
-
Comment