Minor error, as Steve pointed out i had left some test code in it, this has now been removed.
Printable View
Minor error, as Steve pointed out i had left some test code in it, this has now been removed.
Hi everyone,
I'm a newbie to the world of ZenCart and web customization with add-ons and I'm having trouble installing the Image Handler 2 add-on. I've read the readme file and as I understand it, I am supposed to the following:
1. rename the admin folder, which I changed to zc_admin (my site's admin folder name)
2. changed the "YOUR_TEMPLATE" in the modules and templates folders to the name of my template, which I changed to "cherry_zen".
3. I installed the entire "Store_Root" folder to my store root, which is "public_html". This is the folder that contains the index.php file for my site.
4. Unfortunately, after doing this, the option to install IH2 didn't show up in Admin > Tools >Image Handler2.
I'm not sure what I've done wrong at this point and would really appreciate any help/insight anyone can offer. I uninstalled the application from my server after it didn't work. The URL of my site is www.bbetoysplus.com.
I think you misread/misunderstood this part.
Meaning what's IN the Store_Root folder, not the whole Store_Root folder.. (which it sounds like is what you have done..)Quote:
Install the contents of the Store_Root folder, guess where? in your store root, where index.php is.
Hi larkin,
Now that you've done this, you may want to go back and change the names of your admin folder and custom template folders to something else, as you have shared that information on the internet.
Going forward, when referring to these folders, use "MY_ADMIN_FOLDER" and "MY_CUSTOM_TEMPLATE", or something equally generic. Never put the true file names "out there" (especially for your admin folder), as it makes your site waaaay too easy to hack :)
(speaking of that, I hope you read and followed all of the security measures detailed in the install instructions for 139h)
Welcome to Zen Cart - no doubt you will enjoy it as much as we all do :smile:
PS, after you change the name of your admin folder, remember to update this change in these two files:
admin/includes/configure.php
and
store_root/includes/configure.php
Hi. as Diva said, rename the admin-folder once again asap. I have a couple of attempts/bots trying to access the admin-page every week and run scripts (most notably "password forgotten") and I hate to see them succeed on your site.
Don't rename it to "administration" or something easy or self explanatory, but rater mix large and small letters, include a couple of numbers as well, and make it quite long.
As extra precaution, you may add a server side password login to the admin-folder. If you have cpanel, that's an easy task. Look under "password protect folders".
To keep your admin-url secret, make sure you never visit an other URL from the admin-window. Make sure you close the window, otherwise others (like me) can look inside our access-logs and see the referer-url - i.e. your admin-url.
I started another test store. I installed the latest IH. I scanned for images that I uploaded from my other test site. The images are not showing. :no: When I view source I see the line below:
onmouseover="showtrail('images//bd-943satinstylistapron-60.jpg
Just after images it has //, should it not be images/? :shocking:
I had uploaded the bmz_cache folder from my other test site.
Any light shedded would be very helpful.
Disclaimer: I didn't develop this mod and am not deeply familiar with its inner workings.
Despite that, here's what I would do: empty the bmz cache folder, reload the pages, and see what happens.
If you have a fresh install of ZC for a new test store, and a fresh install of IH2 on that new test store, and you've uploaded images to that new test store, IH2 should work fine.
It creates the bmz_cache folder as it goes along...meaning that the cached images are created by IH2 as pages with images are loaded.
It needs to be given the chance to do this because that's how it works. I'm thinking that uploading the bmz cache folder from another store not only won't speed up that process, but simply won't work at all....and that seems to be the case for you.
I may be way off base here, and if so, Diva will correct me and provide you with more accurate information.
But that would be the first thing I would try (clear the bmz cache folder and then reload the pages in question).