Re: Image Handler 2 Support
Quote:
Originally Posted by
testuser
You too are getting the double definition?
I don't know what you mean by the double definition, please elaborate.
I tried the fix outlined above, so now the functions_bmz_image_handler.php reads:
$ihConf['dir']['admin'] = end(explode("/", trim( (($request_type == 'SSL') ? DIR_WS_HTTPS_ADMIN : DIR_WS_ADMIN) ,"/") ))."/";
I do see .jpg and .gif, no png.
Worse than that I get error message:
Warning: imagepng() [function.imagepng]: gd-png error: setjmp returns error condition in C:\xampp\htdocs\haiswigs\includes\classes\bmz_image_handler.class.php on line 646
Until a fix is found I am returning to old version of file, since this only affects admin preview.
Re: Problem with IH preview
Quote:
Originally Posted by
testuser
Version of GD Library?
GD Version bundled (2.0.34 compatible)
I think by double definition testuser is refering to the path to the broken images in the preview:
in my case:
/zencart/zencart/admin/images
whereas it should be more like:
/zencart/admin/images
so zencart has been added to the path twice instead of once...
Don't know what errors you've got so i can't help there.. But you have to be careful editing these files, I think even some white space in the wrong place could cause an error.
Re: Problem with IH preview
Quote:
Originally Posted by
taf
GD Version bundled (2.0.34 compatible)
I think by double definition testuser is refering to the path to the broken images in the preview:
in my case:
/zencart/zencart/admin/images
whereas it should be more like:
/zencart/admin/images
so zencart has been added to the path twice instead of once...
Don't know what errors you've got so i can't help there.. But you have to be careful editing these files, I think even some white space in the wrong place could cause an error.
Thanks for the help.
Regarding the file, I didn't type anything, just copy and paste.
How do I fix the path to the images?
In other words, what file should I edit to correct this "double definition"?
Re: Image Handler 2 Support
Quote:
Quote:
Originally Posted by
mrmarcus66 http://www.zen-cart.com/forum/images...s/viewpost.gif
I am still getting the error, it seems to be intermittant. Can anyone help me work out why I am getting this error. I am using zen-cart 1.3.0.1
Error!
Unable to determine the page link!
Function used:
zen_href_link('', '', 'NONSSL')
This error is to do with the file name itself...I tested it with file names without spaces and it worked. try it and let me know. tested on apache on windows and apache on linux. so basically change your file names so that it doesn't include any spaces and it will work 100%
Hope this helps you all
I've got this same problem but there's no spaces in the file name. Running on a Win Server, full permissions on the cache and images folder.
Any ideas?
Re: Problem with IH preview
Quote:
Originally Posted by
ckosloff
Thanks for the help.
Regarding the file, I didn't type anything, just copy and paste.
How do I fix the path to the images?
In other words, what file should I edit to correct this "double definition"?
Well I think you have to make sure that you deleted the original line of text there. And then make sure you are editing it with a plain text editor like notepad or something.
The fix that you tried was for the double definition. Like I said it worked for me apart from the PNG images.
If i find anything more I'll post it here.
Re: Problem with IH preview
Quote:
Originally Posted by
taf
Well I think you have to make sure that you deleted the original line of text there. And then make sure you are editing it with a plain text editor like notepad or something.
The fix that you tried was for the double definition. Like I said it worked for me apart from the PNG images.
If i find anything more I'll post it here.
Yes, of course I made sure, and I know about plain text.
What is strange is that I now have the modified file working (with the original file conveniently renamed in same folder), but nothing happens.
Same as before I have no previews, but there are no errors either, so I'll just leave it there until somebody comes up with a fix for this.
It's not a critical issue for me, so I'll test for a while and if anything goes awry, I'll go back to original.
Thanks.
Re: Problem with IH preview
Hi, ckosloff - my, oh my, you are a busy beaver!!
I too have had numerous problems with IH2, not least of which it seems to me that it is quite difficult to find an 'authoritative' working, up-to-date version. I think that it is about time someone grabbed this mod by the scruff of its neck and rationalised the versions, because, as far as I recall, the version on the Author's web site differs from that in the ZC downloads section!! (Of course, this won't mean that the AUthor's version will correspond with the version in the download section, but, perhaps, if the 'read me' file were to state in no uncertain terms, and truthfully, that the version there is THE definitive, accept no substitutes blah-di-blah...)
I have encountered the absent preview images problem, and have found that reverting to a 'clean' install of Zen Cart, followed by installation of IH2, checking to see that it works as expected - once it is up and working correctly, it can be followed by all the other mods that you require. Of course you need to pay careful attention when and where 'merges' are necessary. This process has fixed the problem for me - I know it's SUCH a pain, but do you really NEED the preview images?
As you know, I have NEVER been able to get the 'hover' to work, but that doesn't particularly bother me!
Re: Image Handler 2 Support
the original filename must not have any spaces in it or any brackets "(" ")". the problem, in my experience, occurs when the script trries to rename the new file name to the old one and add the varient number on the ed so its all to do with the old file name, ie the filename that the original product image is.