I'm installing a custom component. The install package had some errors in it, which should throw warnings in Installer. However, I discovered that when 'Debug Site' is on in Global Site Configuration, the errors are suppressed by the following code in libraries/joomla/installer/installer.php starting at line 385:
$conf = JFactory::getConfig();
$debug = $conf->get('debug');
if ($debug)
{
throw new RuntimeException('Installation unexpectedly terminated: ' . $msg, 500);
}
In my case, the $msg variable is empty, so this throws a rather meaningless error. If 'Debug Site' is off, the site shows some meaningful warnings.
For information, here is the version I'm running:
Joomla! Version Joomla! 3.0.2 Stable [ Ember ] 08-November-2012 14:00 GMT
Joomla! Platform Version Joomla Platform 12.2.0 Stable [ Neil Armstrong ] 21-September-2012 00:00 GMT
Thanks again for posting this, Ben! Can you send a pull request? If you need to learn how, check out this tutorial:
http://docs.joomla.org/Git_for_Coders
I also created a tracker item for this issue:
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=30847
While we’re transitioning to a new integrated tracker, the JoomlaCode tracker is where we do most of Joomla's bug fixing. You can find out more about the process at:
http://docs.joomla.org/Filing_bugs_and_issues
Let me know if you have any questions and I'll be glad to answer.
Thanks again, Ben!
On second though, for organization purposes, I'm going to close this item, since we have the above JoomlaCode Tracker Item. If and when you submit a pull request, please reference the JoomlaCode Tracker Item URL. Thanks!
| Labels |
Added:
?
Removed: ? |
||
| Build | ⇒ | staging | |
Thanks for reporting this, Ben! Could you send a pull request for it?