Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-23-2007, 08:00 PM
volovirtuale volovirtuale is offline
 
Join Date: Jul 2007
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Parse error - no access anymore as administrator

Hi,

today one of my administrators of the forum installed two mods downloaded from this web site :
  1. Cyb - Advanced Forum Statistics 5.4
  2. Who-has-visited

From that moment on on my forum we have this error :

Quote:
Parse error: syntax error, unexpected T_STRING, expecting ')' in /home/httpd/vhosts/volovirtuale.com/httpdocs/forum/global.php(554) : eval()'d code(3) : eval()'d code on line 1
The content of line 554 is :
Quote:
($hook = vBulletinHook::fetch_hook('parse_templates')) ? eval($hook) : false;
I have no more permissions to log in as administrator because of this new error :

Quote:
Impossibile aggiungere i cookie, intestazioni gi? inviate.
File: /home/httpd/vhosts/volovirtuale.com/httpdocs/forum/global.php(554) : eval()'d code(3) : eval()'d code
Linea: 1
In english : impossibile to add the cookie, headers allready sent.


What can I do?
There is no way to remove manually these 2 addons? I've tried to look on the server for these new files but wasn't able to find them, and obviously i'm not able to remove them from the admincp because i'm not able to login...

Thanks for any suggestion,

Simon
Reply With Quote
  #2  
Old 07-23-2007, 08:45 PM
EnIgMa1234 EnIgMa1234 is offline
 
Join Date: Mar 2006
Location: .:: Ireland ::.
Posts: 1,306
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

define('DISABLE_HOOKS' , true)

Add that to your config.php and uninstall those hacks
Reply With Quote
  #3  
Old 07-23-2007, 09:02 PM
volovirtuale volovirtuale is offline
 
Join Date: Jul 2007
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by EnIgMa1234 View Post
define('DISABLE_HOOKS' , true)

Add that to your config.php and uninstall those hacks
i'd love to do it but i cannot find a config.php on my 3.6.7 version
Reply With Quote
  #4  
Old 07-23-2007, 09:05 PM
tipoboy's Avatar
tipoboy tipoboy is offline
 
Join Date: Dec 2005
Location: scotland
Posts: 693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

via your ftp go to your forum root--> includes--> find "config.php"

add the code log into your admincp and uninstall those hacks thats causing the problem
Reply With Quote
  #5  
Old 07-23-2007, 09:15 PM
volovirtuale volovirtuale is offline
 
Join Date: Jul 2007
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, thanks i've honestly never looked inside vbullettin

I've found the config.php but my poor knowledge of php doesn't allow me to understand where i have to manually copy the text.

I've pasted it in the config.php but obviously my forum crashed, and i cannot find the admincp section you're talking about.

As i said, sorry again, i know nothing of php
Reply With Quote
  #6  
Old 07-23-2007, 09:17 PM
tipoboy's Avatar
tipoboy tipoboy is offline
 
Join Date: Dec 2005
Location: scotland
Posts: 693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Marco van Herwaarden

You can temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

Once this is done, you should be able to access your admincp (and board) and uninstall any offending plugins/products.
try that
Reply With Quote
  #7  
Old 07-23-2007, 09:21 PM
volovirtuale volovirtuale is offline
 
Join Date: Jul 2007
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i did, this is the result :

http://www.volovirtuale.com/forum/


and this is my config.php modified
Quote:
<?php

define('DISABLE_HOOKS', true)
....

sorry... forgot the ;

thanks my friend
Reply With Quote
  #8  
Old 07-23-2007, 09:25 PM
tipoboy's Avatar
tipoboy tipoboy is offline
 
Join Date: Dec 2005
Location: scotland
Posts: 693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no probs thanks to marco for typing it earlier today lol
Reply With Quote
  #9  
Old 07-24-2007, 08:39 PM
EnIgMa1234 EnIgMa1234 is offline
 
Join Date: Mar 2006
Location: .:: Ireland ::.
Posts: 1,306
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

woopsie forgot the ;
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:10 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.03919 seconds
  • Memory Usage 2,238KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete