 | |  | | | ReviewPost Bug Reports Let us know about any post installation problems you are having with ReviewPost. |
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.
|
| |
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) |
| |
August 21st, 2004, 10:30 AM
|
#3 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
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?
|
| |
August 21st, 2004, 11:05 AM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
There is a 3rd setting for maximum supersize image
|
| |
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.
|
| |
August 21st, 2004, 11:42 AM
|
#7 (permalink)
| | Photopost Developer Verified Customer
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)
|
| |
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.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 07:30 PM. | |