I have a question about TCPDF library in codeigniter. I got an error:
TCPDF ERROR: [Image] Unable to get image: /home/mrakodol/public_html/ecarrent/ecarrent/tcpdf/cache/img_QwbOB4
I have 777 permission on that folder and have a .htaccess file like that:
RewriteEngine On
RewriteBase /
# Hide the application and system directories by redirecting the request to index.php
RewriteRule ^(application|system|\.svn) index.php/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [QSA,L]
Can you help me?
TCPDF seems to be extremely picky about filenames. It’s saying the cached file doesn’t exist. That probably means the cached file couldn’t be generated, so check if any of your source images have punctuation, spaces, or other tricky characters in their filename. Also make sure they are RGB format not CMYK, and make sure you have enough memory to process them.