Subcategories will come up with error "unknown template"

Phoca Gallery - image gallery extension
Germaine
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 27 Jul 2016, 13:50

Subcategories will come up with error "unknown template"

Post by Germaine »

Dear sir,

I have been struggling with 2 problems for a few days now. I can't seem to find the answers on the internet. Any help would be much appreciated.

I have created a Joomla menu with several menu items. One menu item is referring to a Parent category (being a List Of Categories (Categories View). This will show the subcategories. But when a subcategory is clicked and opened it will show the images correctly, but with the error "Het template voor deze weergave is niet beschikbaar. Neem contact op met de websitebeheerder.", meaning that it can't find the template being used.

As far as I know I didn't configure for another template to be used for subcategories and besides that....the template being sought for is just right there, the Joomla default Beez_20 template.

I've also discovered that the line "$doc->addStyleSheet('templates/'.$this->template.'/css/'.htmlspecialchars($color).'.css');" in the index.php file of the Beez_20 template generates the error "http://cbweb02/templates/beez_20/css/.css Failed to load resource: http://cbweb02/templates/beez_20/css/.css the server responded with a status of 404 (Not Found).

Any tips?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Subcategories will come up with error "unknown template"

Post by Jan »

Hi, which version of Phoca Gallery do you use?

What about cache? Does your site uses cache? What if it will be be cleared?

Anyway try to check if some menu item is not assigned to this template :idea:

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