Ir para conteúdo
  • 0
Entre para seguir isso  
jeduschu

Infraestrutura Failed to load external entity

Pergunta

jeduschu    12
jeduschu

Encontrei esse erro meu distro:

erros.png.fccad649453b45c010e6839c5b1842cd.png

Alguém saberia me dizer o que significa e caso esteja comprometendo em algo?

Servidor utilizado:

Citar

TFS 0.4, rev 3777 [8.60]

 

Editado por Schuambach

Compartilhar este post


Link para o post
Compartilhar em outros sites

3 respostass a esta questão

Recommended Posts

  • 0
Majesty    1755
Majesty

O servidor tenta fazer uma requisição a um arquivo que não existe mais na OTLand e o erro não compromete no uso.

Para remover o erro, edite o arquivo otserv.cpp e remova o seguinte código:

Spoiler

std::clog << ">> Checking software version...";
    if(xmlDocPtr doc = xmlParseFile(VERSION_CHECK))
    {
        xmlNodePtr p, root = xmlDocGetRootElement(doc);
        if(!xmlStrcmp(root->name, (const xmlChar*)"versions"))
        {
            p = root->children->next;
            if(!xmlStrcmp(p->name, (const xmlChar*)"entry"))
            {
                std::string version;
                int32_t patch, build, timestamp;
 
                bool tmp = false;
                if(readXMLString(p, "version", version) && version != SOFTWARE_VERSION)
                    tmp = true;
 
                if(readXMLInteger(p, "patch", patch) && patch > VERSION_PATCH)
                    tmp = true;
 
                if(readXMLInteger(p, "build", build) && build > VERSION_BUILD)
                    tmp = true;
 
                if(readXMLInteger(p, "timestamp", timestamp) && timestamp > VERSION_TIMESTAMP)
                    tmp = true;
 
                if(tmp)
                {
                    std::clog << " ";
                    if(version.find("_SVN") == std::string::npos)
                        std::clog << "running sub version, please mind it's unstable and only for testing purposes!";
                    else
                        std::clog << "outdated, please consider upgrading!";
 
                    std::clog << std::endl << "> Current version information - version: "
                        << SOFTWARE_VERSION << ", patch: " << VERSION_PATCH
                        << ", build: " << VERSION_BUILD << ", timestamp: " << VERSION_TIMESTAMP
                        << "." << std::endl << "> Latest version information - version: "
                        << version << ", patch: " << patch << ", build: " << build
                        << ", timestamp: " << timestamp << "." << std::endl;
                    if(g_config.getBool(ConfigManager::CONFIRM_OUTDATED_VERSION) &&
                        asLowerCaseString(version).find("_svn") == std::string::npos)
                    {
                        std::clog << "Continue? (y/N)" << std::endl;
                        char buffer = getch();
                        if(buffer != 121 && buffer != 89)
                            startupErrorMessage("Aborted.");
                    }
                }
                else
                    std::clog << "up to date!" << std::endl;
            }
            else
                std::clog << "failed checking - malformed entry." << std::endl;
        }
        else
            std::clog << "failed checking - malformed file." << std::endl;
 
        xmlFreeDoc(doc);
    }
    else
        std::clog << "failed - could not parse remote file (are you connected to any network?)" << std::endl;

 

Depois, salve o arquivo e compile as sources para obter um novo executável.

Compartilhar este post


Link para o post
Compartilhar em outros sites
  • 0
jeduschu    12
jeduschu

@Majesty Parece que deu tudo certo.

Mais uma vez, obrigado pela ajuda!

Compartilhar este post


Link para o post
Compartilhar em outros sites
  • 0
Majesty    1755
Majesty

A questão neste tópico de suporte foi respondida e o autor do tópico resolveu a questão. Este tópico está fechado agora. Se você tiver outras perguntas, crie um novo tópico.

Compartilhar este post


Link para o post
Compartilhar em outros sites
Visitante
Este tópico está impedido de receber novos posts.
Entre para seguir isso  

  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

×