gitpajo / nfwjob

New fine working job
2 stars 1 forks source link

ERROR #42

Closed myjavarama4 closed 9 years ago

myjavarama4 commented 9 years ago

ProductInfoEil::getProduct(ProductInfoTSBohemia::SERVER_URL . 'shop/moreinfo.asp?catalogid=587277', $soubor);

Hlásí chybu

PHP Warning: file_get_contents(http://dealer.tsbohemia.cz/shop/moreinfo.asp?catalogid=587277): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in ...\nfw\class\core\simpledom\simple_html_dom.php:76

Poslední commit

myjavarama4 commented 9 years ago

Už to funguje

myjavarama4 commented 9 years ago

Tak nic, hlásí to ŠPATNÉ URL, ale když napíšu tohle, což nedává smysl

ProductInfoEil::getProduct(ProductInfoEil::SERVER_URL . 'shop/moreinfo.asp?catalogid=587277', $soubor);

Když zadám tohle, tak to hlásí zase

PHP Warning: file_get_contents(http://dealer.tsbohemia.cz/shop/moreinfo.asp?catalogid=587277): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in ...\nfw\class\core\simpledom\simple_html_dom.php:76

ProductInfoEil::getProduct(ProductInfoTSBohemia::SERVER_URL . 'shop/moreinfo.asp?catalogid=587277', $soubor);

gitpajo commented 9 years ago

musis tam mit === 3x, protoze 0 je taky false

myjavarama4 commented 9 years ago

Pořád stejná chyba

gitpajo commented 9 years ago

ty 3 === jsou tam, aby fungovalo, když je to dobře

myjavarama4 commented 9 years ago

ano, ale co když je špatné url

gitpajo commented 9 years ago

Tu kontrolu na domenu musime dat jeste pred to cteni te stranky a ten warning je v poradku, vysvetlim na obede