OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Fatal error: Cannot redeclare class JPagination in (0 viewing) 
BookLibary Component Support
Go to bottom Favoured: 0
TOPIC: Fatal error: Cannot redeclare class JPagination in
#2365
hunjarmee (Visitor)
Fresh Boarder
Posts: 1
graphgraph
User Offline
Fatal error: Cannot redeclare class JPagination in 5 Years, 3 Months ago Karma: 0  
Thank you for such an wonderful extension. I successfully used it on Joomla 1.5 site and now want to try it on 1.6. But I have a trouble with BookLibrary 2.1 Basic Component for Joomla 1.6. I've just installed the component and created a menu "Categories", but... "Fatal error: Cannot redeclare class JPagination in /home/mysite/mysite.com/www/libraries/joomla/html/pagination.php on line 587". Help me, please, with this bug.
 
Logged Logged  
  The administrator has disabled public write access.
#2373
admin (Admin)
Admin
Posts: 4866
graph
User Online Now Click here to see the profile of this user
Re:Fatal error: Cannot redeclare class JPagination in 5 Years, 3 Months ago Karma: 61  
Hi,

I am sorry I can't reproduce that error.
Can you give admin access to your site, or to yours test site - with that we will can check where error.

Yours account details - you may send with help ordasoft contact form

Thanks,
OrdaSoft team
 
Logged Logged  
  The administrator has disabled public write access.
#2415
jager (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Re:Fatal error: Cannot redeclare class JPagination in 5 Years, 3 Months ago Karma: 0  
I have this error also when I use templates based on the T3 framework with my newly installed Joomla 1.7.0 instance. I was able to work around this by opening "libraries/joomla/html/pagination.php" and adding:
Code:


if (!class_exists('JPagination')) { 



at the beginning just before this line that declares JPagination:

Code:


class JPagination extends JObject



and adding a "}" to the very end of the file. This just traps the JPagination declaration in case it has already been declared, but I didn't look to see where the prior declaration was coming from. Hope this helps, I quite like your software.
 
Logged Logged  
 
Last Edit: 2011/08/31 02:38 By jager.
  The administrator has disabled public write access.
Go to top
What are you looking for?
Anti-spam question: How many eyes has a typical person?