Re: Image Handler 2 Support
HI... I am new to Zen Cart, but seem to be getting on ok. I loaded up the files after correctly changing the template pages names, and the name of my admin. It does not appear that the IH has installed.
I see a "No Image Handler information found." When I clicked on the install link it goes to a blank page
http://www.awmiv.com/MY ADMIN DIRECTORY/image_handler.php?page=admin&action=ih_install
In reading the trouble shooting area of readme file.. I am not sure how or where to change the permissions in the two locations provided:
Set permissions in your images and bmz_cache folder to 755 (they need to be the same, for some webhosts you may have to set these permissions to 777).
When I look at a product in admin, I do see the pink circle with the "I" in it.
Just not sure what to do at this point... I would sure like to try it... I have only loaded one product in, and trying to get all straight before continuing.
Thank you in advance for any help or guidance. I hope I posted in the right place.
http://www.awmiv.com/index.php?main_...&products_id=1 is my only product so far... and I actually have images built in to the page itself, and was considering moving them, if I got IH working...
Re: Image Handler 2 Support
Quote:
Originally Posted by
DivaVocals
Most problems with installs can usually be traced to incorrect installs.. There are TWO YOUR_TEMPLATE folders in the includes directory which need to be renamed.. Make sure you have renamed them both.. One is in the includes/modules and the other in includes/templates.. I suspect you missed renaming one or both of these which is likely the root of your issues..
With that I'm back to my X-Mas celebrating..
I did rename them both. I still have the second problem. Can someone LOOK and see if there is a JS issue?
Re: Image Handler 2 Support
Quote:
Originally Posted by
donhohler
I did rename them both. I still have the second problem. Can someone LOOK and see if there is a JS issue?
If there was a javascript issue with Image Handler, the image hover would not work.. The Image Handler javascript's only job is to manage the image hover effects.
The issue you are having is with the main product image popup which uses and inline javascript to function. So no, I do not think there is a javascript conflict. However IF there is one (which again I do not think is the case), the author of the Google Analytics module might be in a better position to know if this is the case.
The additional product images and main product images have module overrides in the Image Handler fileset which manage those two functions. Your setup doesn't appear to have all the required IH2 code for the main product images. It appears that Image Handler is NOT managing your main product images. A look at your store still shows the default Zen Cart image URL for your main product image.
If I mouseover the main product image the URL shows as
javascript:popupWindow('http://yourdomain.com/index.php?main_page=popup_image&pID=27275')
When it should look something like ths:
http://yourdomain.com/bmz_cache/1/18...ge.414x550.jpg
Your product listing images appear to be managed by Image Handler.
http://www.madisontractor.com/bmz_ca...age.100x68.jpg
So it still appears that something is not installed correctly.. A javascript issue would not cause this behavior but, a missed or incorrectly merged IH2 file would.. The only other POSSIBLE option is that your template has code in the same files that Zen Cart overrides which is causing the issue.. (your template appears to be a Template Monster template -- you may not have purchased it from TM.. you may have purchased from one of their affiliates)
Re: Image Handler 2 Support
Quote:
Originally Posted by
DanielInFresno
HI... I am new to Zen Cart, but seem to be getting on ok. I loaded up the files after correctly changing the template pages names, and the name of my admin. It does not appear that the IH has installed.
I see a "No Image Handler information found." When I clicked on the install link it goes to a blank page
http://www.awmiv.com/MY ADMIN DIRECTORY/image_handler.php?page=admin&action=ih_install
Blank pages or part blank pages usually indicates an incorrect install.
https://www.zen-cart.com/tutorials/index.php?article=82
This tutorial explains how to enable error checking and generate the log files to track down errors.. If you are using the latest version of Zen Cart error checking is built in and you will need to post the contents of the error log file that is generated when you attempt to access IH2 and get the blank page. (error logs can be found in your cache folder)
Quote:
Originally Posted by
DanielInFresno
In reading the trouble shooting area of readme file.. I am not sure how or where to change the permissions in the two locations provided:
Set permissions in your images and bmz_cache folder to 755 (they need to be the same, for some webhosts you may have to set these permissions to 777).
Every webhosts site management tools are different, and so we cannot provide more specific instructions on changing file/folder permissions. If you do not know how to set file permissions on your site, you'll need to have your webhost guide you through how to do this. Most webhosts have FAQs which may help guide you through this..
Quote:
Originally Posted by
DanielInFresno
When I look at a product in admin, I do see the pink circle with the "I" in it.
Because IH2 is not installed..
Re: Image Handler 2 Support
bmz is 755 and images is 777... i cant seem to change them.. but probably can have it done...
Question: does that affect the actual install of the IH2? And to confirm that I DO see the pink circle... that means it is NOT installed?
Also: The error debugging tool I added to the local dir... shows up on the live site.. but not behind the scenes when I try to click the install link in admin... it just goes to blank page... no error shows.
Thank you!
Re: Image Handler 2 Support
Quote:
Originally Posted by
DanielInFresno
bmz is 755 and images is 777... i cant seem to change them.. but probably can have it done...
Again.. Please check with your host for instructions on changing file/folder permissions
Quote:
Originally Posted by
DanielInFresno
Question: does that affect the actual install of the IH2?
May not affect install (unless your entire admin is set to 444 permissions) but it could affect functionality.
Quote:
Originally Posted by
DanielInFresno
And to confirm that I DO see the pink circle... that means it is NOT installed?
It seems PARTIALLY installed.. I mis-read your previous post (meaning I thought you said you did NOT see the order list icon)
Quote:
Originally Posted by
DanielInFresno
Also: The error debugging tool I added to the local dir... shows up on the live site.. but not behind the scenes when I try to click the install link in admin... it just goes to blank page... no error shows.
Please re-read the instructions for using the error logging tool again.. If you are using is correctly your store will generate an error log file. For Zen Cart v1.3.9 this is built in and the log files will be found in your store's cache folder.. (log files will be generated whenever the store kicks off an error - like when you get a blank page) Need to know what this error message is to know why you are getting the blank page when you click the IH2 install link.. In case it's not clear (and the FAQ for the error logging tool does cover this) the error message is IN THE LOG FILE...
From the FAQ
Quote:
2. Have you created any syntax errors in your customizations?
A PHP syntax error will very often result in a blank screen, or a partially-blank screen.
When this happens, there is often also an entry in the server's errorlog, which you can often view via your hosting control panel area.
a) Turn on debug logging to store errors to a log file
Install the
Debug Error-Logging Utility (note: this is
ALREADY installed in v1.3.9x)
One way to identify what PHP errors are happening, especially if you have no access to server errorlogs, is to use the
Debug Error-Logging Tool from our downloads area. It's a simple install, and can expose the source of your problems fairly quickly.
Click {here} to download it. (note: it's already installed in v1.3.9x)
If you're dealing with blank admin pages, for the upload destination, substitute the /admin/includes/extra_configures folder instead of /includes/extra_configures where mentioned in the instructions.
The debug tool will create files in your /cache/ folder, named "myDebug-xxxxxx.log" (or "myDebug-adm-xxxxxxx.log" if they are from the admin side).
You'll want to read the contents of these files to see what the actual PHP errors are.
Then search this FAQ area for your error message and/or see the "Dealing with Error Messages" section, below ...
Re: Image Handler 2 Support
For some reason... I am just not seeing any error files - none were generated.... I have seen them before in the cache folder... not this time... SO...
I took the advice of your posts, re-read tutorial... re-downloaded the program... re FTP up, and I clicked on install... viola.. there it is... installed.
Now I will try it out... I just hope I can have my images in different folders... we have 2500 products, so I do a dir for every manufacturer.
I hope I do not have to rename them all... i have a normal .jpg for large, and a _sm.jpg for small.
Holiday blessings to you all, and thank you for your help!
Re: Image Handler 2 Support
As I often state, issues with installs are GENERALLY caused by erroneous installs.. Whether that's because a file was missed, a folder was not properly renamed, or corrupted in a download or FTP upload.. It always goes BACK to the install.. **sigh**
Good luck.. PLEASE read the readme file and this support thread to figure out the BEST way to configure IH2 to convert your existing images.. Many of the most commonly asked questions are indeed covered here and in the readme..
Quote:
Originally Posted by
DanielInFresno
For some reason... I am just not seeing any error files - none were generated.... I have seen them before in the cache folder... not this time... SO...
I took the advice of your posts, re-read tutorial... re-downloaded the program... re FTP up, and I clicked on install... viola.. there it is... installed.
Now I will try it out... I just hope I can have my images in different folders... we have 2500 products, so I do a dir for every manufacturer.
I hope I do not have to rename them all... i have a normal .jpg for large, and a _sm.jpg for small.
Holiday blessings to you all, and thank you for your help!
Re: Image Handler 2 Support
Quote:
Originally Posted by
DivaVocals
If there was a javascript issue with Image Handler, the image hover would not work.. The Image Handler javascript's only job is to manage the image hover effects.
The issue you are having is with the main product image popup which uses and inline javascript to function. So no, I do not think there is a javascript conflict. However IF there is one (which again I do not think is the case), the author of the Google Analytics module might be in a better position to know if this is the case.
The additional product images and main product images have module overrides in the Image Handler fileset which manage those two functions. Your setup doesn't appear to have all the required IH2 code for the main product images. It appears that Image Handler is NOT managing your main product images. A look at your store still shows the default Zen Cart image URL for your main product image.
If I mouseover the main product image the URL shows as
javascript
:popupWindow('http://yourdomain.com/index.php?main_page=popup_image&pID=27275')
When it should look something like ths:
http://yourdomain.com/bmz_cache/1/18...ge.414x550.jpg
Your product listing images appear to be managed by Image Handler.
http://www.madisontractor.com/bmz_ca...age.100x68.jpg
So it still appears that something is not installed correctly.. A javascript issue would not cause this behavior but, a missed or incorrectly merged IH2 file would.. The only other POSSIBLE option is that your template has code in the same files that Zen Cart overrides which is causing the issue.. (your template appears to be a Template Monster template -- you may not have purchased it from TM.. you may have purchased from one of their affiliates)
I have set Google analytics module to use ga.js instead of asynchronous and the main product image now uses the correct code. So, everything is installed correctly. I have triple checked every file. Something with that module is interfering with Image Handler.
Re: Image Handler 2 Support
Quote:
Originally Posted by
donhohler
I have set Google analytics module to use ga.js instead of asynchronous and the main product image now uses the correct code. So, everything is installed correctly. I have triple checked every file. Something with that module is interfering with Image Handler.
Sounds like you have a workable solution.. I'd like to get to the bottom of this though..
Check in with the Simple Google Analytics author.. He's SUPER nice.. Perhaps he can provide some insight or a hint as to what MIGHT be in conflict with the new asynchronous code.. I don't have that module installed on my test store, and the only store I have Simple Google Analytics installed on uses the version RIGHT before the current one with the new asynchronous code.. If there is an issue with it, then there will be others reporting the same conflict..
Also though the main product image pop-up works now, your main product images still are not being managed by IH2.. The main product images are not being cached by IH2.. (which leads me to the possibility that your template may have code which is over-writing IH2..)