ApnsPHP[2601]: 'INFO: Parent process 2422 died unexpectedly, exiting...'

100 views
Skip to first unread message

Le Li

unread,
Oct 12, 2011, 12:46:48 PM10/12/11
to apns-php
I am trying to insert pushTokens in the feeback into a database. Here
is the sample function code:

public function getFeedbacks(){
// Instanciate a new ApnsPHP_Feedback object

// Connect to the Apple Push Notification Feedback Service
$this->feedback->connect();

$aDeviceTokens = $this->feedback->receive();
if (!empty($aDeviceTokens)) {
//get the array of device tokens and update the database
accordingly
$this->log("feedback: Recieved Device Tokens, updating db.");

}else{
$this->log("feedback: No Tokens Recieved");

}

// Disconnect from the Apple Push Notification Feedback Service
$this->feedback->disconnect();
$this->log("feedback: Deactivating tokens on db");

if (!empty($aDeviceTokens)) {
$this->log("feedback:DB insertion! <br />");
$this->DBinsertion($aDeviceTokens);
}
}

After getting feedback when it calls $this-
>DBinsertion($aDeviceTokens), it gives the error:

info: 'Tue, 11 Oct 2011 13:54:13 -0400' ApnsPHP[2422]: 'INFO:
Disconnected.'

info: [Tuesday 11th of October 2011 01:54:13 PM] FeedbackSystem:
feedback: Deactivating tokens on db<br>

info: [Tuesday 11th of October 2011 01:54:13 PM] FeedbackSystem:
feedback:DB insertion! <br /><br>

info: 'Tue, 11 Oct 2011 13:54:13 -0400' ApnsPHP[2422]: 'INFO: Parent
shutdown, cleaning memory...'

info: 'Tue, 11 Oct 2011 13:54:13 -0400' ApnsPHP[2601]: 'INFO: Parent
process 2422 died unexpectedly, exiting...'

Anyone knows why? Thanks


Aldo Armiento

unread,
Oct 27, 2011, 5:05:41 AM10/27/11
to apns-php
Maybe a fatal error?

A.
Reply all
Reply to author
Forward
0 new messages