vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vBTopSite (https://vborg.vbsupport.ru/showthread.php?t=59447)

Darkwaltz4 12-31-2003 03:40 PM

the current problem for right now: seems to just be AN-net with the second query

all the problems from previous posts, were trouble with: vb3's attachment process >.> and also vbhacker not liking the vbhackmacker file i used (so i rewrote the instructions without use of vbhacker) and then it became less annoying ^_^

yeah, so anyone returning, ignore most of the above posts >.>

AN-net 12-31-2003 04:10 PM

im using Mysql version: 4.0.15-standard

AN-net 12-31-2003 04:26 PM

Quote:

MySQL said:


You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'require tinyint( 1 ) NOT NULL default '1',
buttons varchar(
i still get that
i having no experience with sql syntax would assume the word require is messing it up, i dont know just a hunch

Darkwaltz4 12-31-2003 04:33 PM

AHA, i know whats going on, and i might update the query in the install file if this keeps up a problem >.>

PHP Code:

CREATE TABLE `topsites_options` (
`
activetinyintNOT NULL default '0',
`
hitsontinyintNOT NULL default '0',
`
perpagetinyintNOT NULL default '10',
`
daytimetinyintNOT NULL default '1',
`
requiretinyintNOT NULL default '1',
`
buttonsvarchar75 NOT NULL default '',
`
totalbuttonsintNOT NULL default '50',
`
resolvetinyintNOT NULL default '0',
`
displaytinyintNOT NULL default '1',
`
htmlallowedvarchar75 NOT NULL default '<b><u><i>',
`
bheighttinyintNOT NULL default '0',
`
bwidthtinyintNOT NULL default '0',
`
bbordertinyintNOT NULL default '0',
`
arrowsvarchar75 NOT NULL default '',
`
rankbyvarchar75 NOT NULL default 'todayunique',
KEY `active` ( `active` ) 
TYPE MyISAM 

there, the problem (thanks for putting the entire error message) was that the word 'require' is a reserved word, and to use it in a table requires that you quote it to work *edit: just verified this*

AN-net 12-31-2003 04:35 PM

yeah it works! Thanks so much ^.^

MindTrix 12-31-2003 04:51 PM

Quote:

Originally Posted by Darkwaltz4
all the problems from previous posts, were trouble with: vb3's attachment process >.>

What do you mean by that?

Darkwaltz4 12-31-2003 04:54 PM

it doesnt update right away (and ive used vb3 gamma, so ive seen the timed updating things)

so basically i sat there sweating, while many people came and went, seeing i had no attachment, when all vb3 had to say about it was 'updating'

ultimately, it deleted the attachment (?) (no not me) and i had to upload a new one

AN-net 12-31-2003 04:59 PM

im getting this now when i fill in the options in admin cp and hit save changes:
Quote:

Database error in vBulletin Control Panel 2.3.2:

Invalid SQL: UPDATE topsites_options SET display='1',active='1',require='1',hitson='1',butt ons='http://www.animationation.net/community/images/topsite/',arrows='ttp://www.animationation.net/community/images/topsite/',perpage='10',totalbuttons='50',daytime='0',htmla llowed='',bheight='31',bwidth='88',bborder='1',res olve='0',rankby='totalunique'
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'require='1',hitson='1',buttons='http://www.animationation.net/c

mysql error number: 1064

Date: Wednesday 31st of December 2003 07:58:38 PM
Script: http://www.animationation.net/commun...ites_admin.php
Referer: http://www.animationation.net/commun...ction=options&

MindTrix 12-31-2003 04:59 PM

Oh right i thought you meant it was a problem with it working on vB3, in which case im sure you can guess what my response would have been :)

Thank you for clearing that up for me.

AN-net 12-31-2003 05:03 PM

where should i put that and should i fix the admin file for the topsite?

where did darkwaltz's post go?????????


All times are GMT. The time now is 09:50 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.01190 seconds
  • Memory Usage 1,754KB
  • 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_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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