Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 2122

Administration Joomla! 4.x • Error 500 Layout default not found

$
0
0
Hi
I have a local J4 site on my PC which is working fine, and on it I have a component called com_blphotos. There is also a site on the net called J4 with the same config.
They are both running J4.4.4
I just installed the latest version of the component on my PC (which of course does not have cPanel) and everything works well
So I installed it on the net site and now most admin pages give the error mentioned above. In fact the only admin item that doesn't is the config for my component.
I have looked in the code and the error comes from libraries/src/MVC/View/HtmlView.php.
I put the following line
print_r($this->_path['template']);exit;
after line 393
$this->_template = Path::find($this->_path['template'], $filetofind);
and this gives me
Array ( [0] => /home/birdli7/j4/administrator/templates/atum/html/com_cpanel/cpanel/ [1] => /home/birdli7/j4/administrator/components/com_blphotos/views/cpanel/ )

So it looks as it is trying to load a cPanel specific view from my component - which does not exist and has never done so.
Naturally with no admin access I can't really do much diagnosis, so any thoughts welcomed

Statistics: Posted by MrDog — Tue Apr 30, 2024 5:02 am



Viewing all articles
Browse latest Browse all 2122

Trending Articles