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 June 19th, 2004, 11:23 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jan 2003
Location: Gilbert, AZ
Posts: 394
Exclamation 2.8/vb3 : Division by zero

Clicked on the last category in the breadcrumb. took me there, but no products and got this error.

Warning: Division by zero in /home/civic/public_html/parts_reviews/pp-inc.php on line 876
7thgencivic.com is offline   Reply With Quote
Old June 19th, 2004, 11:26 PM   #2 (permalink)
Member
Verified Customer
 
Join Date: Jan 2003
Location: Gilbert, AZ
Posts: 394
here is the link

http://www.7thgencivic.com/parts_rev.../cat/15/page/1

then click on Body Parts in breadcrumb
7thgencivic.com is offline   Reply With Quote
Old June 20th, 2004, 08:13 AM   #3 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,788
Okay displays correctly to me brings me to this page

http://www.7thgencivic.com/parts_rev.../cat/15/page/1
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old June 20th, 2004, 09:37 AM   #4 (permalink)
Member
Verified Customer
 
Join Date: Jan 2003
Location: Gilbert, AZ
Posts: 394
right, but with no products and that error displaying.
7thgencivic.com is offline   Reply With Quote
Old June 20th, 2004, 09:45 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jan 2003
Location: Gilbert, AZ
Posts: 394
oh crap.
it happens on any category i click on on the main page!

http://www.7thgencivic.com/parts_reviews/
7thgencivic.com is offline   Reply With Quote
Old June 20th, 2004, 09:48 AM   #6 (permalink)
donb
Guest
 
Posts: n/a
What's your line 876?

I show "$thestart = $page-5;" which doesn't have any division. Your site seems to be working fine for me...
  Reply With Quote
Old June 20th, 2004, 09:54 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Jan 2003
Location: Gilbert, AZ
Posts: 394
line 876 of pp-inc.php is

$pages = ($rowcnt/$perpage);

i don't know how u can say it's working fine.

if u click on this link
http://www.7thgencivic.com/parts_rev...p/cat/15/page/

u get a full page of products and no error under the main menu?
7thgencivic.com is offline   Reply With Quote
Old June 20th, 2004, 09:56 AM   #8 (permalink)
Member
Verified Customer
 
Join Date: Jan 2003
Location: Gilbert, AZ
Posts: 394
the line u quoted is 901 for me? why so much diff?
7thgencivic.com is offline   Reply With Quote
Old June 20th, 2004, 11:14 AM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,788
I would double check that you have uploaded all the proper files although like Don stated and I did before as well your site views fine to us.

I have clicked breadcrumb after breadcrumb as well as products etc and everything comes up for me

Line 876 is this in pp-inc.php in the current reviewpost build at least from what I am seeing

$pages = ($rowcnt/$perpage);

But as I stated above. I have been all up and down your site and every link you posted plus every link I click on your site comes up fine.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; June 20th, 2004 at 11:20 AM.
Chuck S is offline   Reply With Quote
Old June 20th, 2004, 03:06 PM   #10 (permalink)
Member
Verified Customer
 
Join Date: Jan 2003
Location: Gilbert, AZ
Posts: 394
this is so weird. on my wife's puter it works fine too. i even logged out and deleted cookies and it still errors for me in IE. Opera no error tho.
Attached Images
File Type: jpg rp_error.jpg (61.7 KB, 36 views)
7thgencivic.com is offline   Reply With Quote
Old June 20th, 2004, 03:11 PM   #11 (permalink)
Member
Verified Customer
 
Join Date: Jan 2003
Location: Gilbert, AZ
Posts: 394
hmm...if i change the value of per page in the dropdown, it comes up fine
7thgencivic.com is offline   Reply With Quote
Old June 20th, 2004, 03:27 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,788
Well I have viewed your site with IE Mozilla and Opera and all comes up fine for me.

What version of IE on the troubled computer?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old June 20th, 2004, 03:31 PM   #13 (permalink)
Member
Verified Customer
 
Join Date: Jan 2003
Location: Gilbert, AZ
Posts: 394
same as my wife's 6.0.2800

shouldn't matter, it's a code issue. For some reason or another $perpage doesn't exist
7thgencivic.com is offline   Reply With Quote
Old June 20th, 2004, 03:38 PM   #14 (permalink)
Member
Verified Customer
 
Join Date: Jan 2003
Location: Gilbert, AZ
Posts: 394
i did a dirty fix b4 that line
Code:
Content visible to verified customers only.
7thgencivic.com is offline   Reply With Quote
Old June 20th, 2004, 04:12 PM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,788
Rename this file to showproduct.php and try this one
Attached Files
File Type: txt showproduct.txt (30.6 KB, 5 views)
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old June 24th, 2004, 07:40 PM   #16 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2004
Posts: 10
Same here.
And the new file changes nothing
I had to delete a cookie (rpperpage, I guess) to fix it.
MacGeneration is offline   Reply With Quote
Old June 28th, 2004, 09:16 PM   #17 (permalink)
Member
Verified Customer
 
Join Date: Jan 2003
Location: Gilbert, AZ
Posts: 394
if it happens again, just do my fix
7thgencivic.com is offline   Reply With Quote
Old June 28th, 2004, 10:08 PM   #18 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,788
The updated file is the proper fix
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old July 7th, 2004, 12:09 PM   #19 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2004
Posts: 10
Quote:
Originally Posted by omegatron
The updated file is the proper fix
Sadly, still the same problem with the new file. It happens with Safari 1.2, not with IE.
And 60% of our users use Safari
MacGeneration is offline   Reply With Quote
Old July 7th, 2004, 12:14 PM   #20 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2004
Posts: 10
With Firefox, Mozilla, Camino too
MacGeneration 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 10:32 AM
Division by zero nolnet ReviewPost Installation & Upgrades 0 January 4th, 2005 10:30 PM
Division by 0 - image-inc.php Bryan Ex ReviewPost Bug Reports 7 August 21st, 2004 12:51 PM


All times are GMT -5. The time now is 07:54 AM.

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