PDA

View Full Version : Plugin crashed ny site


CrashfAB
03-31-2006, 01:16 AM
So I installed this plugin

https://vborg.vbsupport.ru/showthread.php?t=107315

And it crashed my BBS. So I was able to sneak into my adminCP and unistall it but I still have one issue and I am hoping somebody can point me into what php file I need to correct (I am very green on this and learned my lesson of not backing up my php files before I instal anything)as I now have an issue.

This is 3.5.4

Here is the source code. Any help is apreciated as I am at a total loss here

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>NW-Wheelers Forums Database Error</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<style type="text/css">
<!--
blockquote { margin-top: 75px; }
p { font: 11px tahoma, verdana, arial, sans-serif; }
-->
</style>
</head>
<body>
<blockquote>
<blockquote>
<p><strong>There seems to have been a problem with the NW-Wheelers Forums database.</strong><br />
Please try again by clicking the <a href="#" onclick="window.location = window.location;">Refresh</a> button in your web browser.</p>
<p>An E-Mail has been dispatched to our <a href="mailto:crash69@netzero.com">Technical Staff</a>, whom you can also contact if the problem persists.</p>
<p>We apologise for any inconvenience.</p>


<!--
Database error in vBulletin 3.5.4:
I suspect the problies in here but like I say I am a total noob here

Invalid SQL:

SELECT *
FROM style
WHERE (styleid = X AND userselect = 1)
OR styleid = 1
ORDER BY styleid DESC
LIMIT 1;

MySQL Error : Unknown column 'X' in 'where clause'
Error Number : 1054
Date : Thursday, March 30th 2006 @ 07:01:37 PM
Script : http://www.nw-wheelers.com/forum/index.php
Referrer :
IP Address : 4.243.63.126
Username : Unregistered
Classname : vb_database
-->


</blockquote>
</blockquote>
</body>
</html>

Rickie3
03-31-2006, 02:15 AM
the error seems to be your index.php,try upping it again to your server

CrashfAB
03-31-2006, 02:34 AM
I just compared the files and they are identical :confused:

amykhar
03-31-2006, 02:52 AM
Change the x to the number you want to use.

CrashfAB
03-31-2006, 02:54 AM
I assume thats in the index.php file someplace?

amykhar
03-31-2006, 02:56 AM
Not unless you modified that file.

CrashfAB
03-31-2006, 03:01 AM
Not unless you modified that file.

I haven't modified it....

Princeton
03-31-2006, 05:04 PM
you either hard-coded the value (styleid) or you are changing it via a plugin
check global.php or a plugin in hook 'style_fetch'