Verfasst am: So Dez 03, 2006 8:42 pm Titel: Hilfe bei sql_layer.php
Hi Ich habe ein Problem mit /includes/sql_layer.php in phpnuke 8.0 GEPatcht auch 3.3
Wenn fehler nicht Lösbar kann man diese Meldung Wegmachen also nicht sichtbar aber doch da. weil gehen tuts ja..
er sagt mir folgenden fehler...und was kann ich machen...
Zitat:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /usr/export/www/vhosts/funnetwork/hosting/masters/includes/sql_layer.php on line 250
So in der sql_layer.php steht... ind er zeile.
244 function sql_num_rows($res)
245 {
246 global $dbtype;
247 switch ($dbtype) {
248
249 case "MySQL":
250 $rows=mysql_num_rows($res);
251 return $rows;
252 break;;
253
254 case "mSQL":
255 $rows=msql_num_rows($res);
256 return $rows;
257 break;;
258
259 case "postgres":
260 case "postgres_local":
261 $rows=pg_numrows( $res->get_result() );
262 return $rows;
263 break;;
264
265 case "ODBC":
266 case "ODBC_Adabas":
267 $rows=odbc_num_rows($res);
268 return $rows;
269 break;;
270
271 case "Interbase":
272 //@RJR-Pwmg@Rncvkpwo@-@Eqratkijv@(e)@VgejIHZ.eqo
273 echo "<BR>Error! PHP dosen't support ibase_numrows!<BR>";
274 return $rows;
275 break;;
276
277 case "Sybase":
278 $rows=sybase_num_rows($res);
279 return $rows;
280 break;;
281
282 default:
283 break;;
284 }
285}
CREATE TABLE `nuke_flashgames_cat` (
`cid` int(15) NOT NULL auto_increment,
`cname` text NOT NULL,
`cdescription` text NOT NULL,
`cimage` text NOT NULL,
`hits` int(15) NOT NULL default '0',
PRIMARY KEY (`cid`),
UNIQUE KEY `cid` (`cid`)
) TYPE=MyISAM AUTO_INCREMENT=4 ;
#
# Tábla adatok: `nuke_flashgames_cat`
#
INSERT INTO `nuke_flashgames_cat` VALUES (1, 'Action Games', 'Action games where the fastest, most accurate clicker wins!', 'action.gif', 0);
INSERT INTO `nuke_flashgames_cat` VALUES (2, 'Arcade Games', 'Just like those old classic arcade games we all used to play.. Enjoy!', 'arcade.gif', 0);
INSERT INTO `nuke_flashgames_cat` VALUES (3, 'Non Highscore Games', 'All non highscore games will be placed here..', 'other.gif', 0);
CREATE TABLE `nuke_flashgames_comments` (
`cid` int(15) NOT NULL auto_increment,
`gid` int(15) NOT NULL default '0',
`uname` text NOT NULL,
`comments` text NOT NULL,
`date` text NOT NULL,
PRIMARY KEY (`cid`),
UNIQUE KEY `cid` (`cid`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;
CREATE TABLE `nuke_flashgames_games` (
`gid` int(15) NOT NULL auto_increment,
`gcid` int(15) NOT NULL default '0',
`gtype` int(1) NOT NULL default '0',
`gname` text NOT NULL,
`gdescription` text NOT NULL,
`gimage` text NOT NULL,
`gfilename` text NOT NULL,
`gauthorname` text NOT NULL,
`gauthorurl` text NOT NULL,
`gwidth` text NOT NULL,
`gheight` text NOT NULL,
`gcolor` text NOT NULL,
`hits` int(15) NOT NULL default '0',
`glicensekey` text NOT NULL,
`gratings` int(10) NOT NULL default '0',
`gscore` int(10) NOT NULL default '0',
PRIMARY KEY (`gid`),
UNIQUE KEY `gid` (`gid`)
) TYPE=MyISAM AUTO_INCREMENT=4 ;
#
# Tábla adatok: `nuke_flashgames_games`
#
INSERT INTO `nuke_flashgames_games` VALUES (1, 1, 1, 'Pingu', 'Pingu is a game which lets you slug penguins across the ice and see how far you can reach.. All games will soon be hi-score enabled.<br><br>There is also another much bloodier version of the same game. It will be added very soon.', 'pingu.gif', 'pingu.swf', 'Unknown', '', '650', '400', '#ffffff', 0, '', 0, 0);
INSERT INTO `nuke_flashgames_games` VALUES (2, 2, 1, 'Ms. Pacman', 'Ms. Pac-Man must eat all the dots in a maze in order to advance to the next stage. Shes chased by killer ghosts but she can eat them while powered up after eating one of four large dots. Bonus points are awarded for eating the fruits and snacks that appear and wander the maze.<br><br>This version is based on Paul Neaves original sourcecode but now has a multilevel loader and bouncing fruit. Thanks to Mike from http://www.michealmilton.com for all his help.', 'mspacman.gif', 'mspacman.swf', 'Kent Patfield', 'http://www.xbox-hq.com', '360', '420', '#000000', 0, '', 0, 0);
INSERT INTO `nuke_flashgames_games` VALUES (3, 2, 1, 'Frogger', 'The Original Frogger ported to Flash including hi-scores and full pnFlashGames support. This is just Version 1.0.<br><br>', 'frogger.gif', 'frogger.swf', 'Kent Patfield', 'http://www.xbox-hq.com', '400', '500', '#000000', 0, '', 0, 0);
CREATE TABLE `nuke_flashgames_gtype_cat` (
`cid` int(15) NOT NULL auto_increment,
`cname` text NOT NULL,
`cdescription` text NOT NULL,
PRIMARY KEY (`cid`),
UNIQUE KEY `cid` (`cid`)
) TYPE=MyISAM AUTO_INCREMENT=4 ;
#
# Tábla adatok: `nuke_flashgames_gtype_cat`
#
INSERT INTO `nuke_flashgames_gtype_cat` VALUES (1, 'Highest Score Wins', 'Scores will be sorted from Highest to Lowest.. eg. 1st: 500 2nd: 100');
INSERT INTO `nuke_flashgames_gtype_cat` VALUES (2, 'Lowest Score Wins', 'Scores will be sorted from Lowest to Highest.. eg. 1st: 100 2nd: 300');
INSERT INTO `nuke_flashgames_gtype_cat` VALUES (3, 'No Scores Available', 'No Hi-Scores are available for this game');
CREATE TABLE `nuke_flashgames_hiscores` (
`hid` int(15) NOT NULL auto_increment,
`gid` int(15) NOT NULL default '0',
`gamename` text NOT NULL,
`playername` text NOT NULL,
`playerscore` float NOT NULL default '0',
`date` text NOT NULL,
PRIMARY KEY (`hid`),
UNIQUE KEY `hid` (`hid`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;
CREATE TABLE `nuke_flashgames_hiscores_alltime` (
`hid` int(15) NOT NULL auto_increment,
`gid` int(15) NOT NULL default '0',
`gamename` text NOT NULL,
`playername` text NOT NULL,
`playerscore` float NOT NULL default '0',
`date` text NOT NULL,
PRIMARY KEY (`hid`),
UNIQUE KEY `hid` (`hid`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;
Dabei seit: May 25, 2006 Beiträge: 255 Wohnort: LE
Verfasst am: Mo Dez 04, 2006 1:23 am Titel:
Soweit wie mir bekannt, frutzt das Modul nuke-Flashgames nicht mit patch 3.3 und Phpnuke 8.0...
leider...
soweit ich es in Erinnerung habe ist es für 7.5 geschrieben worden...
...das modul nutzt einige, dafür zwingene Funktionen, die schon durch das Patch 3.2 ausgeklammert wurden...
...empfele Dir nach einer alternative zusuchen _________________
Verfasst am: Mo Dez 04, 2006 3:41 am Titel: Das modul geht
das modul geht einwandfrei bei nuke 8.0 mit patch 3.3
es ist nur eine einzige fehlermeldeng beim block Flash-Arcade-center nur weis ich nicht was die meldung will???...es nervt nur das dies da ist...
Soweit wie mir bekannt, frutzt das Modul nuke-Flashgames nicht mit patch 3.3 und Phpnuke 8.0...
leider...
soweit ich es in Erinnerung habe ist es für 7.5 geschrieben worden...
...das modul nutzt einige, dafür zwingene Funktionen, die schon durch das Patch 3.2 ausgeklammert wurden...
Du kannst keine Beiträge in dieses Forum schreiben. Du kannst auf Beiträge in diesem Forum nicht antworten. Du kannst deine Beiträge in diesem Forum nicht bearbeiten. Du kannst deine Beiträge in diesem Forum nicht löschen. Du kannst an Umfragen in diesem Forum nicht mitmachen.