vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Community Lounge (https://vborg.vbsupport.ru/forumdisplay.php?f=13)
-   -   New Reply = busted... (https://vborg.vbsupport.ru/showthread.php?t=51084)

Link14716 04-01-2003 11:47 PM

New Reply = busted...
 
Code:

Invalid SQL: INSERT INTO post (postid,threadid,title,username,userid,dateline,attachmentid,pagetext,allowsmilie,showsignature,ipaddress,iconid,visible,isapril) VALUES (NULL,'51081','','Link14716','15527','1049247893','0','But before midnight, you must attach your battle system or face the world being destroyed. :D','1','1','24.240.207.250','0','1','')
mysql error: Unknown column 'isapril' in 'field list'

So, what evil things are you doing, Erwin, Xenon? I can tell from the 'isapril' field. ;)

Xenon 04-02-2003 08:24 AM

hmm, can you tell me how you can see the errormsg?

normally there should just be a DB error, but not the details as long as you arnt an admin ....


yeah, it was a very evil thing ;)

Link14716 04-02-2003 10:20 AM

It was in the view source. ;)

Xenon 04-02-2003 10:26 AM

hmm, semms we have forgot something ;)

Logician 04-02-2003 11:17 AM

good catch! hehe

N9ne 04-02-2003 11:39 AM

in vB, you can always see the error message by viewing source, regardless of your usergroup, i've noticed that on several forums...

Xenon 04-02-2003 12:42 PM

yep it's because of this line in db_mysql.php:

PHP Code:

      echo "<html><head><title>$GLOBALS[bbtitle] Database Error</title><style>P,BODY{FONT-FAMILY:tahoma,arial,sans-serif;FONT-SIZE:11px;}</style><body>\n\n<!-- $message -->\n\n"

i'll report in the bug forum of vb.com :)

Erwin 04-03-2003 01:32 AM

Oooh... good pick!

FleaBag 04-03-2003 07:05 PM

Nicely spotted!

Boofo 04-03-2003 07:59 PM

Any way to fix that so no one can see it except the Admins?


All times are GMT. The time now is 12:01 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.01094 seconds
  • Memory Usage 1,725KB
  • 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_code_printable
  • (1)bbcode_php_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