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.


All times are GMT. The time now is 09:27 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
  • Page Generation 0.01356 seconds
  • Memory Usage 1,738KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete