![]() |
Database problem
When trying to change a user's status, i get this error:
----- There seems to have been a slight problem with the Awesome Forums database. Please try again by pressing the refresh button in your browser. An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists. We apologise for any inconvenience. Database error in vBulletin Control Panel 2.2.5: Invalid SQL: SELECT userid FROM user WHERE username='ChRiS' AND userid <> mysql error: You have an error in your SQL syntax near '' at line 4 mysql error number: 1064 Date: Monday 24th of March 2003 04:43:14 PM ------ Can anyone tell me what to do to solve this problem or point me in the right direction ? :( |
Update:
I *think* the problem began when running this query in the database for the shoutbox: CREATE TABLE `shoutbox` ( `shoutid` int(11) NOT NULL auto_increment, `userid` int(11) NOT NULL default '0', `shout_text` text NOT NULL, `timestamp` int(11) NOT NULL default '0', PRIMARY KEY (`shoutid`) ) TYPE=MyISAM; Since then my 'active users today' doesn't seem to be working either :( Anyone able to help please? |
I think that this is a bug in 2.2.5 (<> empty), i recommend upgrading to a new version.
|
Lesane is right, it's a bug with vb versions below 2.2.6 and php versions over 4.2.x
|
Hmmm i never updated before...
Any tutorials for it or is it too easy? |
look at my sig, there is a lint to a tutorial :)
|
another question: can i update directly from 2.2.5 to 2.2.9?
|
yes, just follow the instructions in the tutorial for the files and then run the right upgrade srcipt (you can see which one to run after runnen any one of them ;))
|
Ok, thank u for the help...
I'm upgrading now... Fingers crossed :( |
I edited all the code with the program the way u described in your tutorial.
Do i need to install upgrade scripts too? Just go to /admin/upgrade20.php for example and run it? What if anything goes wrong with that? Can it be put back? or only by replacing db with an earlier one? |
run the latest upgradescript, you will see a list of upgradescripts then.
you can see which upgradescripts have to be run then ;) |
Didn't work :(((
I spend hours editing all the php files. Uploaded them then & runned the upgrade scripts.. All i get now is: Parse error: parse error in /home/awesome-/public_html/forum/admin/functions.php on line 505 Fatal error: Call to undefined function: iif() in /home/awesome-/public_html/forum/admin/functions.php on line 352 |
you've made a mistake while editing functions.php
look into line 505 and around that. you've made a mistake there |
I will try to fix it...
I put the backup i made somewhere else now and the forum runs there temporarly... Would it be hard to delete the entire database at my original host, re-install the latest version of vB there and then import posts etc from the backupped database? I fear the importing of the data, because i have no experience at all with it :( But it would be the only solution i guess if i don't want to lose any memberinfo/posts etc.. Then i lose the hacks i installed of course, but that can be overcome. But first i'm gonna have a look at functions.php, but i fear the worst :( |
don't do it this way!
if you can get it to work just upload the unchanged vb230 files and run the upgradescripts. you'll loose the hacks then but the posts and everything will stay |
I owe u one m8!!
U really saved me a lot of trouble with this suggestion :D The board is upgraded and working now. The hacks are all gone, but there weren't too much anyway... Couldn't have done this without help! Really appreciated m8 |
:)
you're welcome :) |
tinbin,
You are currently showing up as unlicensed. To be able to download hacks and/or receive support here at vBulletin.org, we ask you to please click here (vB-germany users click here) and enter your email address, to show us that you are licensed. You will need to use your customer number and password (which will be in the email you got when you paid for your license) to access that page. Please note that your email is case sensitive. Thank you. |
Sorted :)
It's not tinbin here, i'm in name of tinbin. Therefore i changed the emailaddress at this forum to be able to receive notification at new posts. Didn't know it would get me in trouble :) |
thx :)
you can tell the owner to add your email address to the form, too, so you can change the one you use here :) |
Yup did that too :)
|
All times are GMT. The time now is 11:26 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|