vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Getting bizarre error messages every time I install a hack (https://vborg.vbsupport.ru/showthread.php?t=81105)

carolmyt 05-07-2005 02:08 PM

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.

Dean C 05-07-2005 03:01 PM

Dreamweaver is the problem - it creates linebreaks and miscalleneous other problems automatically. Use notepad in future and uploading completely fresh files will fix your errors I'm sure of it.

RichieBoy67 05-07-2005 03:33 PM

I use a free editor called Wynsyntax -- it makes no changes and has a great search....

carolmyt 05-07-2005 03:58 PM

Ok, thanks, will try that.


All times are GMT. The time now is 12:31 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.01465 seconds
  • Memory Usage 1,721KB
  • 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
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete