Page 1 of 1

Solved-Phoca Gallery Theme installed - white page with error

Posted: 07 Feb 2012, 16:52
by Karmageddon82
GERMAN: see attempt of english translation below *g*

Hallo!

Ich habe Joomla 2.5.1 installiert.
Dazu die Phoca Gallery 3.1.4 mit diversen Plugins und Modulen für die Phoca Gallery.
Jetzt gefiel mir der default style nicht so richtig und ich habe von der Phoca website ein Theme für die Gallery runtergeladen,
und in der Gallery Komponente direkt installiert.

Seitdem wird keine joomla Seite wo eine Phoca Gallery drauf ist, angezeigt sondern nur folgender Text:

"
Fatal error: Call to undefined method plgContentPhocaGallery::escape() in /var/www/vhosts/pinto-for-pleasure.at/httpdocs/site/administrator/components/com_phocagallery/libraries/phocagallery/render/renderfront.php on line 895"

Das ist die Hauptseite, wo sich noch KEINE phoca gallery befindet: http://pinto-for-pleasure.at/site/
Das ist eine Unterseite, wo ich eine Phoca gallery in den Beitrag eingefügt habe. (auf der Hauptseite auf "Erste Schritte" klicken) http://pinto-for-pleasure.at/site/in...etting-started


Ich habe schon versucht das default wiederherzustellen, habe auch die default themes runtergeladen (gibt mehrere dort die als default angeführt sind), jedoch bleibt die seite immer noch weiß mit dem Fehler.


Muss ich die Gesamte Phoca Gallery inklusive aller dazugehöriger Plugins&Module deinstallieren und neu installieren?
Ich finde nämlich übern FTP keinen ordner wo konkret die Themes für die Phoca gallery gespeichert werden, sodass ich diese per ftp direkt ersetzen/löschen könnte.

Vielen Dank für eure Bemühungen

LG
Karma

****************************

Hello!

My joomla version is 2.5.1
My Phoca Gallery Component version is 3.1.4. with some Gallery Modules and Plugins installed.
i didnt like the default theme of phoca gallery, so I downloaded the "inverse"-Theme and the "Black"-Theme and installed it in the phoca gallery component theme section.

Since that I can not access any joomla pages where a phoca gallery or phoca gallery image is in an article.

Mainpage without a gallery: http://www.pinto-for-pleasure.at/site/
Page with an article containign a gallery: http://pinto-for-pleasure.at/site/index ... ng-started
You can access the article containing a gallery when you click on "Erste Schritte" at the mainpage http://www.pinto-for-pleasure.at/site/

This error text is displayed when I want to read an article with a gallery:

"
Fatal error: Call to undefined method plgContentPhocaGallery::escape() in /var/www/vhosts/pinto-for-pleasure.at/httpdocs/site/administrator/components/com_phocagallery/libraries/phocagallery/render/renderfront.php on line 895
"

I therefore downloaded the default themes from phoca website and tried to install the default versions, but it didnt work.
Still a white page with that error on every site containing a gallery.

Do I have to delete the complete phoca gallery and its modules and plugins?
Is it possible that one plugin or module is not compatible with my joomla or my gallery?
As far as I can see I downloaded and installed always the latest versions for joomla 2.5.
But maybe that is a mistake?
I also tried to find in my FTP the directory where the theme files are saved, so that I can delete them and add the default files manually, but I didnt find such a directory.

I would be happy if you could help me (maybe in german? my english is so bad sorry).

Best regards
Karma

Re: Phoca Gallery Theme installed - white page with error

Posted: 09 Feb 2012, 19:15
by Karmageddon82
No one a solution for me? I dont want to delete the whole gallery komponent and its plugins only due to a theme problem.
Please help me. :-)

Re: Phoca Gallery Theme installed - white page with error

Posted: 10 Feb 2012, 18:40
by Jan
Hi, themes do not include any script, so this should not be aligned with Themes.

This seems to be a bug in the Libraries Class, I will fix it for the next version.

For now just open the file:
administrator/components/com_phocagallery/libraries/phocagallery/render/renderfront.php

On line 895 just edit FROM:

Code: Select all

$this->escape(strip_tags($customCss))
To:

Code: Select all

strip_tags($customCss)
Jan

Re: Phoca Gallery Theme installed - white page with error

Posted: 10 Feb 2012, 22:05
by Karmageddon82
Thank you very much! Solved. Perfekt! Love it!

Re: Solved-Phoca Gallery Theme installed - white page with e

Posted: 10 Feb 2012, 22:29
by Jan
Ok

Re: Solved-Phoca Gallery Theme installed - white page with e

Posted: 19 Feb 2012, 15:07
by Jan
Fixed in 3.1.5

Jan