I Gotta Problem. For Some Reason Tha "Thief" Option Isnt Workin Anymore.
it says "There seems to have been a slight problem with the database"
i dont know what to do. it was workin very well yesterday and my members love it. i didnt make any changes to the site at all to make it not work. What should i do?
<html><head><title>StreetVerbz Database Error</title><style type="text/css"><!--.error { font: 11px tahoma, verdana, arial, sans-serif; }--></style></head>
<body></table></td></tr></table></form>
<blockquote><p class="error"> </p><p class="error"><b>There seems to have been a slight problem with the StreetVerbz database.</b><br />
Please try again by pressing the <a href="javascript:window.location=window.location;" >refresh</a> button in your browser.</p><p class="error">An E-Mail has been dispatched to our <a href="mailto:dbmaster@example.com">Technical Staff</a>, who you can also contact if the problem persists.</p><p class="error">We apologise for any inconvenience.</p><form><textarea class="error" rows="15" cols="100" wrap="off">Database error in vBulletin 3.0.1:
Invalid SQL: UPDATE user SET uttpoints=uttpoints+5.00, reputation=reputation- WHERE userid='1'
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE userid='1'' at line 1
How do I update the users money in the richest members info? My members are still getting very little money for each post even though I updated every forum?
How do I update the users money in the richest members info? My members are still getting very little money for each post even though I updated every forum?
Did you edit the money per posts view thread settings? the forum settings are just multipliers, nothing more.
I've run the install file 'ushop_install.php' and eveything installed ok. I then completed all the file edits as instructed. However when I came to do the template updates, as soon as I went into AdminCP (or anywhere else on the site), I now get an error:
Code:
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in C:\Apache2\htdocs\forum\includes\init.php on line 508
Here is the PHP code (I've highlighted line 508 in the code *** below ***)
PHP Code:
// add default special templates $specialtemplates = array_merge(array( 'options', 'cron', 'forumcache', 'usergroupcache', 'stylecache', 'arcadesettings' ), $specialtemplates); *** THIS IS LINE 508 *** $datastoretemp = $DB_site->query(" SELECT title, data FROM " . TABLE_PREFIX . "datastore WHERE title IN ('" . implode("', '", $specialtemplates) . "') "); unset($specials, $specialtemplates);
I've only got a few hacks installed (vbadvanced, v3 arcade and htl (which I didn't use to install this hack btw).
I've run the install file 'ushop_install.php' and eveything installed ok. I then completed all the file edits as instructed. However when I came to do the template updates, as soon as I went into AdminCP (or anywhere else on the site), I now get an error:
Code:
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in C:\Apache2\htdocs\forum\includes\init.php on line 508
Here is the PHP code (I've highlighted line 508 in the code *** below ***)
PHP Code:
// add default special templates $specialtemplates = array_merge(array( 'options', 'cron', 'forumcache', 'usergroupcache', 'stylecache', 'arcadesettings' ), $specialtemplates); *** THIS IS LINE 508 *** $datastoretemp = $DB_site->query(" SELECT title, data FROM " . TABLE_PREFIX . "datastore WHERE title IN ('" . implode("', '", $specialtemplates) . "') "); unset($specials, $specialtemplates);
I've only got a few hacks installed (vbadvanced, v3 arcade and htl (which I didn't use to install this hack btw).
Any ideas?
do this
PHP Code:
// add default special templates $specialtemplates = array_merge(array( 'options', 'cron', 'forumcache', 'usergroupcache', 'stylecache', 'arcadesettings', ), $specialtemplates); // *** THIS IS LINE 508 *** $datastoretemp = $DB_site->query(" SELECT title, data FROM " . TABLE_PREFIX . "datastore WHERE title IN ('" . implode("', '", $specialtemplates) . "') "); unset($specials, $specialtemplates);
From what I can see you've put the $specialtemplates); on it's own line. Would this really make that much difference? BTW: the line where I said THIS IS LINE 508 was only put in there for posting here. It's not in the template at all.