- Posts: 2
- Thank you received: 0
Installation Problem – "Template not found"
-
florian.bachofner-mayr
Active member -
Topic Author
- Offline
- New Member
-
Less
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:
-
Code:if (!is_file(JPATH_THEMES . '/' . $this->template->parent . '/index.php')) {
-
Code:throw new \InvalidArgumentException(Text::sprintf('JERROR_COULD_NOT_FIND_TEMPLATE', $this->template->template));
-
Code:}
-
Code:}
-
Code:} elseif (!is_file(JPATH_THEMES . '/' . $this->template->template . '/index.php')) {
-
Code:[b]throw new \InvalidArgumentException(Text::sprintf('JERROR_COULD_NOT_FIND_TEMPLATE', $this->template->template));[/b]
-
Code:}
-
Code:if ($params) {
-
Code:return $this->template;
-
Code:}
Please Log in to join the conversation.
1 week 2 days ago #52139
by milos
Replied by milos on topic Installation Problem – "Template not found"
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
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.
-
florian.bachofner-mayr
Active member -
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
1 week 2 days ago #52140
by florian.bachofner-mayr
Replied by florian.bachofner-mayr on topic Installation Problem – "Template not found"
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.
1 week 2 days ago #52141
by milos
Replied by milos on topic Installation Problem – "Template not found"
Hello,
The Rain is a child template of the Sparky Framework template. So, try assigning the "sparky_framework" template instead of Rain.
Regards,
Milos
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.
1 week 2 days ago #52142
by milos
Replied by milos on topic Installation Problem – "Template not found"
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
Regards,
Milos
Please Log in to join the conversation.
Time to create page: 0.281 seconds