marianokit / magento-w2p

Automatically exported from code.google.com/p/magento-w2p
0 stars 0 forks source link

Hash, no ID #173

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Looks like some of the data isn't sent to ZP when it should.
Templates can be imported, no problem.

array (
  0 => 'http://w2p.truchoninvitations.com',
  1 => 'dcc68d0f-9407-47f0-85af-83010ce26e74',
  2 => '01377DC3-519F-486E-BD7E-B7114829753A',
  3 =>
  array (
    'ID' => NULL,
    'Hash' => '3b97bbf7a942ee4b00b0c9ad537b67d3',
  ),
)
2010-04-10T19:21:05+00:00 DEBUG (7): zetaprints_get_content_from_url:
function parameters:
array (
  0 =>
'http://w2p.truchoninvitations.com/API.aspx?page=api-template;TemplateID=01377DC
3-519F-486E-BD7E-B7114829753A;ApiKey=dcc68d0f-9407-47f0-85af-83010ce26e74',
  1 =>
  array (
    'ID' => NULL,
    'Hash' => '3b97bbf7a942ee4b00b0c9ad537b67d3',
  ),
)
2010-04-10T19:21:05+00:00 DEBUG (7): zetaprints_get_content_from_url:
array (
  'curl options' =>
  array (
    10002 =>
'http://w2p.truchoninvitations.com/API.aspx?page=api-template;TemplateID=01377DC
3-519F-486E-BD7E-B7114829753A;ApiKey=dcc68d0f-9407-47f0-85af-83010ce26e74',
    42 => true,
    27 => true,
    19913 => true,
    10015 => 'ID=&Hash=3b97bbf7a942ee4b00b0c9ad537b67d3',
  ),
)
2010-04-10T19:21:05+00:00 DEBUG (7): zetaprints_get_content_from_url:
array (
  'Error' => '',
  'Curl info' =>
  array (
    'url' =>
'http://w2p.truchoninvitations.com/API.aspx?page=api-template;TemplateID=01377DC
3-519F-486E-BD7E-B7114829753A;ApiKey=dcc68d0f-9407-47f0-85af-83010ce26e74',
    'content_type' => 'text/html; charset=utf-8',
    'http_code' => 500,
    'header_size' => 337,
    'request_size' => 294,
    'filetime' => -1,
    'ssl_verify_result' => 0,
    'redirect_count' => 0,
    'total_time' => 0.0662,
    'namelookup_time' => 0.011882,
    'connect_time' => 0.030342,
    'pretransfer_time' => 0.030368,
    'size_upload' => 0,
    'size_download' => 9,
    'speed_download' => 135,
    'speed_upload' => 0,
    'download_content_length' => 9,
    'upload_content_length' => 0,
    'starttransfer_time' => 0.066138,
    'redirect_time' => 0,
  ),
  'Data' => 'HTTP/1.1 500 Internal Server Error
Date: Sat, 10 Apr 2010 19:21:00 GMT
Server: Microsoft-IIS/6.0
P3P: CP="NOI ADM IND INT OUR"
X-UA-Compatible: IE=EmulateIE7
X-AspNet-Version: 2.0.50727
X-ZP-API-Error-Msg: Wrong ID/Hash combo. IP:24.187.238.173
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 9

<error />',
)
2010-04-10T19:21:05+00:00 DEBUG (7): get_form_part_html: Exception: String
could not be parsed as XML
2010-04-10T19:22:15+00:00 DEBUG (7):
zetaprints_get_template_details_as_xml: function parameters:
array (
  0 => 'http://w2p.truchoninvitations.com',
  1 => 'dcc68d0f-9407-47f0-85af-83010ce26e74',
  2 => '01377DC3-519F-486E-BD7E-B7114829753A',
  3 =>
  array (
    'ID' => NULL,
    'Hash' => '3b97bbf7a942ee4b00b0c9ad537b67d3',
  ),
)
2010-04-10T19:22:15+00:00 DEBUG (7): zetaprints_get_content_from_url:
function parameters:
array (
  0 =>
'http://w2p.truchoninvitations.com/API.aspx?page=api-template;TemplateID=01377DC
3-519F-486E-BD7E-B7114829753A;ApiKey=dcc68d0f-9407-47f0-85af-83010ce26e74',
  1 =>
  array (
    'ID' => NULL,
    'Hash' => '3b97bbf7a942ee4b00b0c9ad537b67d3',
  ),
)
2010-04-10T19:22:15+00:00 DEBUG (7): zetaprints_get_content_from_url:
array (
  'curl options' =>
  array (
    10002 =>
'http://w2p.truchoninvitations.com/API.aspx?page=api-template;TemplateID=01377DC
3-519F-486E-BD7E-B7114829753A;ApiKey=dcc68d0f-9407-47f0-85af-83010ce26e74',
    42 => true,
    27 => true,
    19913 => true,
    10015 => 'ID=&Hash=3b97bbf7a942ee4b00b0c9ad537b67d3',
  ),
)
2010-04-10T19:22:16+00:00 DEBUG (7): zetaprints_get_content_from_url:
array (
  'Error' => '',
  'Curl info' =>
  array (
    'url' =>
'http://w2p.truchoninvitations.com/API.aspx?page=api-template;TemplateID=01377DC
3-519F-486E-BD7E-B7114829753A;ApiKey=dcc68d0f-9407-47f0-85af-83010ce26e74',
    'content_type' => 'text/html; charset=utf-8',
    'http_code' => 500,
    'header_size' => 337,
    'request_size' => 294,
    'filetime' => -1,
    'ssl_verify_result' => 0,
    'redirect_count' => 0,
    'total_time' => 1.048687,
    'namelookup_time' => 0.292428,
    'connect_time' => 0.312074,
    'pretransfer_time' => 0.312161,
    'size_upload' => 0,
    'size_download' => 9,
    'speed_download' => 8,
    'speed_upload' => 0,
    'download_content_length' => 9,
    'upload_content_length' => 0,
    'starttransfer_time' => 1.048465,
    'redirect_time' => 0,
  ),
  'Data' => 'HTTP/1.1 500 Internal Server Error
Date: Sat, 10 Apr 2010 19:22:11 GMT
Server: Microsoft-IIS/6.0
P3P: CP="NOI ADM IND INT OUR"
X-UA-Compatible: IE=EmulateIE7
X-AspNet-Version: 2.0.50727
X-ZP-API-Error-Msg: Wrong ID/Hash combo. IP:24.187.238.173
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 9

<error />',
)
2010-04-10T19:22:16+00:00 DEBUG (7): get_form_part_html: Exception: String
could not be parsed as XML

