S
Asked
When I upload product on my server it cannot auto compress image in different size to thumb. Just leave a blank page. I suspect because my server using GD library. Does it only support GD2 because I read documentation it state both supported however I not get it work.
- MSAnsweredHello,
Please check your server error logs and let me know the error details so that I can suggest.
You can enable app logs by changing the `log_threshold` to 1 in `app/config/config.php` and the try again to produce errors. Lastly check the latest log file in `app/logs/` folders.
Thank you - SAnsweredDoesn't have log in app/logs/ folder even enable log_threshold. This I get from my docker logs
[15/Feb/2021:15:55:01 +0800] "GET /assets/uploads/thumbs/170b49d5b0d22587373172b24ffbe46a.jpg HTTP/1.1" 404 555 "https://domain.xyz/admin/reports/quantity_alerts" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36 Edg/88.0.705.68" "-"
[15/Feb/2021:15:55:06 +0800] "POST /admin/reports/getQuantityAlerts HTTP/1.1" 200 21340 "https://domain.xyz/admin/reports/quantity_alerts" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36 Edg/88.0.705.68" "-"
[15/Feb/2021:15:55:06 +0800] "GET /assets/uploads/thumbs/170b49d5b0d22587373172b24ffbe46a.jpg HTTP/1.1" 404 555 "https://domain.xyz/admin/reports/quantity_alerts" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36 Edg/88.0.705.68" "-"
[15/Feb/2021:15:55:06 +0800] "GET /assets/uploads/thumbs/5ed9d44cd51417cf1d7002b1d8725db3.jpg HTTP/1.1" 404 555 "https://domain.xyz/admin/reports/quantity_alerts" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36 Edg/88.0.705.68" "-"
[15/Feb/2021:15:55:06 +0800] "GET /assets/uploads/thumbs/93bcdc36dbcebb72ae5dd0b6a2f079d3.jpg HTTP/1.1" 404 555 "https://domain.xyz/admin/reports/quantity_alerts" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36 Edg/88.0.705.68" "-"
[15/Feb/2021:15:55:06 +0800] "GET /assets/uploads/thumbs/59fbbadfa5b7994e224d1048f57f8a7d.jpg HTTP/1.1" 404 555 "https://domain.xyz/admin/reports/quantity_alerts" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36 Edg/88.0.705.68" "-" - MSAnsweredHello,
It's not error logs but access logs. You can check with your server admin for php error logs location.
Thank you - SAnsweredERROR - 2021-02-16 23:26:02 --> Severity: error --> Exception: Call to undefined function imagettftext() /var/www/html/system/libraries/Image_lib.php 1376
ERROR - 2021-02-16 23:27:50 --> Severity: error --> Exception: Call to undefined function imagettftext() /var/www/html/system/libraries/Image_lib.php 1376
ERROR - 2021-02-16 23:35:12 --> Severity: error --> Exception: Call to undefined function imagettftext() /var/www/html/system/libraries/Image_lib.php 1376 - MSAnsweredHello,
Please check with your server admin and request them to install i) GD library & ii) FreeType library. You might be missing one or both of the required libraries in your PHP build.
Thank you - Login to Reply