kamikaze_squad Posted March 2, 2015 Share Posted March 2, 2015 (edited) Witam. Kolejny problem z modułem Paypal. Wszystko jest dobrze do momentu gdy klient przechodzi do strony paypal. Na ich stronie są wszystkie dane do zapłaty itd. Klient się loguje wciska przycisk zapłać i w tym momencie wyskakuje error. TCPDF ERROR: [image] Unable to get image: http://img/logo.jpg Pieniądze dochodzą na moje konto ale klient o tym nie wie. Jak może być przyczyna ? Presta 1.5.6.1. Edited March 2, 2015 by kamikaze_squad (see edit history) Link to comment Share on other sites More sharing options...
Storecominity Posted March 2, 2015 Share Posted March 2, 2015 Same issue exactly. find Some way to fix it? the only payment module that returns this error is PAYPAL. Link to comment Share on other sites More sharing options...
endriu107 Posted March 2, 2015 Share Posted March 2, 2015 Jaki hosting, home.pl? Link to comment Share on other sites More sharing options...
kamikaze_squad Posted March 2, 2015 Author Share Posted March 2, 2015 Tak sklep stoi na home.pl Link to comment Share on other sites More sharing options...
endriu107 Posted March 3, 2015 Share Posted March 3, 2015 (edited) Wiec jest wersja mniej i bardziej poprawna, mniej poprawna to taka: w pliku classes\pdf\HTMLTemplate.php $path_logo = $_SERVER['SERVER_NAME'].$path_logo; zamień na: $path_logo = 'http://twojsklep/img/nazwaloga.jpg'; Niestety taka wersja nie zadziała poprawnie na multistore czy podczas zmiany logo, do tego potrzeba troszkę więcej i gdybyś był zainteresowany opcją nr 2 to zapraszam na PW. @Storecominity You had to change in file classes\pdf\HTMLTemplate.php this line $path_logo = $_SERVER['SERVER_NAME'].$path_logo; to $path_logo = http://yourshopdomain/img/yourlogofile.jpg'; Edited March 3, 2015 by endriu107 (see edit history) Link to comment Share on other sites More sharing options...
Storecominity Posted March 3, 2015 Share Posted March 3, 2015 sorry friend , in my case the problem is when paypal returns the answer appears error: TCPDF ERROR: [ Image ] Unable to get image: /img/tmp/product_mini_1959_7508.jpgEnter FTP the file is in the specified rute.I believe that to be a problem with the cache , as new products do not have that problem .thanks for your reply Link to comment Share on other sites More sharing options...
kamikaze_squad Posted March 3, 2015 Author Share Posted March 3, 2015 (edited) Dzięki za podpowiedź. Niestety w moim pliku nie ma takiej linijki. Jedynie co przypomina ten kod to coś takiego $shop_name = Configuration::get('PS_SHOP_NAME', null, null, (int)$this->order->id_shop); $path_logo = $this->getLogo(); $width = 0; $height = 0; if (!empty($path_logo)) list($width, $height) = getimagesize($path_logo); $this->smarty->assign(array( 'logo_path' => $path_logo, 'img_update_time' => Configuration::get('PS_IMG_UPDATE_TIME'), 'title' => $this->title, 'date' => $this->date, 'shop_name' => $shop_name, 'width_logo' => $width, 'height_logo' => $height Nie działam na multistore więc może się uda ? Edited March 3, 2015 by kamikaze_squad (see edit history) Link to comment Share on other sites More sharing options...
Storecominity Posted March 3, 2015 Share Posted March 3, 2015 I have replaced $path_logo = $this->getLogo(); = $path_logo = 'http://www.tutiendastore.es/img/logo.jpg'; but still not working. The problem does not seem to be the image of the logo , the problem seems to be in thumbnail images . This topic seems complicated and desperate ... Link to comment Share on other sites More sharing options...
endriu107 Posted March 3, 2015 Share Posted March 3, 2015 @kamikaze_squad powinno zadziałać podmień to w 45 linijce. @Storecominity did you use any non standard module? In standard installation presta didn't attach any thumbnails of product to invoice. Link to comment Share on other sites More sharing options...
Storecominity Posted March 3, 2015 Share Posted March 3, 2015 the pdf invoices in back office are generated without problem but from the customer PDF shows the same mistake the modules paypal ( 2 versions used for testing ) TCPDF ERROR: [ Image ] Unable to get image: / img / tmp / imagnename.jpgThe debug console shows no error.Thanks for your time. Link to comment Share on other sites More sharing options...
endriu107 Posted March 3, 2015 Share Posted March 3, 2015 Check permission to this folder, and files in it. Link to comment Share on other sites More sharing options...
Storecominity Posted March 3, 2015 Share Posted March 3, 2015 yes friend, check and correct... 775 Link to comment Share on other sites More sharing options...
kamikaze_squad Posted March 5, 2015 Author Share Posted March 5, 2015 Witam ponownie. Niestety po zmianie teraz dostaje taki komunikat 500 Internal ErrorThe server encountered an internal error and could not complete your request. Ale płatność nadal dochodzi Jakieś pomysły jeszcze? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now