Original issue reported on code.google.com by zetapri...@gmail.com on 10 Apr 2010 at 7:36

GoogleCodeExporter commented 8 years ago
Let's re-write that old code to CURL. Hopefully it will fix the problem as 
discussed.

Original comment by zetapri...@gmail.com on 14 Apr 2010 at 6:28

GoogleCodeExporter commented 8 years ago
Customer found problem with IP resolving. Waiting for results. 

Original comment by Anatoly....@gmail.com on 15 Apr 2010 at 4:23

GoogleCodeExporter commented 8 years ago
IP double-up has been resolved. Need to try the latest beta with CURL (Issue 
182)

Original comment by zetapri...@gmail.com on 18 Apr 2010 at 8:38

GoogleCodeExporter commented 8 years ago

Original comment by zetapri...@gmail.com on 18 Apr 2010 at 8:48

GoogleCodeExporter commented 8 years ago
IP double-up resolved the problem. The customer still reports the problem. Can 
we
double check it works or not?

Original comment by zetapri...@gmail.com on 22 Apr 2010 at 2:49

GoogleCodeExporter commented 8 years ago
You forgot to include resources (css and js files) for the personalization form.
Read how to integrate web-to-print features to a custom theme at
http://code.google.com/p/magento-w2p/wiki/CustomThemeNative 

Original comment by Anatoly....@gmail.com on 23 Apr 2010 at 8:44

GoogleCodeExporter commented 8 years ago

Original comment by Anatoly....@gmail.com on 23 Apr 2010 at 8:44

GoogleCodeExporter commented 8 years ago

Original comment by zetapri...@gmail.com on 24 Apr 2010 at 8:04