Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem z goodsUrl (404) #14

Closed
maciekkossuda opened this issue Mar 26, 2013 · 2 comments
Closed

problem z goodsUrl (404) #14

maciekkossuda opened this issue Mar 26, 2013 · 2 comments

Comments

@maciekkossuda
Copy link

wygląda na to, że nie działa ten url

protected $_goodsUrl = "http://openpayu.com/en/goods/json";

to dump odpowiedzi w getArrayFromJsonResponse dla tego urla

2013-03-26T16:10:32+00:00 ALERT (1): Zend_Http_Response Object
(
    [version:protected] => 1.1
    [code:protected] => 404
    [message:protected] => Not Found
    [headers:protected] => Array
        (
            [Date] => Tue, 26 Mar 2013 16:10:32 GMT
            [Server] => Apache
            [Content-length] => 211
            [Content-type] => text/html; charset=iso-8859-1
            [Connection] => close
        )

    [body:protected] => <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /en/goods/json was not found on this server.</p>
</body></html>

)
@gitwasi
Copy link

gitwasi commented Mar 26, 2013

Mam to samo. Nie można przez to przeglądać produktów w kategoriach !!! oraz modyfikować konfiguracji PayU

Załączam końcówkę stack:
a:5:{i:0;s:69:"Passed parameter is not a valid HTTP URI. Array
(
[0] => error
)
";i:1;s:3687:"#0 /alejadiet.pl/lib/Zend/Http/Client.php(253): Zend_Http_Client->setUri(Array)
#1 /alejadiet.pl/lib/Varien/Http/Client.php(47): Zend_Http_Client->__construct(Array, NULL)
#2 /alejadiet.pl/app/code/local/PayU/Account/Model/Config.php(263): Varien_Http_Client->__construct(Array)
#3 /alejadiet.pl/app/code/local/PayU/Account/Model/Config.php(248): PayU_Account_Model_Config->getArrayFromJsonResponse(Array)
#4 /alejadiet.pl/app/code/local/PayU/Account/Model/Config.php(62): PayU_Account_Model_Config->setLatestVersion()
#5 /alejadiet.pl/app/code/core/Mage/Core/Model/Config.php(1350): PayU_Account_Model_Config->__construct(Array)
#6 /alejadiet.pl/app/Mage.php(432): Mage_Core_Model_Config->getModelInstance('payu_account/co...', Array)
#7 /alejadiet.pl/app/code/local/PayU/Account/Block/Advertisement.php(33): Mage::getModel('payu_account/co...')
#8 /alejadiet.pl/app/code/core/Mage/Core/Block/Abstract.php(863): PayU_Account_Block_Advertisement->_toHtml()
#9 /alejadiet.pl/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#10 /alejadiet.pl/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Text_List->_toHtml()
#11 /alejadiet.pl/app/code/core/Mage/Core/Block/Abstract.php(582): Mage_Core_Block_Abstract->toHtml()
#12 /alejadiet.pl/app/code/core/Mage/Core/Block/Abstract.php(526): Mage_Core_Block_Abstract->_getChildHtml('right', true)
#13 /alejadiet.pl/app/design/frontend/default/theme293/template/page/2columns-right.phtml(52): Mage_Core_Block_Abstract->getChildHtml('right')
...

@openpayu
Copy link
Contributor

Adres poprawiony.

Pozdrawiam
Emil, OpenPayU

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants