| Author |
Message |
st3a1th New Member


Joined: Mar 15, 2006 Posts: 7
|
Posted:
Wed Mar 15, 2006 4:57 pm |
|
Parse error: syntax error, unexpected T_FUNCTION in **path edited by admin**/mainfile.php on line 44
phpnuke 7.8
I installed all and edited files but i get this error |
|
|
|
 |
evaders99 Former Moderator in Good Standing

Joined: Apr 30, 2004 Posts: 3221
|
Posted:
Wed Mar 15, 2006 4:59 pm |
|
Indicates you did not do the change to mainfile.php properly. Please post the code that you changed in mainfile.php |
|
|
|
 |
st3a1th New Member


Joined: Mar 15, 2006 Posts: 7
|
Posted:
Wed Mar 15, 2006 5:02 pm |
|
in function online() {
$phpver = phpversion();
if ($phpver < '4.1.0') {
$_GET = $HTTP_GET_VARS;
$_POST = $HTTP_POST_VARS;
$_SERVER = $HTTP_SERVER_VARS;
} |
|
|
|
 |
evaders99 Former Moderator in Good Standing

Joined: Apr 30, 2004 Posts: 3221
|
Posted:
Wed Mar 15, 2006 7:21 pm |
|
Mm why did you change that code? It looks like it should be working, so there's some other error in the code somewhere |
|
|
|
 |
st3a1th New Member


Joined: Mar 15, 2006 Posts: 7
|
Posted:
Wed Mar 15, 2006 8:36 pm |
|
|
|
 |
|
|
|
|