Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest
  • Page:
  • 1
  • 2

TOPIC: Lightbox

Lightbox 10 years, 9 months ago #11168

Hello, I get this error and the image does not appear, then please be help.
Sorry for my english, I'm french
Warning: Division by zero in /homez.655/adresser/bon-plan/plugins/system/yt/includ

Attachment erreur-page.jpg not found


es/libs/resize/tool.php on line 624

Re: Lightbox 10 years, 9 months ago #11183

  • SA Thuy
Dear roger francois,

Please go to /homez.655/adresser/bon-plan/plugins/system/yt/includ

es/libs/resize/tool.php and find:

if ($w + $h == 0){
	$this->log('Cannot resize to 0x0');
} else if ($w == 0){
	$mode = $this->_modes[3];
	$w = round( $h * $this->sW / $this->sH );
	} else if ($h == 0){
		$mode = $this->_modes[3];
		$h = round( $w * $this->sH / $this->sW );
	} else if ( abs($h-round($w*$this->sH/$this->sW)) <= 1){
		$mode = $this->_modes[3];
		$h = round( $w * $this->sH / $this->sW );
	}

=>

if ($w + $h == 0 || $this->sH == 0 || $this->sW == 0){
	$this->log('Cannot resize to 0x0');
} else if ($w == 0){
	$mode = $this->_modes[3];
	$w = round( $h * $this->sW / $this->sH );
	} else if ($h == 0){
		$mode = $this->_modes[3];
		$h = round( $w * $this->sH / $this->sW );
	} else if ( abs($h-round($w*$this->sH/$this->sW)) <= 1){
		$mode = $this->_modes[3];
		$h = round( $w * $this->sH / $this->sW );
	}


Thanks

Re: Lightbox 10 years, 9 months ago #11185

Hello and thank you for your help.
The error disappeared after correction, but the image does not appear on the home page

Re: Lightbox 10 years, 9 months ago #11188

  • loitt
  • OFFLINE
  • Platinum Boarder
  • Posts: 2222
  • Karma: 48
Dear roger francois.

Maybe the images are not exist in your images folder now.

Please check it again.

Thanks
Ticket System | Join our Clubs to download our extensions and templates

Re: Lightbox 10 years, 9 months ago #11195

Tet solved the problem thank you for the info picture was in place .. it was just a little code that was staying in image and link joomla. I ask you for another problem I observation .. Here the error.

Warning: filemtime() [function.filemtime]: stat failed for bon-plan.adresse-reunion.fr/components/com_sobipro/usr/templates/sj_information/js/jquery.js in /homez.655/adresser/bon-plan/components/com_sobipro/lib/base/header.php on line 538

Merci pour votre aide.

Re: Lightbox 10 years, 9 months ago #11211

  • SA Thuy
Dear roger francois,

Could you please send your site account to us? We will check asap.
For the security reason, please enter your site account in
Require Help
From Staff + Mod/Admin?

when you reply this answer.

Thanks
  • Page:
  • 1
  • 2
Time to create page: 0.22 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes