vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Error with my Admin Cp Index (https://vborg.vbsupport.ru/showthread.php?t=66890)

Battle_Ring 07-06-2004 01:15 AM

Error with my Admin Cp Index
 
someone please help with this

i get this
Parse error: parse error, unexpected $ in /home/chrisr/public_html/forums/admincp/index.php on line 908


heres my index file

Dont post whole vBulletin files - assassingod

Oblivion Knight 07-06-2004 10:20 AM

Please don't post the contents of an entire file..

You just need to copy and paste the block of code surrounding line 908..
Might I suggest you post lines 898 - 918.?

Battle_Ring 07-06-2004 06:47 PM

here is 894 to 908 -the end of file

// ################################ SHOW PHP INFO #############################

if ($_REQUEST['do'] == 'phpinfo')
{
phpinfo();
exit;
}

/*================================================= =====================*\
|| ################################################## ##################
|| # Downloaded: 12:59, Fri Jul 2nd 2004
|| # CVS: $RCSfile: index.php,v $ - $Revision: 1.210 $
|| ################################################## ##################
\*================================================ ======================*/
?>

Andreas 07-06-2004 07:09 PM

Jeez! What a monster post ^.^

Around line 448 remove
PHP Code:

// ***
if (can_administer('canadminshouts'))


Then it should compile.

Modin 07-06-2004 07:14 PM

errors on the last line of code in many cases are cause by { }'s missing. Did you install a hack recently that caused this? I would be around the code you modified.

Battle_Ring 07-06-2004 07:21 PM

yeah i took out this

// ***
if (can_administer('canadminshouts'))
{

and now it works but idotn see why that messed it up it told me to put that there while i was installign the shoutbox

Andreas 07-06-2004 07:25 PM

Check the instructions again. I bet you did smth. wrong.

Battle_Ring 07-06-2004 07:32 PM

ok will i just see a bug release for Vb has been released so i wanan update my forum with that and redo all my hacks

How do i go about clearing out my database

and de;lete all the tabels hacks has put there?

Zachery 07-06-2004 07:37 PM

Quote:

Originally Posted by Battle_Ring
ok will i just see a bug release for Vb has been released so i wanan update my forum with that and redo all my hacks


How do i go about clearing out my database

and de;lete all the tabels hacks has put there?

Battle, i highly suggest, you use uninstall links if you have them in the installers, otherwise, dont go messing with your database, you seem to have alot of trouble with files.

IF you remove somthing important from your database, short of restoreing it to another backup, you wont get that databack

Battle_Ring 07-06-2004 07:47 PM

some of the hacks dont have uninstall links

what should i do in that case?


All times are GMT. The time now is 01:06 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.01008 seconds
  • Memory Usage 1,730KB
  • 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
  • (1)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
  • (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