Error on Plug in Site

Login or register to post comments
2 replies [Last post]
profnotime's picture
Offline
Joined: 01/13/2009

I got this error when i tried navigating to the plug in manager page on the example site.

Remote access to "/assets/_core/php/_devtools/plugin_manager.php" has been disabled.
To allow remote access to this script, set the ALLOW_REMOTE_ADMIN constant to TRUE
or to "62.173.42.201" in "configuration.inc.php".
Exception Type: QRemoteAdminDeniedException

Source File: /var/www/examples.qcu.be/htdocs/assets/_core/php/_devtools/plugin_manager.php Line: 14

Line 9: protected $dlgUpload;
Line 10:
Line 11: private $objPluginArray;
Line 12:
Line 13: protected function Form_Run() {
Line 14: QApplication::CheckRemoteAdmin();
Line 15: }
Line 16:
Line 17: protected function Form_Create() {
Line 18: $this->dtgPlugins_Create();
Line 19: $this->btnNewPlugin_Create();

Call Stack:

#0 /var/www/examples.qcu.be/htdocs/assets/_core/php/_devtools/plugin_manager.php(14): QApplicationBase::CheckRemoteAdmin()
#1 /var/www/examples.qcu.be/htdocs/includes/qcubed/_core/base_controls/QFormBase.class.php(275): PluginManagerForm->Form_Run()
#2 /var/www/examples.qcu.be/htdocs/assets/_core/php/_devtools/plugin_manager.php(105): QFormBase::Run('PluginManagerFo...')
#3 {main}

alex94040's picture
Offline
Joined: 11/06/2008

That's not an error, that's by design :-) We don't want people messing with the plugin site externally, that would be a security hole. When you are installing plugins, you are executing PHP code, and it's really easy to inject something that messes with the server. As a result, only the core contributors have access to the plugin manager on the plugins site. If you want to explore the plugin manager, you'll have to check out the SVN 1.1 branch and try it on your local box.

profnotime's picture
Offline
Joined: 01/13/2009

Ok oh! Thanks for clearing me out on that!