PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
gom
Regular
Regular


Joined: Apr 26, 2007
Posts: 81

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

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
Moderator


Joined: Apr 30, 2004
Posts: 2758

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

I don't see anything wrong with that code.
Where exactly are you placing it?
View user's profile Send private message Visit poster's website
gom
Regular
Regular


Joined: Apr 26, 2007
Posts: 81

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

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 ?>

?>
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum