Pagination error

This topic has been marked as resolved.

hi, since installing shoppica theme i am now getting this error message in my error log ?

2012-03-24 21:22:12 – PHP Warning: Division by zero in /home/xxxxxx/public_html/system/library/pagination.php on line 32

regards

March 25, 2012 at 8:40 am #7482

Haven’t seen such warning in the Shoppica error log till now.
Can you assist us to determine when it is happening ? Clear your error log and then click on several pages (categories, products, search etc.) on your site. After every click, check the error log to see which page produces this error. Most likely this is produced by a listing of products with paging (click on the pager also).
If you find where the error is generated, we would investigate the issue. I checked all of the error logs and no such error appeared during the development of shoppica, so I can only guess what’s causing it.

March 26, 2012 at 3:58 pm #7510

hi thanks for the reply, maybe its a badbot triggering the error as i am also seeing this error too

PHP Notice: Undefined index: HTTP_USER_AGENT
will keep an eye on it, thanks for the reply
regards

March 26, 2012 at 4:24 pm #7515

You can check this post for the HTTP_USER_AGENT notice.

March 26, 2012 at 6:20 pm #7526

thanks for the info
regards

March 26, 2012 at 6:24 pm #7528
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.