vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Database Error when changing Admin max number of pm's (https://vborg.vbsupport.ru/showthread.php?t=272353)

dlewisr 10-19-2011 03:53 PM

Database Error when changing Admin max number of pm's
 
Hi all.

I'm trying to change the maximum number of pm's that admin can have in their box. At the moment it is set to 50 but I'd like to increase it to 250, possible more. When I try to change it via Admin - Usergroup manager - Edit Aministrator- Maximum stored messages 250 then update, I get a database error number 1054

UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'Administrators',

Is there another way to change the quota?

Cheers in advance.

Lynne 10-19-2011 04:13 PM

Can you please post the exact database error you are getting.

dlewisr 10-19-2011 04:32 PM

This is the error Lynne.
MySQL Error : Unknown column 'ms_vopt_permissions' in 'field list'
Error Number : 1054
Request Date : Wednesday, October 19th 2011 @ 06:31:17 PM
Error Date : Wednesday, October 19th 2011 @ 06:31:17 PM
Script : http://www.xxxxxxxx/admincp/usergroup.php?do=update
Referrer : http://www.xxxxxxx/admincp/usergroup...&usergroupid=6
IP Address : 84.13.127.203
Username : xxxxx
Classname : vB_Database
MySQL Version : 5.1.56-log

Lynne 10-19-2011 10:49 PM

That is from a modification. Disable, or uninstall, the modification and the error will go away.

dlewisr 10-25-2011 07:54 PM

Sorry for the delay in getting back to you, I've been working away from home. I'll go through the mods to see which one it is. Thanks Lynne, much appreciated.

dlewisr 10-30-2011 08:20 AM

I've disabled every mod and it still will not let me change the admin pm max messages.

MySQL Error : Unknown column 'ms_vopt_permissions' in 'field list'
Error Number : 1054
Request Date : Sunday, October 30th 2011 @ 08:16:46 AM
Error Date : Sunday, October 30th 2011 @ 08:16:47 AM
Script : http://www.xxxxxx/admincp/usergroup.php?do=update
Referrer : http://www.xxxxxx/admincp/usergroup....&usergroupid=6
Username : xxxxxx
Classname : vB_Database
MySQL Version : 5.1.56-log

Still getting the same error log 1054

dlewisr 05-26-2012 02:57 PM

Still have this error even though I have uninstalled all mods, upgraded to the latest version and reverted any templates customised. I can't make any changes at all to usergroups. Very frustrating :( Someone please put me out of my misery.

In saying that......... happy holidays to those of you in the States. Have a good one, hope it's as warm there as we're having in the UK. Enjoy

(I think I just clicked on the 'report post' icon by mistake then!!! Sorry)

borbole 05-26-2012 03:02 PM

Quote:

Originally Posted by dlewisr (Post 2333105)
Still have this error even though I have uninstalled all mods, upgraded to the latest version and reverted any templates customised. I can't make any changes at all to usergroups. Very frustrating :( Someone please put me out of my misery.

In saying that......... happy holidays to those of you in the States. Have a good one, hope it's as warm there as we're having in the UK. Enjoy

(I think I just clicked on the 'report post' icon by mistake then!!! Sorry)

As mentioned by Lynne that comes from a plugin. You must delete its xml fileas well that is used to add a custom permission for the usergroups. That should fix the error. i.e. make a complete uninstall of that mod and not a partial one.

Lynne 05-26-2012 03:04 PM

It's from a leftover xml file that was uploaded for the modification. Uninstalling a mod requires going through the installation instructions backwards and undoing everything - removing files, template edits, etc as well as uninstalling the product.

dlewisr 05-26-2012 03:10 PM

I've just found this in the includes/xml folder

bitfield_ms_vopt.xml

could it be that? I'm wary of deleting it incase it's a valid file.

Lynne 05-26-2012 03:15 PM

I always just add an x to the front of the file name to see if there will be any problems deleting it.

dlewisr 05-26-2012 03:17 PM

Good tip Lynne! I'll give that a blast.

--------------- Added [DATE]1338049313[/DATE] at [TIME]1338049313[/TIME] ---------------

Problem sorted. You're geniuses. ;)

Thank you Lynne as always and Borbole too.

borbole 05-26-2012 03:23 PM

Quote:

Originally Posted by dlewisr (Post 2333116)
I've just found this in the includes/xml folder

bitfield_ms_vopt.xml

could it be that? I'm wary of deleting it incase it's a valid file.

That looks like the file that is causing the db error. But before you delete it, make a backup of it for just in case.

dlewisr 05-26-2012 03:31 PM

Cheers borbole, I did as Lynne said and put an x at the front of the file name. As soon as I went to edit permissions it rebuilt the bit field and sorted the issue for me. Problem solved... well that one is anyway. :sl I've now deleted it.

Thanks for your help again.

borbole 05-26-2012 04:08 PM

Glad to hear that you got it solved.

dlewisr 05-27-2012 08:23 AM

That's what I like about this community, people such as yourselves offer help almost immediately to those such as myself who know nothing of coding etc.

Cheers again to the pair of you.

Boofo 05-27-2012 08:44 AM

Quote:

Originally Posted by dlewisr (Post 2333140)
Cheers borbole, I did as Lynne said and put an x at the front of the file name. As soon as I went to edit permissions it rebuilt the bit field and sorted the issue for me. Problem solved... well that one is anyway. :sl I've now deleted it.

Actually, the best way to uninstall a mod cleanly is to have a backup of that mod somewhere on your HD. Then, just look in the mod for any files that were uploaded and find them on your site and delete them, after you have uninstalled the mod in the product manager. Then you are sure to get everything that might have been left behind. ;)


All times are GMT. The time now is 05:27 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02070 seconds
  • Memory Usage 1,748KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (17)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete