HQ NETWORK:   XBOX ONE |  XBOX 360 |  AIDELUXE HQ Network: 8,172 | Guests: 1066 | Members: 0 


   Current Location: Forums New Game - Fursan al-Aqsa - Knights of al-Aqsa Mosque   |   Old Xbox boot but wont load games or MS Dashboard   |   New google drive   |   Which modchip is this?   |   Anyone here capable or interested in restarting XBConnect?   |   Error code 05   |   original xbox with 0 memory   |   Why cell damage is low with ratings   |   Xbox-Hq.Com VIP Member Testimonials   |   XBHD: A Full-Featured Original Xbox Adapter from EON Gaming,   |   
  Home | Active Topics | CD/DVD Media | Downloads | Forums | Feedback | Games | HardDrives | Homebrew | My Profile | ModChips | Reviews | Search | SoftMods | Tutorials

Xbox Forums

Discuss all aspects of the original Xbox Console in our Interactive Xbox Forums..

Get Xbox Game Pass Ultimate
Xbox-Hq.Com :: View topic - Small code error in 0.2++ for nuke 7.6 users [solution]
Xbox-Hq.Com Forum Index -> pnFlashGames Project
Post new topic Reply to topic    
 Small code error in 0.2++ for nuke 7.6 users [solution] View previous topic :: View next topic  
 
 
 
 
Thrill
Xbox-HQ Experienced
Xbox-HQ Experienced

Xbox Version: V1.1
Modded: Xecuter 2 lite

Joined: Feb 13, 2005
Posts: 138
Location: UK

Post Posted: Thu Feb 17, 2005 11:21 am   
Post subject: Small code error in 0.2++ for nuke 7.6 users [solution]
Reply with quote
 
Hi forahobby,

I uploaded your update 0.2++ to find a small error in the coding in the file custom_header.php, its nothing really but people not knowning what they are doing will be lost so...

At the top of your code you added:

############################################
## THIS FILE IS ONLY NEEDED FOR PHPNUKE 7.6+ INSTALLATIONS ##
############################################

This is now shown on the header of a website using it...

TEMP FIX:
move that pease of code under <?php so the code looks like this:

<?php
############################################
## THIS FILE IS ONLY NEEDED FOR PHPNUKE 7.6+ INSTALLATIONS ##
############################################
// Start Active Users for FlashGames

Have fun all..

_________________
Mega Flash Game packs @ http://main.games4nuke.com


View user's profile Send private message Send e-mail Visit poster's website
 
 
 
 
forahobby
Administrator
Administrator


Joined: May 22, 2003
Posts: 23944
Location: NSW, Australia

Post Posted: Fri Feb 18, 2005 3:58 am   
Post subject:
Reply with quote
 
shit.. Sorry guys.. Another late night caught up with me i guess. Sad
Its very easy to just delete those files..

Obviously not many v7.6 users running it yet!

thanks for the update. Ill be sure to fix next release!

FH
http://www.xbox-hq.com

_________________
HQ Network:
www.xbox-hq.com | www.xboxone-hq.com | www.360-hq.com | www.c64-hq.com


View user's profile Send private message Send e-mail Visit poster's website
 
 
 
 
Kimmi
V.I.P. Lifetime

Xbox Version: V1.1
Modded: Xecuter 2 lite

Joined: Jan 12, 2005
Posts: 9

Post Posted: Wed Feb 23, 2005 11:30 am   
Post subject:
Reply with quote
 
in that same file, "custom_header.php" my file is missing "?>" at the end of the file, or isnt that suposed to be there??

And another problem, I just upgraded my nuke from 7.5 to 7.6, and now the scores are no longer recored Sad
Need help on that....

Kimmi

_________________
pnFlashGames for PHPNUKE Translator


View user's profile Send private message Send e-mail
 
 
 
 
Thrill
Xbox-HQ Experienced
Xbox-HQ Experienced

Xbox Version: V1.1
Modded: Xecuter 2 lite

Joined: Feb 13, 2005
Posts: 138
Location: UK

Post Posted: Wed Feb 23, 2005 11:36 am   
Post subject:
Reply with quote
 
Kimmi wrote:
in that same file, "custom_header.php" my file is missing "?>" at the end of the file, or isnt that suposed to be there??

And another problem, I just upgraded my nuke from 7.5 to 7.6, and now the scores are no longer recored Sad
Need help on that....

Kimmi


Custom_header.php is not suplied with php-nuke 7.6 you have to make a new php file and place it in the custom files folder with the needed code Smile

_________________
Mega Flash Game packs @ http://main.games4nuke.com


View user's profile Send private message Send e-mail Visit poster's website
 
 
 
 
Kimmi
V.I.P. Lifetime

Xbox Version: V1.1
Modded: Xecuter 2 lite

Joined: Jan 12, 2005
Posts: 9

Post Posted: Wed Feb 23, 2005 4:00 pm   
Post subject:
Reply with quote
 
well, I have made the file Custom_header.php with the propper code, but still no scores are recorded... Sad

help..

_________________
pnFlashGames for PHPNUKE Translator


View user's profile Send private message Send e-mail
 
 
 
 
Thrill
Xbox-HQ Experienced
Xbox-HQ Experienced

Xbox Version: V1.1
Modded: Xecuter 2 lite

Joined: Feb 13, 2005
Posts: 138
Location: UK

Post Posted: Wed Feb 23, 2005 4:09 pm   
Post subject:
Reply with quote
 
Did you have an older version on before the 0.2++ version?

I did and when I uploaded the files I got no setting for updating I had to choose 'first install' from the options. I got a database table error because the older tables were in my database. I had to goto my database and remove the tables, then go back to my site and do a 'first install' again, got no errors and all is working fine on:

0.2++ for VIP's with Nuke 7.6

_________________
Mega Flash Game packs @ http://main.games4nuke.com


View user's profile Send private message Send e-mail Visit poster's website
 
 
 
 
Thrill
Xbox-HQ Experienced
Xbox-HQ Experienced

Xbox Version: V1.1
Modded: Xecuter 2 lite

Joined: Feb 13, 2005
Posts: 138
Location: UK

Post Posted: Wed Feb 23, 2005 4:18 pm   
Post subject:
Reply with quote
 
I just read you upgraded for nuke 7.5 to 7.6, I have noticed that the makers of nuke have changed alot about with the new 7.6 and maybe this is your problem, if having the flash games running on 7.5 then upgrading to 7.6...... Try stopping or removing the flash games and starting over. Fresh install of it...

Also just incase, custom_header.php does not go in the !ROOT! , place it here:

!ROOT!/includes/custom_files/ HERE

Good luck and if still having probs then maybe you need to PM 'forahobby'

_________________
Mega Flash Game packs @ http://main.games4nuke.com


View user's profile Send private message Send e-mail Visit poster's website
 
 
 
 
Kimmi
V.I.P. Lifetime

Xbox Version: V1.1
Modded: Xecuter 2 lite

Joined: Jan 12, 2005
Posts: 9

Post Posted: Wed Feb 23, 2005 5:12 pm   
Post subject:
Reply with quote
 
Now I have done a fresh install of v0.2++ and still no luck, I deleted all tables in my database, and made new once....

oki, now it works kinda... now, when I try to axx http://www.dalane.org/index.php I get this:
Quote:
You can't access this file directly...


Confused

_________________
pnFlashGames for PHPNUKE Translator


View user's profile Send private message Send e-mail
 
 
 
 
Thrill
Xbox-HQ Experienced
Xbox-HQ Experienced

Xbox Version: V1.1
Modded: Xecuter 2 lite

Joined: Feb 13, 2005
Posts: 138
Location: UK

Post Posted: Wed Feb 23, 2005 7:35 pm   
Post subject:
Reply with quote
 
Kimmi wrote:
Now I have done a fresh install of v0.2++ and still no luck, I deleted all tables in my database, and made new once....

oki, now it works kinda... now, when I try to axx http://www.dalane.org/index.php I get this:
Quote:
You can't access this file directly...


Confused


Ok thats an easy one Cool ... Its the index.php in your !ROOT! Try mine...

There is a bit of code that makes the error your getting... I had the same problem here.. My index.php is from the old version of the games mod.. I had probs with the new needed code that you have to input into your index.php. If mine dont work use the code from the old mod version in index.php (ROOT) only. This will fix your prob.. I hope. Wink

Forgot to tell 'forahobby' about this problem.. Sad Thought it was just me, geuss not. Hope he reads this..



index.zip
 Description:

Download
 Filename:  index.zip
 Filesize:  1.34 KB
 Downloaded:  1119 Time(s)


_________________
Mega Flash Game packs @ http://main.games4nuke.com


View user's profile Send private message Send e-mail Visit poster's website
 
 
 
 
Thrill
Xbox-HQ Experienced
Xbox-HQ Experienced

Xbox Version: V1.1
Modded: Xecuter 2 lite

Joined: Feb 13, 2005
Posts: 138
Location: UK

Post Posted: Wed Feb 23, 2005 7:46 pm   
Post subject:
Reply with quote
 
This is the needed code I use in my index.php (ROOT)

// Save Score for Old pnFlashGames Component
include("modules/Flash_Games/includes/oldcomponent.php");
global $prefix, $db, $admin_file;
$modpath = '';
$_SERVER['SCRIPT_NAME'] = "modules.php";
$row = $db->sql_fetchrow($db->sql_query("SELECT main_module from ".$prefix."_main"));
$name = $row['main_module'];
$home = 1;

Im pritty sure that this code was the sorce of the problems, and this is the working code..

_________________
Mega Flash Game packs @ http://main.games4nuke.com


View user's profile Send private message Send e-mail Visit poster's website
 
Display posts from previous:   
  Post new topic  
 
  Reply to topic  
|
 All times are GMT | Page 1 of 1
Jump to:  
 

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
 


Get Xbox Game Pass Ultimate