Installation Problem – "Template not found"

More
1 week 2 days ago #52138 by florian.bachofner-mayr
After installing the template, it can be assigned to pages, but when loading the frontend page, the following error occurs:
  1. Code:
                       if (!is_file(JPATH_THEMES . '/' . $this->template->parent . '/index.php')) {
  2. Code:
                            throw new \InvalidArgumentException(Text::sprintf('JERROR_COULD_NOT_FIND_TEMPLATE', $this->template->template));
  3. Code:
                        }
  4. Code:
                    }
  5. Code:
                } elseif (!is_file(JPATH_THEMES . '/' . $this->template->template . '/index.php')) {
  6. Code:
                    [b]throw new \InvalidArgumentException(Text::sprintf('JERROR_COULD_NOT_FIND_TEMPLATE', $this->template->template));[/b]
  7. Code:
                }
  8.  
  9. Code:
                if ($params) {
  10. Code:
                    return $this->template;
  11. Code:
                }
Any ideas?

Please Log in to join the conversation.

More
1 week 2 days ago #52139 by milos
Hello,

Did you install the template with demo data or template only? What's your Joomla and PHP version?

Please provide the link to your site. Also, you can provide superuser access for us to investigate it further. You can post this on the forum privately if you select a part of the text and click the "lock" (confidential) icon.

Regards,
Milos

Please Log in to join the conversation.

More
1 week 2 days ago #52140 by florian.bachofner-mayr
I've installed the template only as I'm trying to build a new layout for an existing website with a lot of content already in place. I've managed to publish the layout, but only if I'm setting "Rain" as the default template. Is there any way to assign only specific pages for test purposes?

Please Log in to join the conversation.

More
1 week 2 days ago #52141 by milos
Hello,

The Rain is a child template of the Sparky Framework template. So, try assigning the "sparky_framework" template instead of Rain.

Regards,
Milos

Please Log in to join the conversation.

More
1 week 2 days ago #52142 by milos
Actually, no. I just tested it now. You should assign the Rain template style to the menu item, not the Sparky Framework. I tested it on our test Joomla 6 installation, and after assigning the Rain template to a test menu item, the page that this menu item opens worked fine.

Regards,
Milos

Please Log in to join the conversation.

Time to create page: 0.281 seconds
Powered by Kunena Forum