Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 8.0
Author Message
gom
Regular
Regular



Joined: Apr 26, 2007
Posts: 89

PostPosted: Thu Apr 26, 2007 9:22 am Reply with quote

Hello all...

Ver: PHP-Nuke-8.0

I have installed - NukeMatch_Free_Release_211

and I have made the edit to the mainfile.php

with this:

if (defined('FORUM_ADMIN')) {
include_once("../../../includes/nmatch_functions.php");
} elseif (defined('INSIDE_MOD')) {
include_once("../../includes/nmatch_functions.php");
} else {
include_once("includes/nmatch_functions.php");
}

When I go to the admin section of the site I now get this error message.

Parse error: syntax error, unexpected T_STRING in /data/10/0/88/54/740706/user/756453/htdocs/BSU/mainfile.php on line 1624

If the above code is not added to the mainfile.php I can access the admin functions of the NukeMatch to add games and all, but when I go to look at the module it come up as a blank white page.

line 1624 reads as : include_once("../../../includes/nmatch_functions.php");

and help would be great? Is this do to the version of my nuke ?

Thanks for all your time..

GOM
 
View user's profile Send private message
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Thu Apr 26, 2007 2:52 pm Reply with quote

I don't see anything wrong with that code.
Where exactly are you placing it?

_________________
- Only registered users can see links on this board! Get registered or login! -

Need help? Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
gom







PostPosted: Thu Apr 26, 2007 6:57 pm Reply with quote

I put the code at the bottom of the page just after this set of code..


}
$text_color = ImageColorAllocate($image, 80, 80, 80);
Header("Content-type: image/jpeg");
ImageString ($image, 5, 12, 2, $code, $text_color);
ImageJPEG($image, '', 75);
ImageDestroy($image);
die();
break;
}
}

I PUT THE CODE HERE @ BOTTOM OF PAGE. JUST BEFORE ?>

?>
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 8.0

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©