vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - Spider Display (https://vborg.vbsupport.ru/showthread.php?t=171322)

ChurchMedia 02-25-2008 04:40 AM

Cool! I just had to uninstall the 3.6 version. I'll install this tomorrow. Keep pumping them out, Boofo! :)

Magnumutz 02-25-2008 12:46 PM

Yup... you were right Icy... i had edited the config but forgot to upload it :p


But now i'm getting this error:
Code:

Database error in vBulletin 3.7.0 Beta 4:

Invalid SQL:

        SELECT useragent
        FROM session
        WHERE lastactivity >
        AND userid = 0;

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 'AND userid = 0' at line 4
Error Number  : 1064
Date          : Monday, February 25th 2008 @ 08:58:56 AM
Script        : http://www.arcademania.ro/
Referrer      : *****
IP Address    : *****
Username      : Unregistered
Classname    : *****
MySQL Version :
=====================================================


JD45 02-25-2008 05:11 PM

Quote:

Originally Posted by Magnumutz (Post 1450630)
Yup... you were right Icy... i had edited the config but forgot to upload it :p


But now i'm getting this error:
Code:

Database error in vBulletin 3.7.0 Beta 4:

Invalid SQL:

        SELECT useragent
        FROM session
        WHERE lastactivity >
        AND userid = 0;

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 'AND userid = 0' at line 4
Error Number  : 1064
Date          : Monday, February 25th 2008 @ 08:58:56 AM
Script        : http://www.arcademania.ro/
Referrer      : *****
IP Address    : *****
Username      : Unregistered
Classname    : *****
MySQL Version :
=====================================================


I was getting the SAME exact error as well. I had to remove this and it went away. Something with the config.php mod perhaps?

Magnumutz 02-25-2008 05:26 PM

Donno for sure... Boofo's gotta help us out :)

Boofo 02-25-2008 05:30 PM

What exact code are you putting in the config.php and exactly where?

JD45 02-25-2008 05:42 PM

Code:

if(THIS_SCRIPT == 'index')
{
global $specialtemplates;
$specialtemplates = array_merge($specialtemplates, array('wol_spiders'));
}

Right before the closing php tag.

Boofo 02-25-2008 05:48 PM

What version of MySQL and PHP is your server using?

And move the code above the bottom box.

Magnumutz 02-25-2008 05:52 PM

I've got
Code:

if(THIS_SCRIPT == 'index')
{
global $specialtemplates;
$specialtemplates = array_merge($specialtemplates, array('wol_spiders'));
}

Before the bottom box.

PHP 4.4.6 & MySQL 4.1.22.

Boofo 02-25-2008 07:11 PM

Try uninstalling it and re-installing it again.

Bounce 02-25-2008 07:48 PM

I had same database error and had to remove the hack :(

code was before the end box in config

PHP 5.2.5 - MySQL Version 5.0.45


All times are GMT. The time now is 08:04 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.01279 seconds
  • Memory Usage 1,739KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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