There are 3 bugs in admin/clone.php:
line 118
Quote:
if ($handle == opendir($path)) {
has to be replaced by
Quote:
if ($handle = opendir($path)) {
line 158
Quote:
if (!file_exists($imageBase = $GLOBALS['xoops']->path('modules/' . $dirname . '/assets/images/module_logo.png')) || !file_exists($font = $GLOBALS['xoops']->path('modules/' . $dirname . '/assets/images/VeraBd.ttf'))) {
has to be replaced by
Quote:
if (!file_exists($imageBase = $GLOBALS['xoops']->path('modules/' . $dirname . '/assets/images/logo.png')) || !file_exists($font = $GLOBALS['xoops']->path('modules/' . $dirname . '/assets/images/VeraBd.ttf'))) {
line 177
Quote:
imagepng($imageModule, $GLOBALS['xoops']->path('modules/' . $dirname . '/assets/images/module_logo.png'));
has to be replaced by
Quote:
imagepng($imageModule, $GLOBALS['xoops']->path('modules/' . $dirname . '/assets/images/logo.png'));
I created a pull request on github, I hope it works, it is everytime a challenge for me to work with github
Continuing tests