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

Fatal error: Cannot redeclare class JPagination in

hunjarmee (Visitor)
Posts: 0
graphgraph
User Offline
Fatal error: Cannot redeclare class JPagination in 12 Years, 7 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.
admin (Admin)
Admin
Posts: 8230
graph
User Offline Click here to see the profile of this user
Re:Fatal error: Cannot redeclare class JPagination in 12 Years, 7 Months ago
Karma: 101  
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.
jager (Visitor)
Posts: 0
graphgraph
User Offline
Re:Fatal error: Cannot redeclare class JPagination in 12 Years, 7 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 .
The administrator has disabled public write access.
Go to top
»