Groups
Groups
Sign in
Groups
Groups
Gearman
Conversations
About
Send feedback
Help
Fail to call function
2 views
Skip to first unread message
Đoàn Cao Nghĩa
unread,
Nov 15, 2009, 11:46:12 PM
11/15/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gearman
Hi,
Here is my client.php
<?php
# create our client object
$gmclient= new GearmanClient();
# add the default server (localhost)
$gmclient->addServer();
# run reverse client in the background
$job_handle = $gmclient->doBackground("reverse", "this is a test");
$gmclient->setData("aaa");
if ($gmclient->returnCode() != GEARMAN_SUCCESS)
{
echo "bad return code\n";
exit;
}
echo "done!\n";
?>
as result, i have error : Fatal error: Call to undefined method
GearmanClient::setData() in /var/www/client.php on line 12.
could I install wrong some thing ? please help me resovel this !
Thanks
Nghia
Eric Day
unread,
Nov 16, 2009, 3:53:34 AM
11/16/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gea...@googlegroups.com
Hi!
The setData method was renamed to setContext for consistency.
-Eric
Đoàn Cao Nghĩa
unread,
Nov 16, 2009, 4:43:23 AM
11/16/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gearman
Thanks.
Reply all
Reply to author
Forward
0 new messages