Gallery wont work / probably miss-configured

Phoca Gallery - image gallery extension
LupoNRW
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 26 Jul 2015, 13:08

Gallery wont work / probably miss-configured

Post by LupoNRW »

Hello,

I want to have the following structured categories and i try since some days to find the correct way without real success.
Maybe there is someone out there who is able to risk a look at the config and give the key hint to get it running.

Image

You think this should be feasable, i know, it should :( Here the example how it should look's like
http://www.reisefotografien.eu/reisefotografien <- very easy

When i'll try this solution, only the sub categories which contains the images are visible.
When i'll change the config to see empty categories too, ALL the categories (main and sub) are shown on the start page where only the 1st level categories should be visible.

I think it's just an understanding issue.

You can find our website for the gallery here http://cms.antonius-teveren.de/index.php/bilder-galerie if you want.
Based on Joomla 3 and latest available Phoca Gallery release.

Thanks for any potential support.
BR, Lutz
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47870
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Gallery wont work / probably miss-configured

Post by Jan »

Hi, for this you need to customize the categories view, directly in code:

components/com_phocagallery/views/categories/tmpl/default.php

or you can override it with template.

In fact you will display categories view where you display categories and subcategories but you need to change the view to "tree" and remove the parent category name from subcategory - see similar posts in this forum - there were some guides for this.


Jan
If you find Phoca extensions useful, please support the project
LupoNRW
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 26 Jul 2015, 13:08

Re: Gallery wont work / probably miss-configured

Post by LupoNRW »

Hi Jan

The picture with the tree ist just to show you and other readers the category structure i have.
Lets have a look at the example link in my initial posting, reisefotografien website from benno.

Thats exactly what i want.

Startpage you see some categories. If you click on the categorie you will go deeper in this structure and see the next level categories and so on until finally the photos are there.

BR, Lutz
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9112
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Gallery wont work / probably miss-configured

Post by Benno »

Hi Lutz,
Die relevanten Settings sind:

backend --> Komponenten --> Phoca Gallery --> Kontrollzentrum --> Optionen --> Kategorien Ansicht -->
Kategorien Ansicht - Einstellungen -->
Unterkategorien anzeigen=Nein
Leere Kategorien anzeigen=Ja
Speichern & Schließen
backend --> Komponenten --> Phoca Gallery --> Kontrollzentrum --> Optionen --> Kategorie Ansicht -->
Kategorie Ansicht - Einstellungen -->
Kategorien in der Kategorie Ansicht anzeigen=Nein
Unterkategorien auf jeder Seite anzeigen=Erste Seite
Bild anstelle des Verzeichnis Icons=Ja
Speichern & Schließen

Freundliche Grüße,
Benno
LupoNRW
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 26 Jul 2015, 13:08

Re: Gallery wont work / probably miss-configured

Post by LupoNRW »

Hi Benno

thanks for the step by step description how the backend should be configured.
The configuration is done. The first page shows now the 1st level (main) categories.
In one of the 2nd level (sub) categories i've added now pictures.

By clicking on the start page to go one category deeper (2015) the page ended into 500 Interrnal Server Error.
Joomla error reporting is set on development. I can see no specific error, the website still shows the 500 internal server error.
Website is running at 1und1 and they only log access logs but no error logs :(

What could case the error ? All others are working properly.
The error will be generated only if i select one of the main categories which have attached sub categories.

Thanks
best regards, Lutz
LupoNRW
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 26 Jul 2015, 13:08

Re: Gallery wont work / probably miss-configured

Post by LupoNRW »

Just ad additional information...

The exactly same configuration on test web space with Phoca Gallery 4.1.2 works as expected... :(

http://www.trudeo.de/st.antonius/index. ... er-galerie
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9112
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Gallery wont work / probably miss-configured

Post by Benno »

Hi,
then try to update Phoca Gallery on your testspace to v4.2.0 If it then works as expected, the problem is your 1&1 web space, I think. :idea:
Try to compare the php versions... I have read in several joomla! forums, that PHP versions greater than 5.5 can cause Problems.

Kind regards,
Benno
LupoNRW
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 26 Jul 2015, 13:08

Re: Gallery wont work / probably miss-configured

Post by LupoNRW »

Update done and it still works on the test space with PHP 5.4.16.
On the "hot" space the PHP version is 5.5.26.
Just rolled back the PHP version on the "hot" space from 5.5.26 to 5.4.42 (nice that easy, only one single click!)
but what a f... same 500 Server Error. Now i'll try to roll back Phoca Gallery from 4.2 to 4.1 on the hot one just to test what's happening then.

Edit: and it works after downgrade. Strange thing.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47870
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Gallery wont work / probably miss-configured

Post by Jan »

Hi, 500 Server Error mostly means a php error - when you look into errorLog, which error do you get there? ( https://www.phoca.cz/documents/16-joomla ... rs-on-site )

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