Category images gone after upgrading from RC4 to RC5

Posts: 19
Joined: 04/08/2008

The category images were working fine on my RC4 installation. After upgrading to RC5, no category images anymore. I also tried to remove them (by the category pages) and upload them again, to no avail.

No other modules were upgraded along with ubercart, so imagecache was working until RC4, and file system settings and permissions were fine as well.

I have already gone through http://www.ubercart.org/forum/support/2451/imagecache_imagfield_imageapi...

but I guess it does not apply to my issue, because product images display as they should, and in any case, tweaking the .htaccess file in the files directory did not sort any effect.

Thanks in advance for your kind support,
Gabble

Posts: 19
Joined: 04/08/2008

Solved! The main store admin page told me that image support was not properly cofigured and suggested me to click on a link. That did it, evidently something changed with version RC5 that needed to be fixed.

Smiling

Posts: 2267
Joined: 08/07/2007
AdministratoreLiTe!

Did you run update.php when you got RC5? Some of the imagecache presets were renamed, and that was taken care of as a database update. The link in the store status probably did the same thing.

Posts: 19
Joined: 04/08/2008

Yes, I did run update.php and everything went smooth… who knows… Smiling

Posts: 2
Joined: 06/30/2008

Hi

Please elaborate a little bit on the above posts:
1. what is RC4 and RC5?
2. when running update.php (http://mysite.com/update.php) it displays a whole bunch of dropdown boxes for various modules - which boxes need to be selected?
3. ... and this is the most important problem, IMO: When I click on the "Click Here" link under Images on the main Store Admin page (http://mysite.com/admin/store) nothing happens. The Images icon is green the following is displayed:

Images Click here to automatically configure the following items for core image support:

* The expected Imagecache presets ("") have not been created.
* The Imagecache presets do not contain actions to perform on images. Images may be displayed in their original formats.

(This action is not required and should not be taken if you do not need images or have implemented your own image support.)

4. When I browse the Catalog the Images are broken and their location is:
http://mysite.com/sites/default/files/imagecache/uc_category/sites/defau...

My file upload method is public (required by thickbox) and the upload path is set to
sites/default/files/
in the Admin -> Site Configuration -> File system page (/admin/settings/file-system). So somehow the "File system path" field from that page is appended again after the uc_category directory above.

Posts: 2267
Joined: 08/07/2007
AdministratoreLiTe!
  1. RC means "release candidate" and they were the versions just prior to Ubercart 1.0.
  2. update.php is usually pretty good about setting the default values for those fields. The only scenario where you might change the values are when you need to redo a specific update for a module.
  3. That error message is a little goofy sometimes. You probably have too many presets because you got duplicates. Either that, or you just need to change the presets manually. In the Image cache settings, make sure you have the following presets once (others are fine if you need them):
    • cart
    • product
    • product_list
    • uc_category
    • uc_thumbnail
  4. The image cache URL actually looks right based on how imagecache works. I think you still have the uc_catalog preset, which got changed to uc_category. This should have been done in the Ubercart updates, but maybe it didn't.