Template Club Package Silver Pacakage Gold Pacakage Developer Pacakage Accepted Payments Member Login
TemplatePlazza Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Division by zero error! (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Division by zero error!
#13902
Alex (Visitor)
Click here to see the profile of this user
Birthdate:
Division by zero error! 5 Months, 4 Weeks ago  
I'm getting this:

Warning: Division by zero in /home/vegano/public_html/vegan/modules/mod_minifrontpage.php on line 196

Warning: Division by zero in /home/vegano/public_html/vegan/modules/mod_minifrontpage.php on line 201

Warning: getimagesize(/home/vegano/public_html/vegan/images/stories/http://www.guiavegano.com.br/images/icones/direction.gif) [function.getimagesize]: failed to open stream: No such file or directory in /home/vegano/public_html/vegan/modules/mod_minifrontpage.php on line 102

Warning: imagecreatefromgif(/home/vegano/public_html/vegan/images/stories/http://www.guiavegano.com.br/images/icones/direction.gif) [function.imagecreatefromgif]: failed to open stream: No such file or directory in /home/vegano/public_html/vegan/modules/mod_minifrontpage.php on line 136

Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /home/vegano/public_html/vegan/modules/mod_minifrontpage.php on line 137

Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/vegano/public_html/vegan/modules/mod_minifrontpage.php on line 139

Warning: imagegif(): supplied argument is not a valid Image resource in /home/vegano/public_html/vegan/modules/mod_minifrontpage.php on line 141

Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/vegano/public_html/vegan/modules/mod_minifrontpage.php on line 142

What could it be???
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Report to moderator   Logged Logged  
  Reply Quote
#13978
minsho (User)
JuniorPlazzoic
Posts: 38
graphgraph
User Offline Click here to see the profile of this user
Re:Division by zero error! 5 Months, 4 Weeks ago Karma: 0  
same here I hope someone can help
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Report to moderator   Logged Logged  
  Reply Quote
#13982
minsho (User)
JuniorPlazzoic
Posts: 38
graphgraph
User Offline Click here to see the profile of this user
Re:Division by zero error! 5 Months, 4 Weeks ago Karma: 0  
I FOUND OUT WHY!!!

you need to use instead of a image from some other random link...

if you upload the photos you want into the folder (stories) etc, and choose the image in the control panel, everything works perfectly fine
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Report to moderator   Logged Logged  
  Reply Quote
#14014
Erwin Schro (Moderator)
search 1st - learn - try - still no luck - ask
Moderator
Posts: 2202
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Joomla Tips and Tricks rwin_schro
Re:Division by zero error! 5 Months, 4 Weeks ago Karma: 51  
That's it Minsho... ...
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Report to moderator   Logged Logged  
 
It\'s not that we\'re so smart. It\'s just that we stay with problems longer.\" ~Albert Einstein
  Reply Quote
#16219
Markus Thiel (User)
JuniorPlazzoic
Posts: 31
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Wombatmedia
Re:Division by zero error! 4 Months, 3 Weeks ago Karma: 0  
And if no image is uploaded?
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Report to moderator   Logged Logged  
 
  Reply Quote
#16220
Erwin Schro (Moderator)
search 1st - learn - try - still no luck - ask
Moderator
Posts: 2202
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Joomla Tips and Tricks rwin_schro
Re:Division by zero error! 4 Months, 3 Weeks ago Karma: 51  
Then you should set the Show Thumbnail option to "Hide" on your minifp module parameter...
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Report to moderator   Logged Logged  
 
It\'s not that we\'re so smart. It\'s just that we stay with problems longer.\" ~Albert Einstein
  Reply Quote
#16221
Markus Thiel (User)
JuniorPlazzoic
Posts: 31
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Wombatmedia
Re:Division by zero error! 4 Months, 3 Weeks ago Karma: 0  
But if some contents have images and some dont?
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Report to moderator   Logged Logged  
 
  Reply Quote
#17263
Howard H (Visitor)
Click here to see the profile of this user
Birthdate:
Re:Division by zero error! 4 Months, 1 Week ago  
First of all, Mini frontpage is an awesome module.

I also get this "Division by Zero error" constantly
whenever there is no image in the article or when the image is located at the foreign server.

Latter problem can be easily solved by moving the images to the local server.

However, the formal issue is bit more complicated.
As Markus Thiel pointed out. problem with setting the Thumbnail option to "hide" is that some of the articles have images and some don't.

I have multiple writers posting articles constantly and some have images and some don't.

I hope this can be remedied somehow

Thanks again for your hard work.
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Report to moderator   Logged Logged  
  Reply Quote
#17272
Erwin Schro (Moderator)
search 1st - learn - try - still no luck - ask
Moderator
Posts: 2202
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Joomla Tips and Tricks rwin_schro
Re:Division by zero error! 4 Months, 1 Week ago Karma: 51  
Division by zero means minifp can't find the images path supplied, either from another server or if the image(s) are not in the /images/stories/ folder. but it should be displayed the default image (the minifp icon) and this can be changed easily by you guys (is it nice to have the default one rather a text only article?).


I hope we can fix this and add this feature to the new version of minifp. But I think we can't do much if the images are on another server.

Thanks all for testing and using minifp.
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Report to moderator   Logged Logged  
 
It\'s not that we\'re so smart. It\'s just that we stay with problems longer.\" ~Albert Einstein
  Reply Quote
#17936
Rodrigo (Visitor)
Click here to see the profile of this user
Birthdate:
Re:Division by zero error! 3 Months, 4 Weeks ago  
Hi guys, first of all thanks 4 this amazing module

im with the same problem

will be waiting for next update
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Report to moderator   Logged Logged  
  Reply Quote
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
ico spot