PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > ReviewPost Pro Support Forums > ReviewPost Bug Reports

ReviewPost Bug Reports Let us know about any post installation problems you are having with ReviewPost.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old August 20th, 2004, 10:33 PM   #1 (permalink)
Senior Member
Verified Customer
 
Join Date: Oct 2003
Location: Ottawa, Canada
Posts: 833
Division by 0 - image-inc.php

Okay... what am I missing here? Fresh install of ReviewPost and when trying to upload causes the following error;

Warning: Division by zero in yadda-yadda/reviews/image-inc.php on line 302

Line 302 for me is $scaleFactor = $newwidth / $supermax;

Thumbs are set to 100, image sizes are set to 600, and the image I'm trying to upload is 360 pixels.
Bryan Ex is offline   Reply With Quote
Old August 20th, 2004, 10:40 PM   #2 (permalink)
Senior Member
Verified Customer
 
Join Date: Oct 2003
Location: Ottawa, Canada
Posts: 833
Oh... this thread in the classifieds section is identical but no fix was posted;

Another upload error (2 actually)
Bryan Ex is offline   Reply With Quote
Old August 21st, 2004, 10:30 AM   #3 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
Run the upgrade25.php file

I dont know why but in the main reviewpost.sql it is there and it is in the upgrade as well but you dont have it do you?

In your admin section under index options is there a max size for large images
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old August 21st, 2004, 10:59 AM   #4 (permalink)
Senior Member
Verified Customer
 
Join Date: Oct 2003
Location: Ottawa, Canada
Posts: 833
I have "Max allowable product image width in pixels" plus the same for height... both of which are set to 600. Should there be a second size setting?
Bryan Ex is offline   Reply With Quote
Old August 21st, 2004, 11:05 AM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
There is a 3rd setting for maximum supersize image
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old August 21st, 2004, 11:37 AM   #6 (permalink)
Senior Member
Verified Customer
 
Join Date: Oct 2003
Location: Ottawa, Canada
Posts: 833
Well... it's playing hide-n-seek then. I just ran the upgrade script as suggested and still only have the one height & width setting. Just to be sure I double checked using Mozilla but I also can not find any references to "supersize" in the actual upgrade25.php script.
Bryan Ex is offline   Reply With Quote
Old August 21st, 2004, 11:42 AM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
It is indeed in both files I mentioned so I dont know why you can not find it. I have reviewpost281.zip right here.

Both files have this

INSERT INTO {$rp_db_prefix}settings VALUES (21, 'Maximium side for a supersized image? (Larger images will be resized down)','maxsupersize','','1024',91,3)
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old August 21st, 2004, 11:51 AM   #8 (permalink)
Senior Member
Verified Customer
 
Join Date: Oct 2003
Location: Ottawa, Canada
Posts: 833
Strange indeed. I just downloaded this the other day. I'll go get it again and look specifically for setting item #21 as it isn't in the versions I have here now.
Bryan Ex is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Warning: Division by zero in pp-inc.php sbb Photopost Pro Installation & Upgrades 4 August 16th, 2005 09:32 AM
Errors on image-inc.php? Eddy Matthews Photopost Pro Installation & Upgrades 4 April 1st, 2005 09:40 AM
Division by zero nolnet ReviewPost Installation & Upgrades 0 January 4th, 2005 09:30 PM
2.8/vb3 : Division by zero 7thgencivic.com ReviewPost Bug Reports 20 July 14th, 2004 10:37 AM


All times are GMT -5. The time now is 07:30 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0