Hello I have had to re-upload the tables again to stop the error apearing and yes come to think of it I did have to edit some files.. thanks for the idea I`ll get looking for changes now!
cheers
mrix
i am also getting this too and i did not have this problem with php nuke at all when clantheme re did my site they put raven nuke on it so im getting that now and this
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in / *EDITED BY ADMIN* /htdocs/includes/sql_layer.php on line 238
Table 'dataname_install_120131222222.nuke_flashgames_activeusers' doesn't exist
All the time and it shows up on the front page everyone can see it
there is a big space between the blocks then that messege but the flash games work fine even with that but tha code is showing up right smack in the middle of the site
that is not the data base name i changed it so no one could see it on here,, or the install number .. i have installed it over and over agian driving me nuts lol cuz i had itr working fine on 7.8 php then 8.0 this is a big thing on my site kids love them flash games do you want the site ?
thank you for answering me i hope you can help
Oh wait''''' its not showing up in modules when i put up the center block on the webpage that when it shows up and i need that block in the center
The " Table nuke_flashgames_activeusers' doesn't exist " could this be to do with a bug when you update. I had a user glitch the other day and run a script to sort the users out which fixed the problem. not sure where I got it from but its a known script.
cheers
mrix
i think its the block block-FlashGames_Arcade.php it is only the one block i need,, all the rest of the blocks are working fine i think the block need to be re done some how,, i dont know scripts so i dont know how to do this something needs to be takeing out or added to this block all the game are working fine no error what so ever its just that d*** main block,,,,,
some thing in that block is conflicting with the raven nuke files:::
well so what you are saying is that its not reading the users on our Site ??
no what um saying it there can be a general glitch where the normal users dont get updated right. And there was a script around that rectifies this.
So it got me thinking that maybe as the games uses the normal users maybe thats where the problem lies maybe. so if you run the repair checker script it maybe worth a go.
cheers
mrix
Joined: Aug 28, 2003 Posts: 4581 Location: Slovakia - working my way around Eastern Europe
Posted:
Fri Apr 11, 2008 1:27 pm
@ mrix - so you are all working now?
You mention the error showing between blocks? You might want to check header.php, footer.php and mainfile.php as it is likely calling something due to file edits you did to install the module.
@ itnkertrain - please copy the code from the block into a plain text file and post a link to the text file here, someone may be able to help.
<?php
/************************************************************************/
/* PHP-NUKE: Web Portal System */
/* =========================== */
/* pnFlashGames for PHPNUKE BLOCK */
/* Copyright (c) 2005 by Kent Patfield */
/* http://www.xbox-hq.com */
/* */
/* Note: If you need more than one flash games block, just copy this */
/* file with another name */
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/************************************************************************/
if (eregi("block-FlashGames-Arcade.php",$_SERVER[PHP_SELF])) {
Header("Location: ../index.php");
die();
}
$usemarquee = 1;
$module_name = "Flash_Games";
global $prefix, $db, $dbi, $nukeurl;
// select random game code
$numrows = $db->sql_numrows($db->sql_query("SELECT * FROM ".$prefix."_flashgames_games"));
if ($numrows>1) {
$numrows = $numrows-1;
mt_srand((double)microtime()*1000000);
$bannum = mt_rand(0, $numrows);
} else {
$bannum = 0;
}
// Games Available and Games Served
$content .= "<center>Games Available: <b>$games</b><br>Games Served: <B>$total_served</b><br>Comments Available:<B>$comments</b><br><br><a href=\"modules.php?name=$module_name&func=ViewAll\">View All Games</a></center>";
No every thing else but this one block is working and its the one we need lol how do i run the script fix i pretty new at this stuuf if you cant tell lol
I think im about ready to give up on the flash games they dont seem to be working right with raven;s nuke now im getting this error too
Warning: main(modules/admin/admin/language/lang-english.php) [function.main]: failed to open stream: No such file or directory in /hermes/web04/b2002/pow.XXXXXx/htdocs/admin/case/case.php on line 40
Warning: main() [function.include]: Failed opening 'modules/admin/admin/language/lang-english.php' for inclusion (include_path='.:/usr/local/lib/php-4.4.7/lib/php') in /hermes/web04/b2002/pow.XXXXXXX/htdocs/admin/case/case.php on line 40
do you guys have a eazy compatable flash game program that i can use easy to install and set up ?
The way to eliminate (easiest) the error is to determine which core files were modified for flash_games and then re-upload those original core files from the distro package. Then drop the tables.
The only "however" to this is IF you modified those same core files for other modules/blocks/whatever. In that case you will have to do a reverse-edit to take out the mods for flash_games. If you did a backup of the core files in question then you're pretty much in good shape, just rename 'em back to the original filename(s) prior to the flash_games edits.
Joined: Dec 19, 2004 Posts: 2113 Location: Germany:Moderator German NukeSentinel Support
Posted:
Sat Jul 12, 2008 9:47 am
Thanks for the info but I don´t have an visible error. My module works since 3 years its just old and I´m looking for something newer without a high score list.
Maybe I use MiniClip instead.
Joined: Aug 28, 2003 Posts: 4581 Location: Slovakia - working my way around Eastern Europe
Posted:
Sat Jul 12, 2008 11:44 am
Code:
Warning: main(modules/admin/admin/language/lang-english.php) [function.main]: failed to open stream: No such file or directory in /hermes/web04/b2002/pow.XXXXXx/htdocs/admin/case/case.php on line 40
Warning: main() [function.include]: Failed opening 'modules/admin/admin/language/lang-english.php' for inclusion (include_path='.:/usr/local/lib/php-4.4.7/lib/php') in /hermes/web04/b2002/pow.XXXXXXX/htdocs/admin/case/case.php on line 40
Something looks wrong there the file paths are all wrong.
I recommend you re-install the script onto virgin files.
There should not be a directory modules/admin/admin/
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