vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Parse error in global.php and functions.php (https://vborg.vbsupport.ru/showthread.php?t=35629)

armagan 03-02-2002 09:35 PM

Parse error in global.php and functions.php
 
I am getting this error i try to go to my forums;

Parse error: parse error in /home/vhosts/gpturkey.com/http/forum/global.php(128) : eval()'d code on line 2

Warning: Cannot add header information - headers already sent by (output started at /home/vhosts/gpturkey.com/http/forum/global.php(128) : eval()'d code:2) in /home/vhosts/gpturkey.com/http/forum/admin/functions.php on line 1490

admin area dosn't work..I am getting this error

Parse error: parse error in /home/vhosts/gpturkey.com/http/forum/admin/global.php(82) : eval()'d code on line 2

Warning: Cannot add header information - headers already sent by (output started at /home/vhosts/gpturkey.com/http/forum/admin/global.php(82) : eval()'d code:2) in /home/vhosts/gpturkey.com/http/forum/admin/functions.php on line 1490

This happened on a regular day with no problem. Everything was working properly, and suddenly just happened. I changed the template and codes before, but it was working properly.

Thanks in advance for the help!

Visit my vBulletin Board at www.gpturkey.com/forum

TECK 03-02-2002 09:57 PM

is one of your hacks that created this. revert all to stock and it will work properly. then take it metodically and analise where the error was inserted.

TECK 03-02-2002 09:59 PM

hmm what VB version you use? is against Jelsoft policy to edit that area of code.

armagan 03-02-2002 10:14 PM

my versiyon is v2.2.1..
I have no idea what I am going to do. I dont have any knowledge with the php and stuffs, I don`t even know what the problem is.
I dont have the unmodified global.php, index.php and function.php, I tried to download the unmodified those files from vb site, but i couldn`t find the the right version for my forum. May be If I upload those unmodified files, It will solve the problem huh?
I dont have any idea about these stuff, my friend installed those hack codes and I cant find him :(

TECK 03-02-2002 11:27 PM

why you run 2.2.1? you are new here and the latest VB version is 2.2.2, so i don't understand how you have 2.2.1 installed? can you explain?

Admin 03-03-2002 08:53 AM

Maybe he's been using vB for some time now but only now registered.

Back on topic, what's line 128 in global.php (root folder)?

armagan 03-03-2002 09:07 AM

:(

Please do NOT post full files of vBulletin, that's not permitted. [FireFly]

Admin 03-03-2002 09:10 AM

Go into your vBulletin Options page and submit the form, that might help.

armagan 03-04-2002 12:46 PM

Quote:

Originally posted by FireFly
Go into your vBulletin Options page and submit the form, that might help.
admin area doesn't work

Parse error: parse error in /home/vhosts/gpturkey.com/http/forum/admin/global.php(82) : eval()'d code on line 2

Warning: Cannot add header information - headers already sent by (output started at /home/vhosts/gpturkey.com/http/forum/admin/global.php(82) : eval()'d code:2) in /home/vhosts/gpturkey.com/http/forum/admin/functions.php on line 1490

Warning: Cannot add header information - headers already sent by (output started at /home/vhosts/gpturkey.com/http/forum/admin/global.php(82) : eval()'d code:2) in /home/vhosts/gpturkey.com/http/forum/admin/functions.php on line 1490

Warning: Cannot add header information - headers already sent by (output started at /home/vhosts/gpturkey.com/http/forum/admin/global.php(82) : eval()'d code:2) in /home/vhosts/gpturkey.com/http/forum/admin/global.php on line 136

Warning: Cannot add header information - headers already sent by (output started at /home/vhosts/gpturkey.com/http/forum/admin/global.php(82) : eval()'d code:2) in /home/vhosts/gpturkey.com/http/forum/admin/global.php on line 162

Admin 03-04-2002 12:56 PM

Run this query from phpMyAdmin and tell me what you get:
Code:

SELECT value FROM setting WHERE varname='bbclosedreason';


All times are GMT. The time now is 09:47 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.01104 seconds
  • Memory Usage 1,735KB
  • 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