I just installed Image handler 2 and it is looking for the sample images in a double directory.
The directory that my zencart is installed is called gomag...
In Admin/Tools/ImageHandler2/Preview : The Following occurs below:
I saw all the red x's for the sample .png's and .jpg.
I right clicked and went to properties and it says gomag/gomag/admin/images/ih-test.png
What could have gone wrong with the install?
Ivan 02, quoted below a fix:
i had the same problem.
It seems to be a minor issue since it only affects the admin-preview on a shop below the root directory.
You can solve by editing the file .../admin/includes/functions/extra_functions/functions_bmz_image_handler.php
Just replace:
Code:
$ihConf['dir']['admin'] = preg_replace('/^\/(.*)/', '$1', (($request_type == 'SSL') ? DIR_WS_HTTPS_ADMIN : DIR_WS_ADMIN));
with
Replacement Code:
$ihConf['dir']['admin'] = end(explode("/", trim( (($request_type == 'SSL') ? DIR_WS_HTTPS_ADMIN : DIR_WS_ADMIN) ,"/") ))."/";
Did not work at all.
Mark



