ciao ragazzi.. mi sono intortato in un casino terribile, un amico di mio fratello deve rifare il sito e io da pirla ho accettato.

ora, mi trovo con un sito fatto con phpnuke, non sò la versione perchè non è nei commenti di pagina:
Codice PHP:
/************************************************************************/
/* PHP-NUKE: Advanced Content Management System                         */
/* ============================================                         */
/*                                                                      */
/* Copyright (c) 2002 by Francisco Burzi                                */
/* [url]http://phpnuke.org[/url]                                                   */
/*                                                                      */
/* 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.       */
/*                                                                      */
/************************************************************************/
/* Additional security checking code 2003 by chatserv                   */
/* [url]http://www.nukefixes.com[/url] -- [url]http://www.nukeresources.com[/url]             */
/************************************************************************/ 
molti dei file sono logicamente scritti OOP, e credo che il problema maggiore sia il mutamento del linguaggio OOP dalla versione 4.4.7 alla 5.2 che uso io...

se riuscite ad aiutarmi davvero ve ne sarei un sacco grato..

primo problema:

Codice PHP:
Resource ID#10 used as offset, casting to integer (10), C:\xampplite\htdocs\sito\db\mysql.php, 209

//riga 209 del file:
$this->row[$query_id] = @mysql_fetch_array($query_id);
//ho provato a cambiarla con
list($idQuery)= mysql_fetch_array($query_id);
$this->row[$query_id] = $idQuery;
//ma nada.. 
un sentitissimo GRAZIE a chiunque abbia voglia di aiutarmi..