|Posted: Mon, 2006-09-04 16:01|
The following information is required to get an answer:
Come across a strange problem, can't seem to find anything related in the FAQs or the forums.
I have enabled the "most viewed" and "latest added" links on the homepage of my gallery. If i am logged in, then both these links work, and return the appropriate/correct lists of photos.
However, if i am not logged in, then the "most viewed" link returns the following error "Fatal error: Maximum execution time of 45 seconds exceeded in <path to apache>\htdocs\gallery\stats.php on line 853", and comsumes 100% CPU for those 45 seconds. Clicking on the "latest added" link does return a list of photos, but its photos i uploaded on 30/01/2006, and nothing after that!
I have tried using a non-admin user, and it still works, so this problem only appears to manifest if you are a guest/not logged in.