Hello,

I tried using this module and got the following error:

Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /home/ecopaper/public_html/sites/all/modules/ubercart/contrib/uc_gbase/uc_gbase.module:400 Stack trace: #0 /home/ecopaper/public_html/sites/all/modules/ubercart/contrib/uc_gbase/uc_gbase.module(400): SimpleXMLElement->__construct('The entity &quo...') #1 /home/ecopaper/public_html/sites/all/modules/ubercart/contrib/uc_gbase/uc_gbase.module(324): _uc_gbase_insert_xml(Object(stdClass)) #2 /home/ecopaper/public_html/sites/all/modules/ubercart/contrib/uc_gbase/uc_gbase.module(281): uc_gbase_insert_item(Object(stdClass)) #3 /home/ecopaper/public_html/modules/node/node.module(673): uc_gbase_nodeapi(Object(stdClass), 'update', NULL, NULL) #4 /home/ecopaper/public_html/modules/node/node.module(929): node_invoke_nodeapi(Object(stdClass), 'update') #5 /home/ecopaper/public_html/modules/node/node.pages.inc(456): node_save(Object(stdClass)) #6 /home/ecopaper/public_html/includes/form.inc(774): node_form_submit(Array, Array) #7 /home/ecopap in /home/ecopaper/public_html/sites/all/modules/ubercart/contrib/uc_gbase/uc_gbase.module on line 400

I was wondering if oyu had any insight to this. For waht its worth, I get a similar error with Google Checkout.

Comments

compujohnny’s picture

Category: bug » support

Hi,

I have made a new module commit, which changed a lot how the module works, please use the new update and tell me if it fixes your issue,

Thanks,

compujohnny’s picture

Status: Active » Closed (fixed)
j0rd’s picture

I just enabled the latest stable module from March 22nd.

I'm getting this error

Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in sites/all/modules/contrib/uc_gbase/uc_gbase.module:592 Stack trace: #0 sites/all/modules/contrib/uc_gbase/uc_gbase.module(592): SimpleXMLElement->__construct('') #1 sites/all/modules/contrib/uc_gbase/uc_gbase.module(457): _uc_gbase_insert_xml(Object(stdClass), 'Cash$Check$Visa...', 'http://dev.cwgm...') #2 sites/all/modules/contrib/uc_gbase/uc_gbase.module(370): uc_gbase_insert_item(Object(stdClass)) #3 modules/node/node.module(685): uc_gbase_nodeapi(Object(stdClass), 'update', NULL, NULL) #4 modules/node/node.module(944): node_invoke_nodeapi(Object(stdClass), 'update') #5 modules/node/node.pages.inc(455): node_save(Object(stdClass)) #6 / in sites/all/modules/contrib/uc_gbase/uc_gbase.module on line 592

The result I'm getting back from Google near line 592 is


request: POST /base/feeds/items HTTP/1.0 Host: www.goog...
POST /base/feeds/items HTTP/1.0 Host: www.google.com User-Agent: Drupal (+http://drupal.org/) Content-Length: 1805 Content-Type: application/atom+xml Authorization: AuthSub token="1/FENpFpPKt-3iF55R7NV1GfnhypxXzHb2b1PuqII9K-Q" X-Google-Key: key=8434695 <xml>...</xml>

code: -1
error: request timed out

Looks like we need to modify the code to take in this response.