@AndyB @Mike @Chris D I ran a google search and read this thread:
https://xenforo.com/community/threads/invalid-image-type-while-rebuilding-attachments.70515
That thread is exactly what I am experiencing, except my issue has not been resolved.
I ran this query first by Mike:
I went through and removed every BMP file (7) from the site and ran the query again. This is the result of the second running.
MySQL returned an empty result set (i.e. zero rows). (Query took 0.0002 sec)
The issue persisted when I attempted to rebuild the caches again so I ran this query by Andy:
This displayed an additional 12 images that had fullscreenshot3-BMP.jpg as the ending file. I went in and removed them all as well. I then ran the query again and got the same message.
MySQL returned an empty result set (i.e. zero rows). (Query took 0.0001 sec)
I still can't rebuild the caches. This displays every time I run it:
I went in and emptied the TMP folder to make sure that wasn't causing the issue. It wasn't. The issue persists. This is my attachment stuff:
file size: 4096
per message: 10
extensions:
zip
txt
pdf
png
jpg
jpeg
jpe
gif
max size: 1600 x 1600
imagmagik
flash uploader enabled
Any ideas?
https://xenforo.com/community/threads/invalid-image-type-while-rebuilding-attachments.70515
That thread is exactly what I am experiencing, except my issue has not been resolved.
I ran this query first by Mike:
Code:
SELECT xf_attachment_data.*, xf_attachment.attachment_id, xf_attachment.*
FROM xf_attachment_data
INNER JOIN xf_attachment ON xf_attachment.data_id = xf_attachment_data.data_id
WHERE filename LIKE '%.bmp'
I went through and removed every BMP file (7) from the site and ran the query again. This is the result of the second running.
MySQL returned an empty result set (i.e. zero rows). (Query took 0.0002 sec)
The issue persisted when I attempted to rebuild the caches again so I ran this query by Andy:
Code:
SELECT xf_attachment_data.data_id, xf_attachment_data.filename, xf_attachment.attachment_id, xf_attachment.content_id
FROM xf_attachment_data
INNER JOIN xf_attachment ON xf_attachment.data_id = xf_attachment_data.data_id
WHERE filename LIKE '%bmp%'
This displayed an additional 12 images that had fullscreenshot3-BMP.jpg as the ending file. I went in and removed them all as well. I then ran the query again and got the same message.
MySQL returned an empty result set (i.e. zero rows). (Query took 0.0001 sec)
I still can't rebuild the caches. This displays every time I run it:
Code:
Server Error
Invalid image type given. Expects IMAGETYPE_XXX constant.
XenForo_Image_ImageMagick_Pecl::createFromFileDirect()
call_user_func() in XenForo/Image/Abstract.php at line 254
XenForo_Image_Abstract::createFromFile() in XenForo/Deferred/AttachmentThumb.php at line 38
XenForo_Deferred_AttachmentThumb->execute() in XenForo/Model/Deferred.php at line 256
XenForo_Model_Deferred->runDeferred() in XenForo/Model/Deferred.php at line 390
XenForo_Model_Deferred->_runInternal() in XenForo/Model/Deferred.php at line 335
XenForo_Model_Deferred->run() in XenForo/ControllerAdmin/Tools.php at line 159
XenForo_ControllerAdmin_Tools->actionRunDeferred() in XenForo/FrontController.php at line 347
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
XenForo_FrontController->run() in /home/iguana11/public_html/admin.php at line 13
I went in and emptied the TMP folder to make sure that wasn't causing the issue. It wasn't. The issue persists. This is my attachment stuff:
file size: 4096
per message: 10
extensions:
zip
txt
png
jpg
jpeg
jpe
gif
max size: 1600 x 1600
imagmagik
flash uploader enabled
Any ideas?