vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Error in Updating Counters (https://vborg.vbsupport.ru/showthread.php?t=250371)

patt1293 09-12-2010 04:14 PM

Error in Updating Counters
 
I am getting this error when i try to open the Update Counters Page of Admincp:

Parse error: syntax error, unexpected $end in /home/crackeds/public_html/acp/misc.php on line 1843

Any help?

kh99 09-12-2010 04:30 PM

The only thing I can think of is to check the file /home/crackeds/public_html/acp/misc.php and make sure it's not messed up (like maybe it ends on line 1843 instead of 1943 like it should), and upload it again if needed.

ETA: if not, I guess also check the phrase 'rebuild_similar_threads' and make sure that looks OK.

borbole 09-12-2010 04:38 PM

Try to replace the misc.php file with a fresh copy from the vb package of your version and see if that would help

patt1293 09-12-2010 04:55 PM

i replaced the file... it is 1843 lines both in my fresh copy and my faulty copy.

kh99 09-12-2010 04:57 PM

Well come to think of it, it could be a different version than mine so maybe 1843 is right for yours. What's the end of the file look like?

ETA: I'm working on a test site that has version 3.8.3 and the end of mine looks like this:

Code:

($hook = vBulletinHook::fetch_hook('admin_maintenance')) ? eval($hook) : false;

print_cp_footer();

/*======================================================================*\
|| ####################################################################
|| # Downloaded: 15:24, Sat Jul 25th 2009
|| # CVS: $RCSfile$ - $Revision: 29337 $
|| ####################################################################
\*======================================================================*/


patt1293 09-13-2010 01:32 AM

yes that is how it looks. i do have the ending ?> at the bottom of the info box.

thats it.

kh99 09-13-2010 01:50 AM

Quote:

Originally Posted by patt1293 (Post 2097370)
yes that is how it looks. i do have the ending ?> at the bottom of the info box.

Oops - yeah, so do I but I accidentally left it off.

patt1293 09-13-2010 01:51 AM

ugh i have no idea what is going on or what is wrong

kh99 09-13-2010 01:56 AM

You could try disabling any installed mods to see if that helps. Specifically, that file includes code from the "admin_maintenance" hook, so you could see if you have any plugins uising that hook.

patt1293 09-13-2010 02:08 AM

vbexperience was the only one... i removed it.. its still gettting the same damn error


All times are GMT. The time now is 07:16 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.01109 seconds
  • Memory Usage 1,728KB
  • 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_code_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