PDA

View Full Version : Parse error in global.php and functions.php


armagan
03-02-2002, 09:35 PM
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 (http://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
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:
SELECT value FROM setting WHERE varname='bbclosedreason';

armagan
03-04-2002, 02:17 PM
Originally posted by FireFly
Run this query from phpMyAdmin and tell me what you get:
SELECT value FROM setting WHERE varname='bbclosedreason';


SELECT value FROM setting WHERE varname='bbclosedreason' LIMIT 0, 30

Admin
03-04-2002, 02:24 PM
That's the query again, what's the output phpMyAdmin gives you?

armagan
03-04-2002, 02:38 PM
Originally posted by FireFly
That's the query again, what's the output phpMyAdmin gives you?


Database gpturkey - table setting running on localhost
SQL-query

SQL-query :
FROM setting WHERE varname='bbclosedreason' LIMIT 0, 30


value
"Formula1 T?rkiye Forumu" versiyon değişikliği sebebiyle kısa bir s?re kapalıdır. Verdiğimiz ge?ici rahatsızlıktan dolayı ?z?r dileriz.