Skip to content

Changes on My version php #10

@eolandro

Description

@eolandro

helllo

On the server there is something sttrage :
in funtion
private function validate() {
.......
if (!isset($this->classes[$this->extension]) || !method_exists($this->classes[$this->extension],$this->request['method']) && $this->extension != "rpc"){
###hacks
if($this->request['method']!='listMethods'){
throw new Exception($this->errorCodes['methodNotFound']);
}###hacks

        };

........
}

i had to add the "if($this->request['method']!='listMethods'){" because fails to get the "listMethods" and raise "rpcException: -32601::Method not found" on Debian Unstable and PHP 5.5.9-1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions