I made 2 php file 1 is working is and is not working this one is not working http://www.mknexusonline.com/mkgames/mk1/test.php and this 1 is working http://www.mknexusonline.com/forums/mk1.php
here is code in test.php <?php error_reporting(E_ALL & ~E_NOTICE); define('NO_REGISTER_GLOBALS', 1); define('GET_EDIT_TEMPLATES', true); define('THIS_SCRIPT', 'test'); $phrasegroups = array(); $specialtemplates = array(); $globaltemplates = array(); $actiontemplates = array(); require_once('./global.php'); $navbits = array(); $navbits[''] = 'page'; $navbits = construct_navbits($navbits); eval('$navbar = "' . fetch_template('navbar') . '";'); eval('print_output("' . fetch_template('test') . '");'); ?>
The code given does not contain errors, so you need to give the code in global.php, otherwise no one will be able to help you.
Maybe there's an error in the template. Can you post it? And also, try setting the error reporting to E_ALL and see if you get any more errors. Change the first line in your code to: error_reporting(E_ALL); PHP:
Here is Template Coding $stylevar[htmldoctype] <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> <title>$vboptions[bbtitle]</title> $headinclude </head> <body> $header $navbar <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td align="center"class="tcat">General Game Information</td> </tr> <tr> <td class="alt1">Platforms</td> </tr> <tr> <td class="alt1"> Arcade, Super Nintendo, Sega Genesis, Sega CD, Game Gear, Master System, Game Boy, PC. Also available on the Mortal Kombat: Deception Collector's Edition, Mortal Kombat TV Games, Midway Arcade Treasures: Extended Play for PlayStation Portable, and Midway Arcade Treasures: Deluxe Edition for PC.</td> </tr> <tr> <td class="alt1">Release Dates:</td> </tr> <tr> <td class="alt1"> Arcade: October 8th, 1992.<br> Super Nintendo: (Mortal Monday) September 13th, 1993.<br> PC: May 25th, 1994.<br> Sega Genesis: (Mortal Monday) September 13th, 1993.<br> Sega CD: May 26th, 1994.<br> Sega Master System: 1993.<br> Game Gear: (Mortal Monday) September 13th, 1993.<br> Game Boy: (Mortal Monday) September 13th, 1993.<br> </td> </tr> </table> $footer </body> </html> by the way i also added you plz accept me
Template looks okay to me. Did you change the error reporting? What errors you get? And sorry, but I don't give messenger support.
Perhaps you should try asking in the vbulletin.org forums. They might be able to give you better help.