The Arcive of vBulletin Modifications Site. |
|
Parse error in global.php and functions.php Details »»
|
|||||||||||||||||||||||||
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
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
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.
|
|
#3
|
||||
|
||||
|
hmm what VB version you use? is against Jelsoft policy to edit that area of code.
|
|
#4
|
||||
|
||||
|
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
|
|
#5
|
||||
|
||||
|
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?
|
|
#6
|
||||
|
||||
|
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)? |
|
#7
|
||||
|
||||
![]() Please do NOT post full files of vBulletin, that's not permitted. [FireFly] |
|
#8
|
||||
|
||||
|
Go into your vBulletin Options page and submit the form, that might help.
|
|
#9
|
||||
|
||||
|
Quote:
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 |
|
#10
|
||||
|
||||
|
Run this query from phpMyAdmin and tell me what you get:
Code:
SELECT value FROM setting WHERE varname='bbclosedreason'; |
![]() |
|
|