Hi,
The file that Nicolas sent you is from HikaShop 2.5.0 where the imports has been moved.
I guess that he just forgot that point.
About your error, it looks like you have twice the path in the file names.
It should come from a different configuration of the "DIR_IMAGE" from MijoShop than in our tests.
The best at this moment will be to replace
if (defined('DIR_IMAGE'))
$this->copyImgDir = HIKASHOP_ROOT.DIR_IMAGE;
else
$this->copyImgDir = HIKASHOP_ROOT.'components/com_mijoshop/opencart/image/';
if (defined('DIR_IMAGE'))
$this->copyCatImgDir = HIKASHOP_ROOT.DIR_IMAGE;
else
$this->copyCatImgDir = HIKASHOP_ROOT.'components/com_mijoshop/opencart/image/';
By
if (defined('DIR_IMAGE')) {
if(strpos(DIR_IMAGE, HIKASHOP_ROOT) === false)
$this->copyImgDir = HIKASHOP_ROOT.DIR_IMAGE;
else
$this->copyImgDir = DIR_IMAGE;
} else
$this->copyImgDir = HIKASHOP_ROOT.'components/com_mijoshop/opencart/image/';
if (defined('DIR_IMAGE')) {
if(strpos(DIR_IMAGE, HIKASHOP_ROOT) === false)
$this->copyCatImgDir = HIKASHOP_ROOT.DIR_IMAGE;
else
$this->copyCatImgDir = DIR_IMAGE;
} else
$this->copyCatImgDir = HIKASHOP_ROOT.'components/com_mijoshop/opencart/image/';
To avoid the issue.
Even if we made a lot of tests with the import ; we can't know all kind of configuration that store will have.
Configuration generally just have "relative" path and not absolute one ; so you currently have some specific an "unusual" configuration data.
Regards,