Visualizzazione dei risultati da 1 a 3 su 3
  1. #1
    Utente di HTML.it L'avatar di strae
    Registrato dal
    Apr 2008
    Messaggi
    407

    phpNuke da php v4.4.7 a v5.2.5

    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..
    You HAVE to assume your visitor is a maniac serial killer, out to destroy your application. And you have to prevent it.
    I can accept failure, everyone fails at something - But I can't accept not trying.

  2. #2
    Sposto nel forum dedicato
    Addio Aldo, amico mio... [03/12/70 - 16/08/03]

  3. #3
    Utente di HTML.it L'avatar di strae
    Registrato dal
    Apr 2008
    Messaggi
    407
    Originariamente inviato da gm
    Sposto nel forum dedicato
    ah ok.. grazie..
    You HAVE to assume your visitor is a maniac serial killer, out to destroy your application. And you have to prevent it.
    I can accept failure, everyone fails at something - But I can't accept not trying.

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.