{"id":1034,"date":"2015-07-16T01:54:22","date_gmt":"2015-07-15T22:54:22","guid":{"rendered":"http:\/\/sahinsolmaz.com\/blog\/?p=1034"},"modified":"2015-08-20T18:54:30","modified_gmt":"2015-08-20T15:54:30","slug":"prestashop-tcpdf-error-image-unable-to-get-image-imgtmpproduct_mini_-solved","status":"publish","type":"post","link":"https:\/\/sahinsolmaz.com\/blog\/prestashop-tcpdf-error-image-unable-to-get-image-imgtmpproduct_mini_-solved\/","title":{"rendered":"PRESTASHOP TCPDF ERROR: [Image] Unable to get image: \/img\/tmp\/product_mini_ SOLVED"},"content":{"rendered":"<p>Herkese Merhabalar,<\/p>\n<p>Uzun bir aradan sonra <strong>Prestashop<\/strong> i\u00e7in g\u00fcncel bir <strong>bug<\/strong>\/hatan\u0131n (<strong>TCPDF ERROR: [Image] Unable to get image: \/img\/tmp\/product_mini_<\/strong>) \u00e7\u00f6z\u00fcm\u00fcn\u00fc h\u0131zl\u0131ca payla\u015faca\u011f\u0131m.<\/p>\n<h3><strong>TCPDF ERROR: [Image] Unable to get image:<\/strong> <strong>\u00c7\u00d6Z\u00dcM\u00dc<\/strong><\/h3>\n<h3>FIX BUG PRESTASHOP TCPDF ERROR: [Image] Unable to get image: \/img\/tmp\/product_mini_<\/h3>\n<p>How to fix this?<\/p>\n<p><a href=\"http:\/\/sahinsolmaz.com\/blog\/wp-content\/uploads\/2015\/07\/prestashop_TCPDF_ERROR_Image_Unable_to_get_image.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1038\" src=\"http:\/\/sahinsolmaz.com\/blog\/wp-content\/uploads\/2015\/07\/prestashop_TCPDF_ERROR_Image_Unable_to_get_image.jpg\" alt=\"prestashop_TCPDF_ERROR_Image_Unable_to_get_image\" width=\"446\" height=\"111\" \/><\/a><!--more--><\/p>\n<ul>\n<li>Anadizin\/classes\/<strong>pdf\/HTMLTemplateDeliverySlip.php<\/strong> dosyas\u0131n\u0131 a\u00e7\u0131n,<br \/>\nOpen the PS\/classes\/<strong>pdf\/HTMLTemplateDeliverySlip.php<\/strong> file<\/li>\n<li>\n<pre>A\u015fa\u011f\u0131daki sat\u0131rlar\u0131 de\u011fi\u015ftirin\r\nReplace the following lines\r\n\r\n<span style=\"color: #ff0000;\">kald\u0131r\u0131n (75.sat\u0131r) \/ remove<\/span> (online 75)\r\n<span style=\"color: #ff0000;\">$order_detail['image_tag'] = ImageManager::thumbnail(_PS_IMG_DIR_.'p\/'.$order_detail['image']-&gt;getExistingImgPath().'.jpg', $name, 45, 'jpg', false);\r\n\r\n<span style=\"color: #008000;\">(ekleyin\/add)<\/span>\r\n<strong><span style=\"color: #008000;\">$path = _PS_PROD_IMG_DIR_.$order_detail['image']-&gt;getExistingImgPath().'.jpg';<\/span><\/strong>\r\n<strong><span style=\"color: #008000;\">$order_detail['image_tag'] = preg_replace(<\/span><\/strong>\r\n<strong><span style=\"color: #008000;\">\u00a0\u00a0 \u00a0'\/\\.*'.preg_quote(__PS_BASE_URI__, '\/').'\/',<\/span><\/strong>\r\n<strong><span style=\"color: #008000;\">\u00a0\u00a0 \u00a0_PS_ROOT_DIR_.DIRECTORY_SEPARATOR,<\/span><\/strong>\r\n<strong><span style=\"color: #008000;\">\u00a0\u00a0 \u00a0ImageManager::thumbnail($path, $name, 45, 'jpg', false),<\/span><\/strong>\r\n<strong><span style=\"color: #008000;\">\u00a0\u00a0 \u00a01<\/span><\/strong>\r\n<strong><span style=\"color: #008000;\">);<\/span><\/strong>\r\n<\/span><\/pre>\n<\/li>\n<li>Kaydedip, tekrar deneyin.<br \/>\nand now, you can try again.<\/li>\n<\/ul>\n<p>Bu \u00e7\u00f6z\u00fcm Prestashop 1.6.0.14 versiyonunda denenmi\u015f ve ba\u015far\u0131yla sonu\u00e7lanm\u0131\u015ft\u0131r. 1.5 ve \u00fczeri s\u00fcr\u00fcmlerde deneyebilirsiniz.<\/p>\n<p>This solution had used for Prestashop 1.6.0.14 and it was okay. You can try for Prestashop 1.5 and more than..<\/p>\n<p>Kaynak\/source: https:\/\/github.com\/PrestaShop\/PrestaShop\/pull\/2797\/files<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Herkese Merhabalar, Uzun bir aradan sonra Prestashop i\u00e7in g\u00fcncel bir bug\/hatan\u0131n (TCPDF ERROR: [Image] Unable to get image: \/img\/tmp\/product_mini_) \u00e7\u00f6z\u00fcm\u00fcn\u00fc h\u0131zl\u0131ca payla\u015faca\u011f\u0131m. TCPDF ERROR: [Image] Unable to get image: \u00c7\u00d6Z\u00dcM\u00dc FIX BUG PRESTASHOP TCPDF ERROR: [Image] Unable to get image: \/img\/tmp\/product_mini_ How to fix this?<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2}},"categories":[21],"tags":[533,531,532],"class_list":["post-1034","post","type-post","status-publish","format-standard","hentry","category-prestashop-e-ticaret","tag-imgtmpproduct_mini","tag-prestashop-tcpdf-error","tag-tcpdf-error-image-unable-to-get-image"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4sbm9-gG","jetpack-related-posts":[{"id":1329,"url":"https:\/\/sahinsolmaz.com\/blog\/prestashop-fatal-error-call-to-undefined-method-htmltemplatedeliveryslipgetpagination-in-classespdfpdf-php-on-line-95\/","url_meta":{"origin":1034,"position":0},"title":"Prestashop  Fatal error: Call to undefined method HTMLTemplateDeliverySlip::getPagination() in \/classes\/pdf\/PDF.php on line 95","author":"SahinSOLMAZ","date":"1 Temmuz 2016","format":false,"excerpt":"Merhabalar, Birka\u00e7 g\u00fcn \u00f6nce Prestashop global forumdan bir arkada\u015f\u0131n ya\u015fam\u0131\u015f oldu\u011fu: Fatal error: Call to undefined method HTMLTemplateDeliverySlip::getPagination() in classes\/pdf\/PDF.php on line 95 sorunu ile ilgili olarak pratik bir \u00e7\u00f6z\u00fcm\u00fc sizlerle payla\u015fmak istiyorum. \u015eikayet konusu \u015fuydu: \"kap\u0131da \u00f6deme methodu ile al\u0131\u015fveri\u015f yap\u0131ld\u0131\u011f\u0131nda beyaz sayfa ile kar\u015f\u0131la\u015f\u0131yorum.\" Asl\u0131nda bildi\u011finiz \u00fczere, beyaz\u2026","rel":"","context":"&quot;Genel&quot; i\u00e7inde","block_context":{"text":"Genel","link":"https:\/\/sahinsolmaz.com\/blog\/category\/genel\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1111,"url":"https:\/\/sahinsolmaz.com\/blog\/prestashop-fatal-error-call-to-undefined-method-toolssafedefine-in\/","url_meta":{"origin":1034,"position":1},"title":"PRESTASHOP Fatal error: Call to undefined method Tools::safeDefine() in","author":"SahinSOLMAZ","date":"22 A\u011fustos 2015","format":false,"excerpt":"Merhabalar, Yine basit bir Prestashop hatas\u0131 ile kar\u015f\u0131 kar\u015f\u0131yay\u0131z ve hemen kar\u015f\u0131la\u015ft\u0131\u011f\u0131m\u0131z hatay\u0131, nedenini ve \u00e7\u00f6z\u00fcm\u00fcn\u00fc payla\u015fal\u0131m. PRESTASHOP HATA: PRESTASHOP ERROR: PRESTASHOP Fatal error: Call to undefined method Tools::safeDefine() in .. Bu hata ile kar\u015f\u0131la\u015f\u0131yorsan\u0131z e\u011fer, Prestashop (\u015fu anki g\u00fcncel versiyon: 1.6.1.0) g\u00fcncel versiyonlardan birisini kullan\u0131yorsunuz ve g\u00fcncelle\u015ftirme yaparak bu\u2026","rel":"","context":"&quot;PrestaShop&quot; i\u00e7inde","block_context":{"text":"PrestaShop","link":"https:\/\/sahinsolmaz.com\/blog\/category\/e-ticaret\/prestashop-e-ticaret\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1069,"url":"https:\/\/sahinsolmaz.com\/blog\/prestashop-fatal-error-class-smarty_internal_smartytemplatecompiler-not-found-in\/","url_meta":{"origin":1034,"position":2},"title":"Prestashop Fatal error: Class &#8216;Smarty_Internal_SmartyTemplateCompiler&#8217; not found in","author":"SahinSOLMAZ","date":"7 Eyl\u00fcl 2015","format":false,"excerpt":"Merhabalar, Prestashop s\u00fcr\u00fcm g\u00fcncelle\u015ftirmesi yapt\u0131ktan sonra a\u015fa\u011f\u0131daki hata ile kar\u015f\u0131la\u015fabilirsiniz. When you upgrade Prestashop version, you may encounter the following error. Fatal error: Class 'Smarty_Internal_SmartyTemplateCompiler' not found in .. tools\/smarty\/sysplugins\/smarty_internal_template.php\u00a0on line 713 \u00a0 \u00c7\u00f6z\u00fcm olduk\u00e7a basit lakin g\u00fcncel s\u00fcr\u00fcmde LC_CTYPE hatas\u0131 bu \u015fekilde \u00e7\u0131kt\u0131\u011f\u0131 i\u00e7in forumlarda \u00e7\u00f6z\u00fcme ula\u015fman\u0131z biraz zor\u2026","rel":"","context":"&quot;Genel&quot; i\u00e7inde","block_context":{"text":"Genel","link":"https:\/\/sahinsolmaz.com\/blog\/category\/genel\/"},"img":{"alt_text":"Prestashop Logo","src":"https:\/\/i0.wp.com\/sahinsolmaz.com\/blog\/wp-content\/uploads\/2015\/09\/ps_logo_share_prestashop-621x309.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/sahinsolmaz.com\/blog\/wp-content\/uploads\/2015\/09\/ps_logo_share_prestashop-621x309.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/sahinsolmaz.com\/blog\/wp-content\/uploads\/2015\/09\/ps_logo_share_prestashop-621x309.png?resize=525%2C300 1.5x"},"classes":[]},{"id":907,"url":"https:\/\/sahinsolmaz.com\/blog\/solvedcozuldu-prestashop-maximum-upload-file-error\/","url_meta":{"origin":1034,"position":3},"title":"Solved\/\u00c7\u00f6z\u00fcld\u00fc &#8211; Prestashop maximum upload file Error","author":"SahinSOLMAZ","date":"3 Nisan 2015","format":false,"excerpt":"Prestashop The limit choosen is superior to the server's maximum upload file You need to improve the limit of your server. Ba\u015fl\u0131kta Prestashop yazsa da\u00a0 \"maximum upload file You need to improve the limit of your server.\"\u00a0 hatas\u0131 genel bir hata (hatay\u0131 veren sistem Prestashop) ve pratik bir \u00e7\u00f6z\u00fcm i\u00e7in;\u2026","rel":"","context":"&quot;PrestaShop&quot; i\u00e7inde","block_context":{"text":"PrestaShop","link":"https:\/\/sahinsolmaz.com\/blog\/category\/e-ticaret\/prestashop-e-ticaret\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":334,"url":"https:\/\/sahinsolmaz.com\/blog\/prestashop-admin-nginx-502-bad-gateway-solved-hatasi-ve-cozumu\/","url_meta":{"origin":1034,"position":4},"title":"Prestashop Admin Nginx (502 Bad Gateway) Solved Hatas\u0131 ve \u00c7\u00f6z\u00fcm\u00fc","author":"SahinSOLMAZ","date":"11 Mart 2014","format":false,"excerpt":"\u00a0G\u00fcncel \u00e7\u00f6z\u00fcm i\u00e7in: http:\/\/sahinsolmaz.com\/blog\/solved-nginx-502-bad-gateway-error-hatasi-ve-cozumu\/ New solve: http:\/\/sahinsolmaz.com\/blog\/solved-nginx-502-bad-gateway-error-hatasi-ve-cozumu\/ \u00a0 Merhaba Arkada\u015flar, Prestashop y\u00f6netim paneline giri\u015f yapmay\u0131 denerken bir g\u00fcn \u015f\u00f6yle bir hata ile kar\u015f\u0131\u015fa\u015f\u0131rsan\u0131z,\u00a0Prestashop Admin Nginx (502 Bad Gataway)\u00a0a\u015fa\u011f\u0131da anlataca\u011f\u0131m basit \u00e7\u00f6z\u00fcm i\u015finize yarayacakt\u0131r. * Sunucu y\u00f6netim panelini (\u00f6rn: Plesk Panel \u2018i) a\u00e7\u0131n,* Ara\u00e7lar ve Se\u00e7eneler (Tools & Settings) sayfas\u0131n\u0131 a\u00e7\u0131n,\u2026","rel":"","context":"&quot;E-Ticaret&quot; i\u00e7inde","block_context":{"text":"E-Ticaret","link":"https:\/\/sahinsolmaz.com\/blog\/category\/e-ticaret\/"},"img":{"alt_text":"Prestashop-Admin-Nginx-502-Bad-Gateway-Solved-Hatasi-ve-C\u00f6zumu","src":"https:\/\/i0.wp.com\/sahinsolmaz.com\/blog\/wp-content\/uploads\/2014\/03\/Prestashop-Admin-Nginx-502-Bad-Gateway-Solved-Hatasi-ve-C%C3%B6zumu-300x168.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":911,"url":"https:\/\/sahinsolmaz.com\/blog\/solvedprestashop-admin-502-bad-gateway-hatasi-nasil-cozulur\/","url_meta":{"origin":1034,"position":5},"title":"Solved\/Prestashop Admin 502 Bad Gateway Hatas\u0131 Nas\u0131l \u00c7\u00f6z\u00fcl\u00fcr","author":"SahinSOLMAZ","date":"21 \u015eubat 2015","format":false,"excerpt":"Merhabalar, Bu sorunun kesin \u00e7\u00f6z\u00fcm\u00fc i\u00e7in l\u00fctfen buray\u0131 inceleyiniz! exact solution, for it is error: click here! --------------------------------------------- \u00a0 Prestashop geli\u015fmi\u015f, a\u00e7\u0131k kaynak e-ticaret yaz\u0131l\u0131mlar\u0131 aras\u0131nda en pop\u00fcler paketlerden birisidir. Bir \u00e7ok geli\u015ftiricisinin olmas\u0131na ra\u011fmen bazen can s\u0131k\u0131c\u0131 durumlarla kar\u015f\u0131 kar\u015f\u0131ya kalabilmekteyiz. \u00d6rne\u011fin: Prestashop Admin 502 Bad Gateway hatas\u0131 bunlardan\u2026","rel":"","context":"&quot;PrestaShop&quot; i\u00e7inde","block_context":{"text":"PrestaShop","link":"https:\/\/sahinsolmaz.com\/blog\/category\/e-ticaret\/prestashop-e-ticaret\/"},"img":{"alt_text":"Prestashop-Admin-502-Bad-Gateway-Hatasi-ve-C\u00f6zumu-Error-Solve-SolvedPrestashop Admin 502 Bad Gateway Hatas\u0131 Nas\u0131l \u00c7\u00f6z\u00fcl\u00fcr","src":"https:\/\/i0.wp.com\/sahinsolmaz.com\/blog\/wp-content\/uploads\/2015\/02\/Prestashop-Admin-502-Bad-Gateway-Hatasi-ve-C%C3%B6zumu-Error-Solve-SolvedPrestashop-Admin-502-Bad-Gateway-Hatas%C4%B1-Nas%C4%B1l-%C3%87%C3%B6z%C3%BCl%C3%BCr.jpg?resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/sahinsolmaz.com\/blog\/wp-json\/wp\/v2\/posts\/1034","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sahinsolmaz.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sahinsolmaz.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sahinsolmaz.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sahinsolmaz.com\/blog\/wp-json\/wp\/v2\/comments?post=1034"}],"version-history":[{"count":6,"href":"https:\/\/sahinsolmaz.com\/blog\/wp-json\/wp\/v2\/posts\/1034\/revisions"}],"predecessor-version":[{"id":1090,"href":"https:\/\/sahinsolmaz.com\/blog\/wp-json\/wp\/v2\/posts\/1034\/revisions\/1090"}],"wp:attachment":[{"href":"https:\/\/sahinsolmaz.com\/blog\/wp-json\/wp\/v2\/media?parent=1034"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sahinsolmaz.com\/blog\/wp-json\/wp\/v2\/categories?post=1034"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sahinsolmaz.com\/blog\/wp-json\/wp\/v2\/tags?post=1034"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}