schnuti / files

Files uploaded
2 stars 0 forks source link

404 View not found [name, type, prefix]: about, html, Administrator #2

Open fontanil opened 4 years ago

fontanil commented 4 years ago

Hi schnuti, I just installed Jdump on the last 4beta1dev of Joomla! (nighty build 2020/02/23) and have that error when trying to display the component page. The plugin is enabled and at the first position of system plugins. Thanks, fontanil

schnuti commented 4 years ago

Hi @fontanil did you download the correct package from the code here? jdump_package_4_0_0_jbeta1.zip --- tested with Joomla 4.0 beta 1 I do not have the latest 4.0.0 beta1 - but only a few days old - and it still works as expected.

fontanil commented 4 years ago

Hi schnuti, Yes, I used "jdump_package_4_0_0_jbeta1.zip" Joomla! 4 beta1 dev updated this morning, on PHP 7.4.2

fontanil commented 4 years ago

| Function | Location

-- | -- | -- 1 | () | JROOT/libraries/src/MVC/Controller/BaseController.php:896 2 | Joomla\CMS\MVC\Controller\BaseController->getView() | JROOT/libraries/src/MVC/Controller/BaseController.php:639 3 | Joomla\CMS\MVC\Controller\BaseController->display() | JROOT/administrator/components/com_jdump/Controller/DisplayController.php:47

schnuti commented 4 years ago

In the Joomla beta version I have, there are some bugs e.g. when trying to set any component options I get a "Invalid controller class: display" Related or is this solved by now?
I'll test with a new Joomla instance in the next days.

fontanil commented 4 years ago

Thanks !

schnuti commented 4 years ago

I made a quick test sitting on my sofa with the Jooma 4.0 beta package from today 23/2. No problems installing the JDump package downloaded from here. It looks more like the first issue reported where this JDump was installed to a Joomla 3 version. Component Not Found Error I tested on a win10 with xampp and PHP 7.3.12 but that shouldn't be a reason.

fontanil commented 4 years ago

I tested yesterday J!dump on a website: it works. Only the main component page is not displayed with error 404 or opening administrator main page. I tried to understand why and did'nt find. :-(

denvarel commented 3 years ago

Hello. I use jdump_package_4_0_0_jbeta1.zip on PHP 7.3.16 MySQLi 10.1.44-MariaDB Joomla! 4.0.0-beta3 Beta [ Mañana ]

In backend the J!dump Component is redirected at index.php, no options are displayed. The JDump plugin is on and ordered as being first.

In frontend a popup is opened at the /index.php?option=com_jdump&view=tree&format=raw but the page is empty.

fontanil commented 3 years ago

Hi,

Always the same 404 error on remote sites (two different servers) with joomla! 4.0 RC2 and RC3dev (PHP 7.3 to 8.0).

404 View not found [name, type, prefix]: about, html, Administrator 3 | Joomla\CMS\MVC\Controller\BaseController->display() | JROOT/administrator/components/com_jdump/Controller/DisplayController.php:47

No error on a local server Wampserver 64 (PHP 7.3 to 8.0.7)

fontanil commented 3 years ago

Hi, Here the "factory->createView fails on my remote servers and succeds on my local Wampserver 64 protected function createView($name, $prefix = '', $type = '', $config = array()) { $config['paths'] = $this->paths['view']; return $this->factory->createView($name, $prefix, $type, $config); } The file is "libraries/src/MVC/Controller/BaseController.php"

fontanil commented 3 years ago

Hi, I found the problem. By renaming the file "HTMLView.php" to "HtmlView.php", the 404 error disappeared ( HTML <> Html on the remote servers ). We need to replace "setVar" by "set" in "RawView.php" line 48 Last problem: the "popup" button doesn't open a popup but replaces the about page by the results page.

I changed in HtmlView.php line 39 and have now a popup

$toolbar->LinkButton('link')
        ->text('Popup')
        ->url('index.php?option=com_jdump&view=tree&format=raw&closebutton=0');

by $toolbar->appendButton( 'Popup', 'default', 'Popup', "index.php?option=com_jdump&view=tree&format=raw&closebutton=0" );

kreativejuices commented 2 years ago

@fontanil Spot on my man! Thanks to everyone :)