oké cool, possible to list these in the Package Manager?Not yet. Inside of Package Manager is the next task.
If I'm right there was an issue in your makeinstall module (https://github.com/Nicola1971/makeinstall-plugin/pull/1).
- Does not work to install Templates (tpl)
- sometimes fails to install packages (blank page)
Quote from: banzai at Apr 28, 2014, 09:53 PMIf I'm right there was an issue in your makeinstall module (https://github.com/Nicola1971/makeinstall-plugin/pull/1).
- Does not work to install Templates (tpl)
« MODX Parse Error » MODX encountered the following error while attempting to parse the requested resource: « Execution of a query to the database failed - Unknown column 'name' in 'where clause' » SQL > SELECT * FROM `dev2domain_db`.`modx_site_templates` WHERE name = "START" Basic info REQUEST_URI : http://dev2.domain.com/manager/index.php?a=112&id=2 Manager action : 112 - Execute module Referer : http://dev2.domain.com/manager/index.php?a=112&id=2 User Agent : Mozilla/5.0 (Windows NT 6.3; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0 IP : xx.xx.x.xxx Benchmarks MySQL : 0.0036 s (7 Requests) PHP : 0.0773 s Total : 0.0808 s Memory : 2.84537887573 mb Backtrace 1 include_once() manager/index.php on line 560 2 evalModule() manager/processors/execute_module.processor.php on line 69 3 eval() manager/processors/execute_module.processor.php on line 82 4 include_once() manager/processors/execute_module.processor.php(82) : eval()'d code on line 13 5 PackageManager->run() assets/modules/packagemanager/packagemanager.module.php on line 35 6 PackageManager->getLocalPackages() assets/modules/packagemanager/classes/packagemanager.class.php on line 167 7 PackageManager->installLocalPackage() assets/modules/packagemanager/classes/packagemanager.class.php on line 379 8 PackageInstaller->installPackage() assets/modules/packagemanager/classes/packagemanager.class.php on line 683 9 PackageInstaller->installTemplates() assets/modules/packagemanager/classes/packageinstaller.class.php on line 71 10 PackageInstaller->installType() assets/modules/packagemanager/classes/packageinstaller.class.php on line 155 11 DBAPI->select() assets/modules/packagemanager/classes/packageinstaller.class.php on line 444 12 DBAPI->query() manager/includes/extenders/dbapi.mysql.class.inc.php on line 231
Quote from: banzai at Apr 28, 2014, 09:53 PM
Quote from: banzai at Apr 28, 2014, 09:53 PM
- sometimes fails to install packages (blank page)
If you send me this package (i.e. by mail or by dropbox) I could look for issues in the module or in the package.
Unknown column 'name'Templates don't have a 'name' column like other elements, they have a 'templatename' column.
if (count($docblock)) { $fields = array( 'templatename' => $docblock['name'], 'description' => (!empty($docblock['version']) ? '<strong>' . $docblock['version'] . '</strong> ' : '') . $docblock['description'], 'category' => $this->getCategoryId($docblock['modx_category']), 'content' => $code, 'locked' => (isset($docblock['lock_template']) && $docblock['lock_template']) ? 1 : 0 ); $result[] = $this->installType('templates', 'templatenamename', $fields, $docblock['version'], $backup); }
MODX encountered the following error while attempting to parse the requested resource: « Execution of a query to the database failed - Unknown column 'templatenamename' in 'where clause' » SQL > SELECT * FROM `dev2domain_db`.`modx_site_templates` WHERE templatenamename = ""
/** * MODxTestPackageManager * * <strong>1.0</strong> test install template with package manager * * @category template * @internal @modx_category Demo Content */ .......