Visualizzazione dei risultati da 1 a 9 su 9

Discussione: Problema file php

  1. #1

    Problema file php

    A che cosa è dovuto questo errore?

    C:\xampp\php>php -f C:\xampp\htdocs\Server\server.php 0 [Server] → L.U.C.S. (Version): 8;13;11;3 PHP
    Warning: opendir(network/login,network/login): The system cannot find the p ath specified. (code: 3) in C:\xampp\htdocs\Server\network\packets.php on line 1 5

    Warning: opendir(network/login,network/login): The system cannot find the path s pecified. (code: 3) in C:\xampp\htdocs\Server\network\packets.php on line 15 PHP

    Warning: opendir(network/login): failed to open dir: No such file or direct ory in C:\xampp\htdocs\Server\network\packets.php on line 15 Warning: opendir(network/login): failed to open dir: No such file or directory i n C:\xampp\htdocs\Server\network\packets.php on line 15

    PHP Warning: readdir() expects parameter 1 to be resource, boolean given in C:\ xampp\htdocs\Server\network\packets.php on line 16 Warning: readdir() expects parameter 1 to be resource, boolean given in C:\xampp \htdocs\Server\network\packets.php on line 16

    PHP Warning: closedir() expects parameter 1 to be resource, boolean given in C: \xampp\htdocs\Server\network\packets.php on line 23 Warning: closedir() expects parameter 1 to be resource, boolean given in C:\xamp p\htdocs\Server\network\packets.php on line 23 PHP Warning: opendir(network/game,network/game): The system cannot find the pat h specified. (code: 3) in C:\xampp\htdocs\Server\network\packets.php on line 83

    Warning: opendir(network/game,network/game): The system cannot find the path spe cified. (code: 3) in C:\xampp\htdocs\Server\network\packets.php on line 83

    PHP Warning: opendir(network/game): failed to open dir: No such file or directo ry in C:\xampp\htdocs\Server\network\packets.php on line 83 Warning: opendir(network/game): failed to open dir: No such file or directory in C:\xampp\htdocs\Server\network\packets.php on line 83

    PHP Warning: readdir() expects parameter 1 to be resource, boolean given in C:\ xampp\htdocs\Server\network\packets.php on line 84 Warning: readdir() expects parameter 1 to be resource, boolean given in C:\xampp \htdocs\Server\network\packets.php on line 84

    PHP Warning: closedir() expects parameter 1 to be resource, boolean given in C: \xampp\htdocs\Server\network\packets.php on line 91 Warning: closedir() expects parameter 1 to be resource, boolean given in C:\xamp p\htdocs\Server\network\packets.php on line 91

    PHP Warning: opendir(network/game/handlers,network/game/handlers): The system c annot find the path specified. (code: 3) in C:\xampp\htdocs\Server\network\packe ts.php on line 93 Warning: opendir(network/game/handlers,network/game/handlers): The system cannot find the path specified. (code: 3) in C:\xampp\htdocs\Server\network\packets.php on line 93

    PHP Warning: opendir(network/game/handlers): failed to open dir: No such file o r directory in C:\xampp\htdocs\Server\network\packets.php on line 93 Warning: opendir(network/game/handlers): failed to open dir: No such file or dir ectory in C:\xampp\htdocs\Server\network\packets.php on line 93

    PHP Warning: readdir() expects parameter 1 to be resource, boolean given in C:\ xampp\htdocs\Server\network\packets.php on line 94 Warning: readdir() expects parameter 1 to be resource, boolean given in C:\xampp \htdocs\Server\network\packets.php on line 94

    PHP Warning: closedir() expects parameter 1 to be resource, boolean given in C: \xampp\htdocs\Server\network\packets.php on line 101 Warning: closedir() expects parameter 1 to be resource, boolean given in C:\xamp p\htdocs\Server\network\packets.php on line 101

    10.01 18:07:40 [MySQL] → Successfully connected to localhost as 'root'

    PHP Warning: file_get_contents(data/itemmanager/items.list): failed to open str eam: No such file or directory in C:\xampp\htdocs\Server\data\itemmanager\itemmanage r.php on line 26

    Warning: file_get_contents(data/itemmanager/items.list): failed to open stream: No such file or directory in C:\xampp\htdocs\Server\data\itemmanager\itemmanage r.php on line 26

    PHP Warning: file_get_contents(data/weaponmanager/weaponIDs.dat): failed to ope n stream: No such file or directory in C:\xampp\htdocs\Server\data\weaponmanager \weaponmanager.php on line 99
    Warning: file_get_contents(data/weaponmanager/weaponIDs.dat): failed to open str eam: No such file or directory in C:\xampp\htdocs\Server\data\weaponmanager\weap onmanager.php on line 99

    PHP Warning: file_get_contents(data/weaponmanager/lookupWeapons.dat): failed to open stream: No such file or directory in C:\xampp\htdocs\Server\data\weaponman ager\weaponmanager.php on line 100

    Warning: file_get_contents(data/weaponmanager/lookupWeapons.dat): failed to open stream: No such file or directory in C:\xampp\htdocs\Server\data\weaponmanager\ weaponmanager.php on line 100 10.01 18:07:40 [Inventory] → Successfully loaded default equipment 10.01 18:07:40 [Server] → (TCP-)Server successfully started on 94.23.145.252:533 0 10.01 18:07:40 [Server] → (TCP-)Server successfully started on 94.23.145.252:534 0 10.01 18:07:40 [Server] → (TCP-)Server successfully started on 94.23.145.252:476 11

  2. #2
    Utente di HTML.it L'avatar di neroux
    Registrato dal
    Aug 2009
    Messaggi
    1,973
    e chi dovrebbe essere capace di leggere questo?

    www.sitemeer.com » Quando un sito pare irraggiungibile

    Se ti piace ci puoi trovare anche su Facebook

  3. #3
    ora va meglio

  4. #4
    Sembrano tutti errori relativi al:
    Codice PHP:
    opendir(network/login
    Non trova la directory, controlla il percorso.

  5. #5
    Originariamente inviato da lucavizzi
    Sembrano tutti errori relativi al:
    Codice PHP:
    opendir(network/login
    Non trova la directory, controlla il percorso.
    Ma la directory esiste ti invio invio la stringa corrispondente all'errore
    Warning: opendir(network/login,network/login): The system cannot find the p ath specified. (code: 3) in C:\xampp\htdocs\Server\network\packets.php on line 15

    Codice PHP:
    $handle opendir("network/login");
    while(
    $file readdir($handle))
    {
        if(!
    is_dir($file))
        {
            include(
    "network/login/".$file);
        }
    }
    closedir($handle); 

  6. #6
    Originariamente inviato da peppetigna
    Codice PHP:
    $handle opendir("network/login");
    while(
    $file readdir($handle))
    {
        if(!
    is_dir($file))
        {
            include(
    "network/login/".$file);
        }
    }
    closedir($handle); 
    Il file che esegue questo blocco di codice, si trova nella stessa cartella che contiene la cartella "network"?

  7. #7
    Originariamente inviato da lucavizzi
    Il file che esegue questo blocco di codice, si trova nella stessa cartella che contiene la cartella "network"?
    Si trova dentro la cartella network

  8. #8
    Originariamente inviato da peppetigna
    Si trova dentro la cartella network
    Se, come dici, il file si trova nella cartella "network", la path relativa per l'opendir sarà:
    Codice PHP:
    $handle opendir("login"); 

  9. #9
    Originariamente inviato da lucavizzi
    Se, come dici, il file si trova nella cartella "network", la path relativa per l'opendir sarà:
    Codice PHP:
    $handle opendir("login"); 
    Niente da fare non so piu dove sbattere la testa ti posto il link dei file se gli vuoi dare un occhiata non so :/ http://uploaded.net/file/pirh190t


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.