Try setting a longer timeout? Get a handle to the httpClient somehow and then
$config = array( 'timeout' => 240 ); $httpClient->setConfig($config); On Aug 7, 9:20 am, Tara <tan...@gmail.com> wrote: > Hello, > > www.chennaitrekkers.orguses google form to register new members. But > we need to send some emails and do some more form filling once the > user hits the "submit" button. > > So I am trying to create an external form that auto fill the already > existing google-form-spreadsheet.This spreadsheet at present has 5000+ > entries. In my dummy sheet, everything fills fine, but when I try to > fill the actual sheet I get the error: > > Fatal error: Uncaught exception 'Zend_Gdata_App_HttpException' with > message 'Read timed out after 10 seconds' in /home1/journam6/ > public_html/ZendGdata/library/Zend/Gdata/App.php:679 Stack trace: #0 / > home1/journam6/public_html/ZendGdata/library/Zend/Gdata.php(219): > Zend_Gdata_App->performHttpRequest('GET', 'http://spreadsh...', Array, > NULL, NULL, NULL) #1 /home1/journam6/public_html/ZendGdata/library/ > Zend/Gdata/App.php(861): Zend_Gdata->performHttpRequest('GET', 'http:// > spreadsh...', Array) #2 /home1/journam6/public_html/ZendGdata/library/ > Zend/Gdata/App.php(754): Zend_Gdata_App->get('http://spreadsh...', > NULL) #3 /home1/journam6/public_html/ZendGdata/library/Zend/Gdata/ > App.php(205): Zend_Gdata_App->importUrl('http://spreadsh...', > 'Zend_Gdata_Spre...', NULL) #4 /home1/journam6/public_html/ZendGdata/ > library/Zend/Gdata.php(162): Zend_Gdata_App->getFeed('http:// > spreadsh...', 'Zend_Gdata_Spre...') #5 /home1/journam6/public_html/ > ZendGdata/library/Zend/Gdata/Spreadsheets.php(266): Zend_Gdata->getFeed > ('http://spreadsh...', 'Zend_G in /home1/journam6/public_html/ > ZendGdata/library/Zend/Gdata/App.php on line 679 > > If I try to fill sheet2 of the same spreadsheet, there is no > problem.. :( > > -------------- > My code: > -------------- > > ini_set("include_path", ".:/usr/lib/php:/usr/local/lib/php:/home1/ > journam6/public_html/ZendGdata/library/"); > > require_once 'Zend/Loader.php'; > Zend_Loader::loadClass('Zend_Gdata'); > Zend_Loader::loadClass('Zend_Gdata_ClientLogin'); > Zend_Loader::loadClass('Zend_Gdata_Spreadsheets'); > Zend_Loader::loadClass('Zend_Http_Client'); > > $email = "tan...@gmail.com"; > $pass = "*************"; > > $authService = Zend_Gdata_Spreadsheets::AUTH_SERVICE_NAME; > $httpClient = Zend_Gdata_ClientLogin::getHttpClient($email, $pass, > $authService); > $spreadsheetService = new Zend_Gdata_Spreadsheets($httpClient); > > $spreadsheetKey = '0Avo7QtZJaW3qcEpSWkV4RF9ib1JDN0hGV3l3ODh2Q2c'; > $worksheetId = 'od6'; > > $rowData = array('Full Name' => $f1); > > $insertedListEntry = $spreadsheetService->insertRow($rowData, > $spreadsheetKey, $worksheetId); > > ------------- > > Help?? > > Tara --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Docs Data APIs" group. To post to this group, send email to Google-Docs-Data-APIs@googlegroups.com To unsubscribe from this group, send email to google-docs-data-apis+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Docs-Data-APIs?hl=en -~----------~----~----~----~------~----~------~--~---