Getting error after i changed server PHP API

64 views
Skip to first unread message

Jatin Bhatt

unread,
Jan 23, 2017, 11:48:44 PM1/23/17
to envayasms
Hello,

I have just change my server  ( URL also changed ) , earlier API works fine but once i changed server , it is not working . It gives me below error.
I open ports, remove firewall also.

PHP Warning:  fread(): Length parameter must be no more than 2147483647 in php-amqplib/amqp_wire.inc on line 304
PHP Fatal error:  Uncaught exception 'Exception' with message 'Error reading data. Recevived 0 instead of expected 4294779135 bytes' in php-amqplib/amqp_wire.inc:318
Stack trace:
#0 /php-amqplib/amqp_wire.inc(292): AMQPReader->rawread('4294779135')
#1 /php-amqplib/amqp.inc(595): AMQPReader->read('4294779135')
#2 /php-amqplib/amqp.inc(612): AMQPConnection->wait_frame()
#3 /php-amqplib/amqp.inc(178): AMQPConnection->wait_channel(0)
#4 /php-amqplib/amqp.inc(282): AbstractChannel->next_frame()
#5 /php-amqplib/amqp.inc(428): AbstractChannel->wait(Array)
#6 /send_sms_amqp.php(32): AMQPConnection->__construct('fotana', 5672, 'tim', 'tim', '/')
#7 {main}
  thrown in php-amqplib/amqp_wire.inc on line 318

Any Help will be appreciates.

Reply all
Reply to author
Forward
0 new messages