I have converted a J15 module into its J16 version and first I noticed that the install takes significantly longer in J16 than in J15. But I also have a 'real' problem. One specific module contains some 260 icons (png images) and when I install it on J16, the install is aborted and the following error report is shown (when using system debug):
Code:
JDatabaseMySQL::query: 2006 - MySQL server has gone away SQL=SELECT `extension_id` FROM `jos_extensions` WHERE element = 'mod_modname' AND client_id = 0
Return to Control Panel
Call stack
# Function Location
1 JAdministrator->dispatch() /home/.../public_html/tester/joomla16/administrator/index.php:47
2 JComponentHelper::renderComponent() /home/.../public_html/tester/joomla16/administrator/includes/application.php:152
3 require_once() /home/.../public_html/tester/joomla16/libraries/joomla/application/component/helper.php:152
4 JController->execute() /home/.../public_html/tester/joomla16/administrator/components/com_installer/installer.php:24
5 InstallerControllerInstall->install() /home/.../public_html/tester/joomla16/libraries/joomla/application/component/controller.php:629
6 InstallerModelInstall->install() /home/.../public_html/tester/joomla16/administrator/components/com_installer/controllers/install.php:31
7 JInstaller->install() /home/.../public_html/tester/joomla16/administrator/components/com_installer/models/install.php:114
8 JInstallerModule->install() /home/.../public_html/tester/joomla16/libraries/joomla/installer/installer.php:390
9 JDatabaseMySQL->query() /home/.../public_html/tester/joomla16/libraries/joomla/installer/adapters/module.php:176
10 JError::raiseError() /home/.../public_html/tester/joomla16/libraries/joomla/database/database/mysql.php:208
11 JError::raise() /home/.../public_html/tester/joomla16/libraries/joomla/error/error.php:179
Looks like a MySQL time-out?
If I remove the icons from the install package, the module installs well (of course without the icons).
If I install the same module, with icons (and in J15 version) on a J15 site with the same ISP, the install goes well.
Extract of the J16 XML manifest file:
Code:
<files>
<filename module="mod_modulename">changelog.php</filename>
<filename module="mod_modulename">index.html</filename>
<filename module="mod_modulename">mod_modulename.php</filename>
<folder module="mod_modulename">icons/</folder>
</files>
As you can see, I am not specifying all file names inside the folder 'icons'. Again in J15 this works fine.
When I do specify every single file name, same problem (and no problem if there are not too many files).
My J16 setup: standard J16 install (RC1) in a sub-subdomain 'mydomain.nl/tester/joomla16' of my own domain. FTP layer activated (host 127.0.0.1, but tried it also with host= ftp.mydomain.nl, no difference).
What can I do?