the only category_product_listing.php file that IH2 overrides is located in
admin/include/module ..
replace the corrupted file with original zencart php file , and upload the category_product_listing.php from IH2 , to correct folder.
hope this helps
the only category_product_listing.php file that IH2 overrides is located in
admin/include/module ..
replace the corrupted file with original zencart php file , and upload the category_product_listing.php from IH2 , to correct folder.
hope this helps
I want to set the BMZ_Cache folder to 644 when i'm not uploading files but the cache doesn't work on the site unless switched to CHMod 777. Is there a way to keep the Image Handler 2 and have the thing work with CHMod to 644 for security reasons ?
Set to 644 all the files on the site no longer are small so a 6kb file ends up being 80kb to 120kb depending on the file.
Hi. I have IH2 installed for ZC 1.3.8a.
With Lightbox installed (on but not functioning), when you click on the additional images, the correct image will display except it's not in a Lightbox. With Lightbox off or uninstalled, when you click on an additional image, the base image loads instead of the additional image. Does anyone know what's wrong?
In the URL address it shows the non-existent URL to a large image. I'm guessing since the image is non-existent, the base image loads.
Again, it works when Lightbox is installed and on (even if it's not working properly so images are NOT loading in a Lightbox).
Can anyone help me out??? Same problem I've been having...
The thumbnails generate for additional product images but when you click on them, it loads the image from the /large directory, which is non-existent, and therefore it displays the base image.
Did I do something wrong during the install? Please help! This is driving me nuts!
Admin > Tools > Image Handler 2. I see the image on image manager tab. but i haven't installed image handler.
so I went to admin tab > install image handler.. then there is error:
Fatal error: Call to undefined function install_image_handler() in /home/dreamlex/public_html/thepeephole/admin/image_handler.php on line 171.
One more - I went to "preview" tab and I got this error:
Fatal error: Call to undefined function getcachename() in /home/dreamlex/public_html/thepeephole/includes/classes/bmz_image_handler.class.php on line 258
Anyone have experienced this? Please kindly help and I will appreciate it. thank you
Hey all,
Can anyone clear the fog for me. As a new Zenner I am trying to understand these directions to install ImageHandler2.
Do I simply upload these files right into my Zencart forlder into the root directory? OR are there individual forlder locations they must go into???
Copy the following directories into your Zen Cart folder.
admin
bmz_cache
images
includes
Make sure that the bmz_cache folder’s permissions match those of your images folder (e.g 0777, 0775 or 0755).
Go to Admin → Tools → Image Handler 2 → Admin and click Install Image Handler
If you use a custom template, copy the contents of includes/templates/templates_custom into your custom template’s folder or merge the files if the target files have already been customized.
dreamlex,
Did you drop the IM2 files directly into the Zencart folder or did you install each of the install folders into different locations???
I'm standing up a development site to finally get upgraded to zc 1.8 (as well as deploy a new template), and I'm trying to get IH 2 up and running. My live cart is running as the web root of my domain www.banberryplace.com and my test site is at www.banberryplace.com/NewZen.
So after installing IH I go to review the images for various products and the 'default' and 'medium' images are red X, the large size is the correct image for the product.
In IH the file location for the large image is banberryplace.com\images and the default and medium point to banberryplace.com\bmz_cache but if I view the product details it points to banberrryplace.com\NewZen\images.
My admin configure.php is configured to reflect the /NewZen/ path...
I'll hunt around in the files, but if someone has a quick answer that would be cool![]()
Check your images file path.
You need to edit both configure file for your test cart.
You have to many slashes (//)
Your test cart:
http://www.banberryplace.com/NewZen/...HB05Yellow.jpg
remove the extra slash still get a error
http://www.banberryplace.com/NewZen/...HB05Yellow.jpg
remove "NewZen" works.
http://www.banberryplace.com/images/FSHB05Yellow.jpg
Also double check that you uploaded all the IH files.
You are missing one.
Thanks for your reply - I looked at both configure.php and they look right to me... What file is missing? I re-uploaded all of the files before posting, so it may be there now..
/NewZen/includes/configure.php:
/NewZen/admin/includes/configure.php:Code:/ Define the webserver and path parameters // HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com // HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com define('HTTP_SERVER', 'http://www.banberryplace.com/NewZen'); define('HTTPS_SERVER', 'https://www.banberryplace.com/NewZen'); // Use secure webserver for checkout procedure? define('ENABLE_SSL', 'false'); // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes! // * DIR_WS_* = Webserver directories (virtual/URL) // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder) define('DIR_WS_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/'); define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/'); define('DIR_WS_PHPBB', '/home2/banbecom/public_html/forum/'); // * DIR_FS_* = Filesystem directories (local/physical) //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/ define('DIR_FS_CATALOG', '/home2/banbecom/public_html/NewZen/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/'); define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS); define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
Code:*/ define('HTTP_SERVER', 'http://www.banberryplace.com/NewZen'); define('HTTPS_SERVER', 'https://www.banberryplace.com/NewZen'); define('HTTP_CATALOG_SERVER', 'http://www.banberryplace.com/NewZen'); define('HTTPS_CATALOG_SERVER', 'https://www.banberryplace.com/NewZen'); // Use secure webserver for catalog module and/or admin areas? define('ENABLE_SSL_CATALOG', 'false'); define('ENABLE_SSL_ADMIN', 'false'); // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes! // * DIR_WS_* = Webserver directories (virtual/URL) // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder) define('DIR_WS_ADMIN', '/admin/'); define('DIR_WS_CATALOG', '/'); define('DIR_WS_HTTPS_ADMIN', '/admin/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/'); define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/'); // * DIR_FS_* = Filesystem directories (local/physical) //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/ define('DIR_FS_ADMIN', '/home2/banbecom/public_html/NewZen/admin/'); define('DIR_FS_CATALOG', '/home2/banbecom/public_html/NewZen/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');