Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Parse error in global.php and functions.php Details »»
Parse error in global.php and functions.php
Version: , by armagan armagan is offline
Developer Last Online: Oct 2017 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 03-02-2002 Last Update: Never Installs: 0
 
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 03-02-2002, 09:57 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 03-02-2002, 09:59 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm what VB version you use? is against Jelsoft policy to edit that area of code.
Reply With Quote
  #4  
Old 03-02-2002, 10:14 PM
armagan's Avatar
armagan armagan is offline
 
Join Date: Nov 2001
Location: İstanbul
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #5  
Old 03-02-2002, 11:27 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #6  
Old 03-03-2002, 08:53 AM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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)?
Reply With Quote
  #7  
Old 03-03-2002, 09:07 AM
armagan's Avatar
armagan armagan is offline
 
Join Date: Nov 2001
Location: İstanbul
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default



Please do NOT post full files of vBulletin, that's not permitted. [FireFly]
Reply With Quote
  #8  
Old 03-03-2002, 09:10 AM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Go into your vBulletin Options page and submit the form, that might help.
Reply With Quote
  #9  
Old 03-04-2002, 12:46 PM
armagan's Avatar
armagan armagan is offline
 
Join Date: Nov 2001
Location: İstanbul
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #10  
Old 03-04-2002, 12:56 PM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Run this query from phpMyAdmin and tell me what you get:
Code:
SELECT value FROM setting WHERE varname='bbclosedreason';
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 11:49 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.04284 seconds
  • Memory Usage 2,293KB
  • Queries Executed 23 (?)
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)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete