Totally Zenned
- Join Date:
- Aug 2005
- Location:
- Vic, Oz
- Posts:
- 1,816
- Plugin Contributions:
- 0
Image Handler 2 (for ZC v1.3.8 ONLY) Support
tpeck:
I've spent a few hours tracking down the reason for the zen_href_link('', '', 'NONSSL') error I was getting when trying to use the Image Manager...
The problem was first(?) noticed and commented about by mrmarcus66 in posts #42 and #56, pages 5 and 6 respectively, in 2006(!) in this very same thread.
Quote:
Once again I think I found what was causing errors with my installation of IH.The image file name was:
rubber_latex_arm_band(1_stripe)7578_01the image file name was renamed to:
rubber_latex_arm_band_1_stripe_7578_01Notice the new file name does not have the ().
Can anyone else try an image with () in the filename and try to add additional images and see what behavour happens.
He didn't get an answer to his question in this thread (unless I missed it), but perhaps he did in another thread:
http://www.zen-cart.com/forum/showthread.php?t=67679&page=2
It seems that circular brackets (parentheses to Americans) in image filenames...these things: ()...do indeed send IH2 into a spin. Oddly enough (except to coders I suppose), square brackets [] do not. (I can confirm this.)
Given that naming files with parentheses is a common enough (although apparently frowned upon) way to name files, I would highly recommend this information be included in the IH2 readme file (it isn't, I checked).
This seems logical.
You are trying to evaluate a function: rubber_latex_arm_band()
with a parameter: 1_stripe
As neither exist you are getting an empty '' result.
Always bad practice to use curved brackets like this.
As well square brackets [] and other mathematical symbols should probably be avoided as well.
You never know when you will get "unexpected" results when they are evaluated.