View Single Post
  #1  
Old 05-07-2005, 02:08 PM
carolmyt carolmyt is offline
 
Join Date: Jan 2005
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Getting bizarre error messages every time I install a hack

We've been running version 3.0.6 since January, and everything has been running smoothly. I had installed a number of hacks with no problems (uCash, PetzvB and the Shoutbox were the only major hacks installed). Then, about a month ago, the Shoutbox started acting up, randomly deleting all shout histories. I reinstalled the shoutbox, and all hell broke loose. I got a series of errors regarding the global.php file regarding lines completely unrelated to the hack. I ended up having to reinstall an older version of the global.php file. That worked, and the site was fine again, with the added bonus of the shoutbox working. Yesterday I tried to install vBookie, and got the following:

Quote:
Parse error: parse error in /var/www/html/includes/functions.php on line 2013

Fatal error: Call to undefined function: is_browser() in /var/www/html/global.php on line 59
For reference, line 2013 in functions.php is:
PHP Code:

and 59 for the global:
PHP Code:
if ((is_browser('ie'5) AND !is_browser('mac')) OR is_browser('mozilla') OR is_browser('firebird') OR is_browser('opera'7) OR is_browser('webkit') OR is_browser('konqueror'3.2)) 
I restored older files, it didn't go away. I removed the hack from the newer files and reinstalled those, it didn't go away. I've installed the original, unhacked (entirely) files for this version, and it didn't go away. Now, I am certainly a newbie to this, but from what I understand, I have restored all of the original files, essentially bringing the site back to hour zero, and its had no effect.

I do use Dreamweaver to edit my files, which some people have said is bad, but no one has ever explained why, and its never created an unfixable problem.

I am out of ideas. Anyone who can offer any kind of help would be greatly appreciated.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01204 seconds
  • Memory Usage 1,774KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete