Fatal error in Gallery - RC4

Phoca Gallery - image gallery extension
ozmart2007
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 11 Dec 2007, 07:09
Location: Australia

I had the gallery in

Post by ozmart2007 »

I had the gallery installed and working properly, then I upgraded to RC4.

Now when I try and add a new item I get this error:
Fatal error: Cannot redeclare class jfilteroutput in /var/virtual/web/user/html/libraries/joomla/filter/output.php on line 25

Jan, this is really urgent..can you advise? Many thks.

rgds
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

There is no more out

Post by Jan »

There is no more output.php in RC4, there are now:

- filteinput.php
- filteroutput.php in this folder.

I think, your RC4 version contain old files still.
If you find Phoca extensions useful, please support the project
ozmart2007
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 11 Dec 2007, 07:09
Location: Australia

So what do i do to f

Post by ozmart2007 »

So what do i do to fix it?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Download latest vers

Post by Jan »

Download latest version from Joomla.org and see if there are right files
If you find Phoca extensions useful, please support the project
ozmart2007
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 11 Dec 2007, 07:09
Location: Australia

OK, so after that sh

Post by ozmart2007 »

OK, so after that shud I then just rename the output.php file..maybe its just left over as it wasn't overwritten if replaced by the filteroutput.php file? Would appreciate some more information if possible please. Thks.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

There is no more inf

Post by Jan »

There is no more information. I seems like output.php file is an old file and you need filteroutput.php and filterinput.php file and Phoca Gallery will work... but I am not Joomla core developer, so I don't know why on some RC 4 there is a output.php file and on some RC 4 there are filteroutput.php and filterinput.php ???
If you find Phoca extensions useful, please support the project
ozmart2007
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 11 Dec 2007, 07:09
Location: Australia

Thks Jan. I think th

Post by ozmart2007 »

Thks Jan. I think that the old files were just there because they were not overwritten in the RC4 upgrade due to the change in file names.

I renamed output.php and input.php and now the gallery works again.

Thks for your help.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Great,

Post by Jan »

Great,
If you find Phoca extensions useful, please support the project
Post Reply