View Full Version : Error when making groups
UltimateArco
Sat 11th Oct '08, 3:08am
I'm having this error when making a new group.
Fatal error: Call to a member function query_write() on a non-object in /home/colzdrag/public_html/forums/forums/admincp/usergroup.php on line 492
beishe8
Sat 11th Oct '08, 3:28am
I'm having this error when making a new group.
Fatal error: Call to a member function query_write() on a non-object in /home/colzdrag/public_html/forums/forums/admincp/usergroup.php on line 492
Is that "/forums/forums/" correct?
UltimateArco
Sat 11th Oct '08, 4:00am
Yes it is, i now got rid of the forums/forums but its still not fixed
By the way: it has nothing to do with the path it said query_write o_O
Steve Machol
Sat 11th Oct '08, 2:04pm
To troubleshoot this, first reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server. Also be sure to upload the admincp files to whichever directory you have set in your config.php file. Then run 'Suspect File Versions' in Diagnostics to make sure you have all the original files for your version and that none show 'File does not contain expected contents':
Admin CP -> Maintenance -> Diagnostics -> Suspect File Versions
[Note: In some cases you may also need to remove any of the listed .xml files in the includes/xml directory.]
Next, disable all plugins.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php
define('DISABLE_HOOKS', true);
Then if you still have this problem, create a new style and choose no parent style. This will force it to use the default templates. Finally empty your browser cache, close all browser windows then try again. Make sure you change to the new style and view your forums with it. Do you have the same problem?
UltimateArco
Sun 12th Oct '08, 3:07am
By all respect - Ive just uploaded all files again
I will try suspecting file versions - And disabling the hook system will make my forum crash
~Edit: OH GREAT, mainterance! I will do it later
~Edit Edit: Ok... Still the same:
Fatal error: Call to a member function query_write() on a non-object in /home/colzdrag/public_html/forums/admincp/usergroup.php on line 492
Steve Machol
Sun 12th Oct '08, 1:13pm
Which version of vB are you running and what does Suspect Files show?
UltimateArco
Sun 12th Oct '08, 2:08pm
1.8.0 beta
When copying this and putting in quote tags it gives me a bug and freezes (the bar)
Steve Machol
Sun 12th Oct '08, 2:12pm
And what does Suspect Files show?
Powered by vBulletin™ Version 4.0.0 Beta 4 Copyright © 2009 vBulletin Solutions, Inc. All rights