Posted: Tue May 23, 2006 6:20 pm Post subject: SQL database error
I have PHP nuke 7.4 running and have installed PnFlashgames_v0.4plusplus(++). No problem so far, as soon as I put in this bit
Quote:
Copy file /!ROOT!/includes/my_header.php to the /includes/ directory of you
phpnuke installation. You will have to replace the existing my_header.php or
you can edit the file supplied to copy and paste code into your existing
index.php. All code is clearly commented.
I get Mysql errors at the top off the website.
First question is do I need to edit the index or my_header.php file?
I get Mysql errors at the top off the website and inside the module on opening I get
Quote:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/starwars101/public_html/includes/sql_layer.php on line 238
The database is installed I just can't figure it out.
I also get a totally white screen when clicking on the 'ADMIN Tools'
web address www.whf-clan.co.uk
tommas Xbox-HQ Newbie
Joined: May 19, 2006 Posts: 9
Posted: Wed May 24, 2006 9:59 pm Post subject:
Fixed by manually installing all the files in their correct folders.
Only problem now is some of the SQL tables didn't get properly written
scetter V.I.P. Lifetime
Joined: Oct 14, 2005 Posts: 28 Location: Vermont
Posted: Sat May 27, 2006 4:03 am Post subject:
What do you mean by the tables didn't get properly written.
Are you getting a database error? _________________ My web site running the latest build of pnFlashGames(hq) for Dragonfly CMS.
http://www.skeeterspub.com
Joined: May 22, 2003 Posts: 23945 Location: NSW, Australia
Posted: Sat May 27, 2006 7:46 am Post subject:
Hi,
If you search through the forums here you will find that most probs have been answered.. Ive already started work on the new HQ pnFlashGames for PHPNUKE which will be much smaller and bug fixed it also has many more free features..
The VIP Version will ofcourse still be the cream of the crop with so many add-ons and mods that you will want it anyway. lol
The my header file is really only need to track active users on the flashgames site.. Make sure you have the table (SQL) something like flashgames_activeusers setup.. If not thats the prob.
I would edit your my_header.php file and not just copy and replace.
Joined: May 22, 2003 Posts: 23945 Location: NSW, Australia
Posted: Sat May 27, 2006 8:39 am Post subject:
maybe try unstalling or manually removing the SQL..
Go into the downloads area and there should be a .sql inject file available to download. It may be a error in my admin.php scripts.. I cant remember sorry.
anyway, in the very near future you will have a nicer version. I can guarantee you that..
ok cheers, just pull your finger out and get the new version done
Great work btw
forahobby Administrator
Joined: May 22, 2003 Posts: 23945 Location: NSW, Australia
Posted: Sat May 27, 2006 2:00 pm Post subject:
tommas wrote:
ok cheers, just pull your finger out and get the new version done
Great work btw
heheh.. lol.. thanks.. will do..
The sites are nearly error free which means i can work fulltime on the flashgames module..
anyway, you just hang in there for me too.. I do my best to keep this stuff error free but there is just so many different versions of nuke out there.. hehhe
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