 | |  | | | ReviewPost Bug Reports Let us know about any post installation problems you are having with ReviewPost. |
June 19th, 2004, 11:23 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Jan 2003 Location: Gilbert, AZ
Posts: 394
| 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
|
| |
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.
|
| |
June 20th, 2004, 09:48 AM
|
#6 (permalink)
| | Guest |
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...
| |
| |
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?
|
| |
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?
|
| |
June 20th, 2004, 11:14 AM
|
#9 (permalink)
| | Photopost Developer Verified Customer
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.
Last edited by Chuck S; June 20th, 2004 at 11:20 AM.
|
| |
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.
|
| |
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
|
| |
June 20th, 2004, 03:27 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
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?
|
| |
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
|
| |
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.
|
| |
June 20th, 2004, 04:12 PM
|
#15 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,788
|
Rename this file to showproduct.php and try this one
|
| |
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.
|
| |
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
|
| |
June 28th, 2004, 10:08 PM
|
#18 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,788
|
The updated file is the proper fix
|
| |
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 |
| |
July 7th, 2004, 12:14 PM
|
#20 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2004
Posts: 10
|
With Firefox, Mozilla, Camino too |
| | |
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:54 AM. | |