vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Db probs (https://vborg.vbsupport.ru/showthread.php?t=52965)

filburt1 05-15-2003 07:17 PM

The fix for yours has been made by another user. Like I said, please look in that thread. :)

Boofo 05-15-2003 11:02 PM

Jackjo, just change this:

PHP Code:

allowdollaroffers $allowdollaroffers 

to this in that query

PHP Code:

allowdollaroffers='$allowdollaroffers' 


Jacko 05-16-2003 06:28 AM

cheers for that. i fixed it.

but i still get this error when adding a new group:

Quote:

Database error in vBulletin Control Panel 2.2.9:

Invalid SQL: INSERT INTO usergroup (candeleteusercomments, usergroupid,title,usertitle,starlevel,starimg,canc ontrolpanel,canmodifyprofile,canviewmembers,canvie w,cansearch,canemail,canpostnew,canmove,canopenclo se,candeletethread,canreplyown,canreplyothers,canv iewothers,caneditpost,candeletepost,canusepm,canpo stpoll,canvote,canpostattachment,ismoderator,canpu blicevent,canpublicedit,canthreadrate,cantrackpm,c andenypmreceipts,maxbuddypm,maxforwardpm,canwhoson line,canwhosonlineip)
VALUES (NULL,'Reviewers','','','',0,1,1,1,1,0,1,0,0,0,1,1 ,1,1,0,1,0,1,1,0,0,0,0,0,0,0,0,1,0,1)
mysql error: Column 'candeleteusercomments' cannot be null

mysql error number: 1048

Date: Friday 16th of May 2003 03:30:14 AM
Script: http://www.realmods.net/forum/forum/admin/usergroup.php
Referer: http://www.realmods.net/forum/admin/...hp?action=add&
any help??

Boofo 05-16-2003 07:19 AM

Try changing the NULL to $candeleteusercomments and see if that fixes it.

Jacko 05-17-2003 04:51 PM

sweet that worked. cheers mate.

Boofo 05-17-2003 04:53 PM

No problem. ;) That must be the fix filburt was talking about.


All times are GMT. The time now is 01:25 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.01309 seconds
  • Memory Usage 1,728KB
  • 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
  • (2)bbcode_php_printable
  • (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
  • (6)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