VISIT AND LIKE OUR PAGE ON FACEBOOK
TAKE A LOOK AT OUR TWEETS ON TWITTER
SUBSCRIBE TO THE JOOMFREAK RSS FEED
VISIT OUR CHANNEL ON YOUTUBE

Account Details

Change your name, email, password or permanently delete your account. Change settings

We offer several ways you can get support from our experts: Support ForumKnowledgebaseNewsletter

Your Forum Posts

No posts to display.

Welcome, Guest
Username Password: Remember me

BTslideshow problem
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: BTslideshow problem

BTslideshow problem 22 Mar 2013 15:40 #1828

Hello,

I use joomla 2.5, jf-texturia template and the BTslideshow module. My site is online 6 months ago and everything works fine but today when I start my site I received a lot of error messages on the frontend. I hope somebody can help me to fix this problem, I write bellow the error messages:

Warning: Division by zero in /home/rico4193/public_html/modules/mod_btslideshow/helpers/images.php on line 90

Warning: Division by zero in /home/rico4193/public_html/modules/mod_btslideshow/helpers/images.php on line 92

Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /home/rico4193/public_html/modules/mod_btslideshow/helpers/images.php on line 117

Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /home/rima3993/public_html/modules/mod_btslideshow/helpers/images.php on line 127

Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/rico4193/public_html/modules/mod_btslideshow/helpers/images.php on line 136

Warning: Division by zero in /home/rima3993/public_html/modules/mod_btslideshow/helpers/images.php on line 90

Warning: Division by zero in /home/rico4193/public_html/modules/mod_btslideshow/helpers/images.php on line 92

Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /home/rico4193/public_html/modules/mod_btslideshow/helpers/images.php on line 117

Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /home/rico4193/public_html/modules/mod_btslideshow/helpers/images.php on line 127

Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/rima3993/public_html/modules/mod_btslideshow/helpers/images.php on line 136

Warning: Division by zero in /home/rico4193/public_html/modules/mod_btslideshow/helpers/images.php on line 90

Warning: Division by zero in /home/rico4193/public_html/modules/mod_btslideshow/helpers/images.php on line 92

Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /home/rico4193/public_html/modules/mod_btslideshow/helpers/images.php on line 117

Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /home/rico4193/public_html/modules/mod_btslideshow/helpers/images.php on line 127

Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/rico4193/public_html/modules/mod_btslideshow/helpers/images.php on line 136
  • lelek

Re: BTslideshow problem 22 Mar 2013 20:55 #1829

Hello,

I fixed the problem, but I think this is not the best solution.
I modified the line 90 in images.php to this bellow:
error_reporting(0);if ($sHeight / $sWidth > $dHeight / $dWidth) {

If somebody know a better solution please not hesitate to post here.
  • lelek

Re: BTslideshow problem 27 Mar 2013 03:46 #1849

I think that problem is your hosting company had changed configuration. this function php.net/manual/en/function.getimagesize.php does not work anymore.
$info = getimagesize($imgSrc, $imageinfo); please contact your hosting company to ask them.

  • Posts:266
  • kurtcobain
  • Gold Boarder
  • OFFLINE
  • Karma: 0

Re: BTslideshow problem 27 Mar 2013 08:57 #1851

Hello,

Thank you for the information.
I will contact my hosting provider.
  • lelek
  • Page:
  • 1
Time to create page: 1.00 seconds
Wednesday 17 July 2019

joomfreak is not affiliated with or endorsed by the Joomla Project or Open Source Matters.
The Joomla logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.