vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Template questions... (https://vborg.vbsupport.ru/showthread.php?t=40078)

FleaBag 06-20-2002 07:46 PM

/me cries for help in desperation.

FleaBag 06-20-2002 09:26 PM

Phew, disaster averted! :D I dropped the style, template, templateid, replacement and replacementid tables from my database, then did a dump of the same tables from a fresh install on vB. I then applied this dump to my database, and it seems to have fixed all my problems.

[high]* GamerForums wipes the sweat from his brow.[/high]

Velocd 06-20-2002 09:35 PM

Nice avatar ;)

FleaBag 06-20-2002 09:47 PM

Thanks LOL. Can't remember where I got it from. Anyway, I can't view showthread.php now, I get database errors. It seems for some reason rather than stating the path as root/forums it's stating it as root/forums/forums... Here's the error. Anyone able to help please? :(

Quote:

Database error in vBulletin 2.2.6:

Invalid SQL:
SELECT username,invisible,userid
FROM user
WHERE inthread=762
AND lastactivity>1024611544
AND lastvisit<>lastactivity

mysql error: Unknown column 'inthread' in 'where clause'

mysql error number: 1054

Date: Thursday 20th of June 2002 11:34:04 PM
Script: http://www.gamerforums.com/forums/fo...8136#post38136
Referer: http://www.gamerforums.com/forums/
...and under that...

Quote:

Database error in vBulletin 2.2.6:

Invalid SQL: UPDATE user SET lastactivity=1024612444,inforum='24',inthread='762 ' WHERE userid='166'
mysql error: Unknown column 'inthread' in 'field list'

mysql error number: 1054

Date: Thursday 20th of June 2002 11:34:04 PM
Script: http://www.gamerforums.com/forums/fo...8136#post38136
Referer: http://www.gamerforums.com/forums/

FleaBag 06-20-2002 10:14 PM

Nevermind, looks like it was a hack causing the trouble. A LOT of problems to sort out here. :(

Admin 06-21-2002 07:58 AM

It's the "Users browsing this thread" hack, for some reason you dropped the inthread field from the user table.

FleaBag 06-21-2002 10:15 AM

Ah I see, thanks FireFly. :D Should have everything back up by the end of tonight, hopefully with at least 50 hacks and a new design. :)


All times are GMT. The time now is 01:58 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.01101 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_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
  • (7)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