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)
-   -   Tutorial Hack (https://vborg.vbsupport.ru/showthread.php?t=58919)

bandersen 01-24-2004 03:04 PM

Thanks for the update!

I get this tho....

Invalid SQL:
SELECT COUNT(*) as total
FROM tutorials
WHERE tutcat ='7' and tutmodded = '1'
mysql error: Unknown column 'tutmodded' in 'where clause'

assassingod 01-24-2004 03:16 PM

Run this query:
[sql]
ALTER TABLE tutorials ADD tutmodded INT(6)
[/SQL]

bandersen 01-24-2004 03:25 PM

Yes, now it works!
But I lost all the tutorials already in there.....

assassingod 01-24-2004 03:31 PM

Really? How odd. Did you do anything else?

bandersen 01-24-2004 03:36 PM

No...
They just got zero'd out sort of...

If I look in the admin panel I can still see the stats, like there should be something there, but if I click the link for most viewed tutorial.... it takes me to view a tutorial that is not there.

assassingod 01-24-2004 03:41 PM

They might be unmoderated. Go to the moderation page in the AdminCP, see if they are there.

bandersen 01-24-2004 03:47 PM

No unmoderated tuts.
10 tutorials (0 unmoderated)

edit: and if I click edit tutorial in the ADminCP... I can read the actual tut

assassingod 01-24-2004 03:50 PM

Run this query:
[SQL]
SELECT *
FROM tutorials
[/SQL]

See if there is a result. Hopefully they are still in the database.

bandersen 01-24-2004 03:56 PM

That did not help...

If I enter tut manager - modify - I can see them listed. If I click a link - I do see the actual tutorial text... so I guess they are there...
Everything looks OK in the adminCP.

assassingod 01-24-2004 04:01 PM

But did you get any results from the query?


All times are GMT. The time now is 08:49 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.01963 seconds
  • Memory Usage 1,726KB
  • 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)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