Re: Image Handler 2 Support
Suddenly when I try to add an additional image I get this error:
File exists! Please alter the base name or suffix.
I'm using zc136 and ih2.
It has beed working perfectly until today and this problem does not happen on all products.
Any clues to what is wrong would be appreciated.
Re: Image Handler 2 Support
Normally, I never get involved in petty dodge ball games, but this time I just Can't resist. Judging from your post, "Putzmeister" is an appropriate handle for you to use.
Quote:
There are more than one admin directory, more than one images directory and more than one includes directory in my Zen Cart folder.
That's a new one on me too, and I have 3 HIGHLY modified Zen sites online.
Quote:
It's actually incredibly simple.
This is So true kbalona! Especially if you read the threads (this one in particular) and ask questions instead of "shooting off at the keyboard".
No one cares that you
Quote:
but I engineer IBM390 enterprise-wide systems that transact billions of dollars daily
. We just care that you are able to get your cart up and running, and most everyone in the Zen Community is Happy to help. Try asking the right questions instead of snipe hunting and maybe, just maybe, your "bag" will fill up with the right answers instead of those illusive little snipes that seem to be eluding you.
If you really Do have 2 of everything, the best thing you can do is delete it all, re-upload Zen Cart 1.3.7 (only once) re-install and try again.
But, as said before, it is unlikely you have two of anything in the same directories as 2 files or folders with the same name cannot occupy the same space at the same time.
Re: Image Handler 2 Support
Quote:
Originally Posted by
kbalona
by the way, image handler is definitely worth it, and I don't know why more ZC stores don't use it, it considerably enhances the store.
At the risk of being chided ;) ...or why some form of it isn't part of core. The lack of even basic image handling is big missing part in an otherwise really sophisticated commerce solution.
Re: Image Handler 2 Support
IH2 is great stuff. At first I didn't quite understand how it worked and even fretted that I was missing steps until I refreshed the site and things looked mighty pretty. Major kudos! :)
After upgrading to 1.3.7, I've run into a rather odd snag. On the admin side, the png/jpg/gif preview images don't work and upon checking the img locations, it points to /shop/shop/admin/images for some reason. Perhaps when I overwrote a file in admin this happened, but since my reinstallation/upgrade is still fairly early I couldn't imagine something major getting knocked out of whack.
I tried editing imagehandler.php (where the preview image code info was) and no dice. The weird part was that when I edited the file, I received the following errors:
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/"user"/public_html/shop/admin/image_handler.php:1) in /home/"user"/public_html/shop/includes/functions/sessions.php on line 108
Warning: Cannot modify header information - headers already sent by (output started at /home/"user"/public_html/shop/admin/image_handler.php:1) in /home/"user"/public_html/shop/admin/includes/init_includes/init_templates.php on line 36
What's weirder is that if I do nothing, or edit something then undo and save the file (effectively negating the changes made but nevertheless forcing the file to be overwritten on the ftp) I still get this error. The only fix was to re-upload an unblemished/new version of said file.
Did I just stumble upon some magic error? Is my lack of sleep causing me to secretly type invisible php code that is mucking things up? Oh no! @_@;
On a lighter note, everything user side looks marvelous. :)
Chris
Re: Image Handler 2 Support
Quote:
Originally Posted by
kusogaki
What's weirder is that if I do nothing, or edit something then undo and save the file (effectively negating the changes made but nevertheless forcing the file to be overwritten on the ftp) I still get this error. The only fix was to re-upload an unblemished/new version of said file.
Did I just stumble upon some magic error? Is my lack of sleep causing me to secretly type invisible php code that is mucking things up? Oh no! @_@;
That error is almost always a return or some white space after the closing ?> in the file. Some files are quite sensitive to this. I suspect your editor is forcing a return at the end of the file when saving. In my editor (BBEdit) this is something I can shut off in the preferences.
Re: Image Handler 2 Support
Ah yes, the classic whitespace error. I remember this from programming classes during my univ days... @_@;
I normally use vim for all my file editing, but sometimes I like to do quick edits via my FTP program (FileZilla) and I currently have it set up to only pull up notepad for editing. And we know how bad notepad is...
Well, that's one problem cleared. Now to figure out this bizarre duplication of the shop name in the image links...
Thanks! :)
Chris
Re: Image Handler 2 Support
Hi Gang!
I hate to have to ask, but after exhaustive searches, I can't seem to find the answer to this question.
I've just downloaded a fresh copy of ZenCart, and before I even installed it, I decided to intergrate the IH2 extension folders.
The install went well, and the index.php comes up as expected.
However when I attempt to go into admin, I get the following message:
Warning: require_once(C:/wamp/www/mySite/includes/extra_configures/bmz_image_handler_conf.php) [function.require-once]: failed to open stream: No such file or directory in C:\wamp\www\mySite\admin\includes\extra_configures\bmz_image_handler_conf.php on line 12
Fatal error: require_once() [function.require]: Failed opening required 'C:/wamp/www/mySite/includes/extra_configures/bmz_image_handler_conf.php' (include_path='.;C:\php5\pear') in C:\wamp\www\mySite\admin\includes\extra_configures\bmz_image_handler_conf.php on line 12
Based on what I see in the windows explorer, this file clearly exists; I'm at my wits end and would like to resolve this soon. Please help.
Re: Image Handler 2 Support
From the readme:
Quote:
Make sure that the "bmz_cache" folder's permissions match those of your
images folder (e.g 0777, 0775 or 0755).
Have you checked that?
Re: Image Handler 2 Support
hi,
this may have been asked before.
my small image sizes are set to 172 X172!
I don't want the small images for my additional images on the product info to be as large as that. I want them to be max 150px wide. is there any way for me to just target additional images?
Re: Image Handler 2 Support
Thank you for your help, Kbalona. I appreciate it.
Please forgive my ignorance in the matter, but this is important.
I may be going about this the wrong way.
The four folders that are part of the IH2 download:
- admin
- bmz_cache
- images
- includes
each of which contain folders and files within them. Simply copying these top level folders into the Zen Cart root folder did nothing to disseminate the contents of these folders to their rightful places.
The image handler didn't appear in my admin/tool menu as was suggested.
I suspect that the actually process is a little more involved than the ih-doc suggests. Do I have to manually peel open the directory tree and go thru the file items placing them into the Zen Cart folders where it seems they might belong? For a beginner, this can be error prone.
Either the process is simpler than I understood, or the instructions are way too vague. Either way, is anyone willing to patiently walk me thru the process? Please.
Thanx,
Zin Fandel