• This area is dedicated to the support of our xF1 add-ons. For xF2, please use the dedicated area: HERE.
  • We are aware that a no permission error was shown when you tried to purchase in the last 2 days, this is now fixed.

Bug No Answer ErrorException: getimagesize()

Joined
Oct 19, 2016
Messages
1
Hello,

The XFA Media Gallery is causing a reptitive server errors and not creating the appropriate sub-category images. You can see the issue here:
http://soulfightersacademy.com/network/index.php?media/categories/tritac-jitsu-library.1/

I started off with support through Xenforo. You can see the ticket response here:

================

I keep getting repetitive server errors for my YouTube Videos in XenGallery. It seems like I get them for every video.

XenForo 1.5.11
XenForo Media Gallery 1.1.10

====

Stack Trace
#0 [internal function]: XenForo_Application::handlePhpError(8, 'getimagesize():...', '/home/soulfight...', 84, Array)
#1 /home/soulfighters/public_html/network/library/XenGallery/Helper/Image.php(84): getimagesize('data/xengallery...')
#2 /home/soulfighters/public_html/network/library/XenGallery/Helper/Image.php(1273): XenGallery_Helper_Image->_readImageInfo()
#3 /home/soulfighters/public_html/network/library/XenGallery/Helper/Image.php(210): XenGallery_Helper_Image->getRatioHeightToWidth()
#4 /home/soulfighters/public_html/network/library/XenGallery/Thumbnail/Abstract.php(150): XenGallery_Helper_Image->resize('640', '350', 'crop')
#5 /home/soulfighters/public_html/network/library/XenGallery/Thumbnail/Abstract.php(185): XenGallery_Thumbnail_Abstract->saveThumbnail()
#6 /home/soulfighters/public_html/network/library/XenGallery/Thumbnail/YouTube.php(33): XenGallery_Thumbnail_Abstract->verifyThumbnailUrl('https://i.ytimg...')
#7 /home/soulfighters/public_html/network/library/XenGallery/ControllerPublic/Media.php(2277): XenGallery_Thumbnail_YouTube->getThumbnailUrl('LXTsofl2DMY?148...')
#8 /home/soulfighters/public_html/network/library/XenForo/FrontController.php(351): XenGallery_ControllerPublic_Media->actionThumbnail()
#9 /home/soulfighters/public_html/network/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#10 /home/soulfighters/public_html/network/index.php(13): XenForo_FrontController->run()
#11 {main}

Request State
array(3) {
["url"] => string(98) "http://soulfightersacademy.com/network/index.php?media/thumbnail&id=youtube.LXTsofl2DMY?1481297554"
["_GET"] => array(2) {
["media/thumbnail"] => string(0) ""
["id"] => string(30) "youtube.LXTsofl2DMY?1481297554"
}
["_POST"] => array(0) {
}
}


===============================

Chris Deeming:
(Staff)

Hello,

I have since been able to spend some time trying to ascertain what page/pages were generating the errors and I found it to be this page:

http://soulfightersacademy.com/network/index.php?media/albums

If you load this page, you will notice the category display at the top of the list of albums has two placeholder thumbnails (grey with three dots).

It is actually these thumbnails which are generating the errors. These thumbnails appear to work correctly on other pages.

Unfortunately, I cannot help much more as it appears as though this category listing is from a third party add-on, and it is not part of the default XFMG add-on.

The add-on appears to attempt to fetch details of the "latestMedia" and on the albums page, at least, this always seems to miss fetching the correct thumbnail URL, and it is this which causes the problem.

Further debugging may be required by the author/s of the add-on, but I hope the information above might at least help them identify the issue.

Regards,

Chris

===============================

Matthew Bryers:

Ok I disabled the plugin. How do I know if the error is gone. The display is completely different now.

Do you know a way to show the sub-categories in the media gallery?

===============================

Chris Deeming:
(Staff)

Hello,

Disabling an add-on usually isn't the best solution.

I recommend working with the add-on author who will advise what needs to be done to get it working.

XFMG doesn't support showing sub-categories in that way so an add-on like the one you already have would be required, you just need it to work correctly.

Regards,

Chris
 

MtoR

Freaky Coder
Staff member
Joined
Nov 14, 2015
Messages
5,296
Hello,

I am not home currently, will be back on tuesday.

I have lots of things that were reported while I was away so don't expect it to be fixed just right now and remind me in case I forget please.

Thank you,
Clément
 

MtoR

Freaky Coder
Staff member
Joined
Nov 14, 2015
Messages
5,296
Hi,

I did the same than you did but can't reproduce.
Guess it may be because of one of the fixes I implemented.

I will release the new version and we'll see if you still got that error.

Clément