vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Administrative and Maintenance Tools - Username Request (https://vborg.vbsupport.ru/showthread.php?t=149377)

King Kovifor 09-09-2007 06:20 PM

Updated.

BBF 09-09-2007 06:40 PM

when i am try to upload the xml file (with overwrite) i get this error:
Quote:

Database error in vBulletin 3.6.8:

Invalid SQL:
ALTER TABLE `usergroup` ADD `unreq_perms` INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL;

MySQL Error : Duplicate column name 'unreq_perms'
Error Number : 1060
Date : Sunday, September 9th 2007 @ 10:38:44 PM
Script : http://www.root.co.il/forums/admincp...=productimport
Referrer : http://www.root.co.il/forums/admincp...?do=productadd
IP Address : 84.229.*.*
Username : Smile
Classname : vb_database

King Kovifor 09-09-2007 06:44 PM

Edit the .xml file on your hard drive. Change this code:

HTML Code:

                        <installcode><![CDATA[$vbulletin->db->query("ALTER TABLE `" . TABLE_PREFIX . "usergroup` ADD `unreq_perms` INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL") ;]]></installcode>
to:

HTML Code:

                        <installcode><![CDATA[//$vbulletin->db->query("ALTER TABLE `" . TABLE_PREFIX . "usergroup` ADD `unreq_perms` INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL") ;]]></installcode>
That should fix your problem if you are getting that error.

BBF 09-09-2007 06:52 PM

Quote:

Originally Posted by King Kovifor (Post 1335629)
Edit the .xml file on your hard drive. Change this code:

HTML Code:

                        <installcode><![CDATA[$vbulletin->db->query("ALTER TABLE `" . TABLE_PREFIX . "usergroup` ADD `unreq_perms` INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL") ;]]></installcode>
to:

HTML Code:

                        <installcode><![CDATA[//$vbulletin->db->query("ALTER TABLE `" . TABLE_PREFIX . "usergroup` ADD `unreq_perms` INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL") ;]]></installcode>
That should fix your problem if you are getting that error.

it's doesn't work :(

King Kovifor 09-09-2007 06:56 PM

OK. Try to remove:
PHP Code:

$vbulletin->db->query("ALTER TABLE `" TABLE_PREFIX "usergroup` ADD `unreq_perms` INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL"); 

from the code all together. Since you installed 1.0.4 and it was in there (trying to re add it since some people didn't install 1.0.4).

BBF 09-09-2007 07:01 PM

ok it's works :)
i am just remove the previous version and install this version :)
hope it's work fine

Stifler 09-09-2007 07:03 PM

hmm.. where do u set usergroup permissions? the new version seems to have borked my permissions..

King Kovifor 09-09-2007 07:03 PM

That should work too.

King Kovifor 09-09-2007 07:06 PM

Quote:

Originally Posted by Stifler (Post 1335643)
hmm.. where do u set usergroup permissions? the new version seems to have borked my permissions..

User group permissions should be under usergroup permissions. Are they not there? I have had this installed by several people and they have had not trouble.

BBF 09-09-2007 07:08 PM

when i try to edit usergroup permissions i get this error:
Quote:

Database error in vBulletin 3.6.8:

Invalid SQL:
UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'משתמש רשום',
`description` = '',
`usertitle` = '',
`opentag` = '',
`closetag` = '',
`passwordexpires` = '0',
`passwordhistory` = '0',
`unreq_perms` = '2',
`forumpermissions` = '782847',
`attachlimit` = '0',
`pmquota` = '50',
`pmpermissions` = '3',
`pmsendmax` = '5',
`calendarpermissions` = '63',
`wolpermissions` = '1',
`adminpermissions` = '0',
`genericpermissions` = '472389319',
`genericoptions` = '62',
`profilepicmaxwidth` = '100',
`profilepicmaxheight` = '100',
`profilepicmaxsize` = '65535',
`avatarmaxwidth` = '80',
`avatarmaxheight` = '80',
`avatarmaxsize` = '20000',
`signaturepermissions` = '237567',
`sigpicmaxwidth` = '500',
`sigpicmaxheight` = '100',
`sigpicmaxsize` = '20000',
`sigmaxrawchars` = '1000',
`sigmaxchars` = '500',
`sigmaxlines` = '0',
`sigmaxsizebbcode` = '7',
`sigmaximages` = '4'
WHERE usergroupid=2;

MySQL Error : Unknown column 'unreq_perms' in 'field list'
Error Number : 1054
Date : Sunday, September 9th 2007 @ 11:06:08 PM
Script : http://www.root.co.il/forums/admincp....php?do=update
Referrer : http://www.root.co.il/forums/admincp...&usergroupid=2
IP Address : 84.229.*.*
Username : Smile
Classname : vb_database
my mysql version is 4.1.22


All times are GMT. The time now is 01:05 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.01679 seconds
  • Memory Usage 1,753KB
  • 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
  • (4)bbcode_html_printable
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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