• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[3.1.6] PHP Warning, File: Common

#1
This error is displayed most of the time when I am using the SoapClient.

PHP Warning:  require_once(system/core/Exceptions.php): failed to open stream: Too many open files in system/core/Common.php on line 163


Code:
public function pesquisarAcordosWebservice($id=''){
    if($this->configuracao_model->verConfiguracao('webservice')->row()->status && $this->session->any < 3) {
        if (!empty($ndg)) {
            try {
                $function = 'pesquisarAcordos';
                $dados = [$function => ['id' => str_pad($id, 16, '0', STR_PAD_LEFT)]];
                $client = @new soapclient($this->linkWebserviceProducao().'?wsdl', $this->authWebserviceProducao());
                $options = ['location' => $this->linkWebserviceProducao()];
                $err = $client->__soapCall($function, $dados, $options);
                return $err;
            } catch (Exception $exception) {
                $exception->getMessage();
                return FALSE;
            }
        }
    }
}
Reply

#2
Is this the whole error? any backtrace?
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2018 MyBB Group.