HQ NETWORK:   XBOX ONE |  XBOX 360 |  AIDELUXE HQ Network: 9,155 | Guests: 1269 | Members: 5 


   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 - index.php error
Xbox-Hq.Com Forum Index -> pnFlashGames Project
Post new topic Reply to topic    
 index.php error View previous topic :: View next topic  
 
 
 
 
boardmerlin
Xbox-HQ Newbie
Xbox-HQ Newbie



Joined: Apr 23, 2005
Posts: 7

Post Posted: Thu Jul 07, 2005 4:29 am   
Post subject: index.php error
Reply with quote
 
I installed 0.6 and now my index.php does not work. I get the this file cannot be accessed directly error.


View user's profile Send private message
 
 
 
 
forahobby
Administrator
Administrator


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

Post Posted: Tue Jul 12, 2005 9:58 pm   
Post subject:
Reply with quote
 
so your site still works but you get a error?
It may be file permission on the old_component.php file it includes in the index.php.

Check out the file permissions on old_component.php which is located in the Flash_Games/includes/ directory.

hope that helps

l8r

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
 
 
 
 
ukrebel
Xbox-HQ Newbie
Xbox-HQ Newbie



Joined: Oct 18, 2005
Posts: 1

Post Posted: Tue Oct 18, 2005 9:32 pm   
Post subject: same problem
Reply with quote
 
hi.. i have tried your solution.. not helped Sad

www.rebelz-corner.co.sr

a personal site..

Smile uk_rebel@hotmail.co.uk

thnx


View user's profile Send private message
 
 
 
 
forahobby
Administrator
Administrator


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

Post Posted: Wed Oct 19, 2005 2:47 am   
Post subject:
Reply with quote
 
hi ukrebel,

Just revert back to your old index.php file which you backed up before installing the FlashGames module.. Smile

Once you get your index.php file back to original then open the readme.nfo or readme.txt file which comes with the HQ FlashGames module and read through it..

It explains everything you need to do in each step.

l8r

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
 
 
 
 
stealth3k
Xbox-HQ Newbie
Xbox-HQ Newbie



Joined: Jan 11, 2006
Posts: 2

Post Posted: Thu Jan 12, 2006 11:55 pm   
Post subject: Index.php
Reply with quote
 
Hi guys Same topic slightly different

Ive Installed PHP Nuke 7.7

and then read the readme to install PnFlashGames

when i got to the stage stating replace the index.php i did backup the old replaced it with the new and got this....


You can't access this file directly...


On a blank white Page

so.. i read on and noticed it says if this fails bla bla copy and paste code into your existing index.php. All code is clearly commented.

well i opened it and well I might be a Noob at this but I dnt beleieve it is Not clearly Commented. some help would be much appreciated.

Regards Stealth3k Rolling Eyes


View user's profile Send private message
 
 
 
 
forahobby
Administrator
Administrator


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

Post Posted: Fri Jan 13, 2006 3:52 am   
Post subject:
Reply with quote
 
Dont replace it..
The index.php file which is in the package is probably for a older versoin.

So what you want to do is copy your original index.php back to the directory and get your site working again.. Then open and edit your original index.php and copy the line of code it mentions (only 2 lines)..

Copy this code under:
require_once("mainfile.php");

ADD THIS CODE TO YOUR INDEX.PHP
Code:

// Save Score for Old pnFlashGames Component
include("modules/Flash_Games/includes/oldcomponent.php");


Thats it!

_________________
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
 
 
 
 
stealth3k
Xbox-HQ Newbie
Xbox-HQ Newbie



Joined: Jan 11, 2006
Posts: 2

Post Posted: Fri Jan 13, 2006 4:22 am   
Post subject:
Reply with quote
 
nice its looking good lets hope it holds up Razz


View user's profile Send private message
 
 
 
 
forahobby
Administrator
Administrator


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

Post Posted: Fri Jan 13, 2006 4:24 am   
Post subject:
Reply with quote
 
i can tell you it will work 100%.. My code is fine..
Lots and lots of guys with huge sites just like xboxhq are running it.

It will only get better too with new versions and more functions.. Especially VIP VERSIONS.

Ive been working on a new release but its no where near ready..
You will see it on HQ before it gets released anyway..

cheers

FH
http://www.xbox-hq.com
http://www.360-hq.com
http://flashgames.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
 
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