![]() |
I keep getting this error :
<?php // +-------------------------------------------------------------- // | Search Engine Indexer for vBulletin (Script by TECK) // | http://www.teckwizards.com/ // | + archive // +-------------------------------------------------------------- error_reporting( E_ALL & ~E_NOTICE ); $templatesused = 'archive,archive_homekeytag,archive_forumbit,archi ve_categorytitle,archive_forumtitle,archive_homein fo'; require_once( './global.php' ); if ( !$permissions['canview'] ) { archive_nopermission(); } // +-------------------------------------------------------------- // | Forums // +-------------------------------------------------------------- function showforums( $forumid=-1 , $spacer='' , $permission='' ) { global $DB_site,$bburl,$bbuserinfo,$session,$enableaccess ,$iforumcache,$ipermcache,$iaccesscache,$usergroup def,$noperms; if ( !is_array( $permission ) ) { $permission = getpermissions( 0 , -1 , $bbuserinfo['usergroupid'] ); $usergroupdef = $permission; } if ( !isset( $iforumcache ) ) { $iforums = $DB_site->query(" SELECT forumid,parentid,displayorder,threadcount,replycou nt,title,description FROM forum WHERE displayorder<>0 AND active=1 ORDER BY parentid,displayorder,forumid "); while ( $iforum = $DB_site->fetch_array( $iforums ) ) { $iforumcache["$iforum[parentid]"]["$iforum[displayorder]"]["$iforum[forumid]"] = $iforum; } $DB_site->free_result( $iforums ); unset( $iforum ); $iforumperms = $DB_site->query(" SELECT forumid,canview FROM forumpermission WHERE usergroupid='$bbuserinfo[usergroupid]' "); while ( $iforumperm = $DB_site->fetch_array( $iforumperms ) ) { $ipermcache["$iforumperm[forumid]"] = $iforumperm; } $DB_site->free_result( $iforumperms ); unset( $iforumperm ); $noperms['canview'] = 0; if ( $bbuserinfo['userid'] != 0 and $enableaccess == 1 ) { $iaccessperms = $DB_site->query(" SELECT forumid,accessmask FROM access WHERE userid='$bbuserinfo[userid]' "); while ( $iaccessperm = $DB_site->fetch_array( $iaccessperms ) ) { $iaccesscache["$iaccessperm[forumid]"] = $iaccessperm; } unset( $iaccessperm ); $DB_site->free_result( $iaccessperms ); } else { $iaccesscache = ''; } } if ( !is_array( $iforumcache["$forumid"] ) ) { return; } while ( list( $key1 , $val1 ) = each( $iforumcache["$forumid"] ) ) { while ( list( $key2 , $forum ) = each( $val1 ) ) { if ( is_array( $iaccesscache["$forum[forumid]"] ) ) { if ( $iaccesscache["$forum[forumid]"]['accessmask'] == 1 ) { $forumperms = $usergroupdef; } else { $forumperms = $noperms; } } elseif ( is_array( $ipermcache["$forum[forumid]"] ) ) { $forumperms = $ipermcache["$forum[forumid]"]; } else { $forumperms = $permission; } if ( $forumperms['canview'] ) { if ( empty( $forum['description'] ) ) { $forum['description'] = 'No description available.'; } eval( '$forumtitle = "' . gettemplate( 'archive_categorytitle' ) . '";' ); if ( $forum['parentid'] != '-1' ) { eval( '$forumtitle = "' . gettemplate( 'archive_forumtitle' ) . '";' ); } eval( '$forumbits .= "' . gettemplate( 'archive_forumbit' ) . '";' ); $forumbits .= showforums( $forum['forumid'] , $spacer . ' ' , $forumperms ); } } } return $forumbits; } $showforumbits = showforums(); $showthreadbits = ''; $showpostbits = ''; $username = 'visitor'; if ( $bbuserinfo['userid'] != 0 ) { $username = $bbuserinfo['username']; } $headertitle = 'Home'; eval( '$metakeytags = "' . gettemplate( 'archive_homekeytag' ) . '";' ); $navbar = $bbtitle . ' Archive'; $pagenav = ' '; eval( '$pagetitle = "' . gettemplate( 'archive_homeinfo' ) . '";' ); eval( 'dooutput( "' . gettemplate( 'archive' ) . '" );' ); ?> |
<a href="http://www.tsxclub.com/forums/archive" target="_blank">http://www.tsxclub.com/forums/archive</a> is it a problem if we have "s" forums instead of forum? what is causing this error and how can it be fixed! Thanks! Getting same error on both of my forums
|
This is not an error ! Your Webserver just open the complete archive file and show you the syntax.
I think you have a problem with Apache's ForceType directive. Just try to copy archive to archive.php and try to open this file. But first look at this CHANGES |
Thx for the reply buddy!!
Now I get this http://www.tsxclub.com/forums/archive.php The page opens but the links dont work any help is appriciated! |
yep, your Server has a problem with Apache's ForceType directive !
Please check the syntax of your .htaccess file For me the following CHANGE fix the problem. If not ask your Webspaceprovider or administrator of the server how to handle the ForceType syntax. |
i have a problem .
this hack haven't index.php file ! index.php isn't in attachment zip file ! I do all works that written in readme file !but it dosen't work ! |
Quote:
|
i have a problem .
this hack haven't index.php file ! index.php isn't in attachment zip file ! I do all works that written in readme file !but it dosen't work ! |
Quote:
you don't need index.php file. you need to make .htaccess works. see my site. http://tarantulas.us/forums/archive/ |
Thank you TECK...I installed this, let's see where I get with it!
-obs |
All times are GMT. The time now is 11:07 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|