19 replies [Last post]
druru's picture
Offline
Brain Stormer
Joined: 08/08/2007
Juice: 228
Was this information Helpful?

If i go to

admin/store/settings/tables/uc_product_table

i have image checked...

yet when i navigate to path

/products

no image (i presume thumbnail) of my product image that displays accuratley in the product node view is presented. Shouldn't it be displayed? If so how?

FYI, I'm using a fresh install of 7c

Tanjerine's picture
Offline
Bug FinderInternationalizationizerNot KulvikThe other woman.
Joined: 08/31/2007
Juice: 235
Re: images NOT displaying on path /products

hi druru, is this similar to the problem i have over here ?

druru's picture
Offline
Brain Stormer
Joined: 08/08/2007
Juice: 228
Tanj, i'm not sure... i DO

Tanj,

i'm not sure... i DO see my normal product images just fine on an INDIVIDUAL product node .. i just don't see them when listed on /product (which is a list of products).

i think you guys aren't seeing images period.

i'll try your suggestiong to flush the imgcache though i don't anticipate that's gonna work..

i'll post back here if i find anything..

johlin's picture
Offline
Joined: 09/18/2007
Juice: 37
Any updates?

Any updates on this issue? I have the same problem that images on the /products page do not display.

Also, the 2checkout.com image (with the visa, mastercard, etc) icon doesn't appear on the checkout page. The file path seems to be incorrect. This is the path: /modules/ubercart/payment/uc_payment/gateways/2cocc05.gif - but "/gateways/" doesn't exists.

druru's picture
Offline
Brain Stormer
Joined: 08/08/2007
Juice: 228
naw.. this went silent... i

naw..

this went silent... i hate when that happens..

catorghans@drupal.org's picture
Offline
Joined: 08/16/2007
Juice: 72
Re: naw.. this went silent... i

I had a problem with imagecache in a windows environment.
(Still have no solution, I switched to Linux. The problem in Windows is that imagecache depends on clean-url's, but in windows you need ISAPI-REWRITE rules to make that work. I still have not found the right ISAPI-REWRITE rules for imagecache to work.)

You could look at the /files/imagecache directory if the thumbnails are created.

If they are not you know it's something with imagecache.

Hans

Tanjerine's picture
Offline
Bug FinderInternationalizationizerNot KulvikThe other woman.
Joined: 08/31/2007
Juice: 235
Druru, in my case the only

Druru,

in my case the only time i would see the images were when i would edit the product pages. otherwise, nothing. i'm sure it had something (and _everything_) to do with my webserver of choice. so i shifted back to apache from lighttpd. and the voila! all the images could be seen again. could it also be a webserver problem on your end?

ps. the issue with lighty from what i've gathered has to do with the mod-rewrite module which is not wholly compatible with lighty. i am not the greatest person to tinker with mod_rewrite (beyond the basics) so i decided to just let it be and go back to apache.

hope this helps somehow.

Tanjerine's picture
Offline
Bug FinderInternationalizationizerNot KulvikThe other woman.
Joined: 08/31/2007
Juice: 235
Re: Any updates?

Johlin, i dont have that /gateways/ directory either. but the files (and that particular file that you're looking for) are in my modules/ubercart/payment/uc_2checkout/ directory. could you please check if they're there?

setup: übercart on kubuntu 7.04 with apache & mysql

johlin's picture
Offline
Joined: 09/18/2007
Juice: 37
It's there

I checked the 2checkout folder and the icon is there. I tried substituting it with another image and re-named it appropriately, but still no luck. Further, even when I select that no image be used in the settings for 2co.com a broken image still appears.

druru's picture
Offline
Brain Stormer
Joined: 08/08/2007
Juice: 228
thanks for the tips.. i'm

thanks for the tips..

i'm running my baby on apache so it's not a windows problem. i'll take another look at my modrewrite and see what i've got going on..

kulvik's picture
Offline
Uber DonorBug FinderEarly adopter... addicted to alphas.Cool profile pic award.Internationalizationizer
Joined: 08/14/2007
Juice: 336
Hi druru Almost every time

Hi druru Smiling

Almost every time someone has problems with displaying product/category images it's about modrewrite/imagecache problems Smiling We also had these problems in the beginning (your exact problem). This was solved by tweaking our modrewrite rules.

______________
Best regards,
Thomas Kulvik
Ny Media AS
www.nymedia.no

catorghans@drupal.org's picture
Offline
Joined: 08/16/2007
Juice: 72
Re: Hi druru Almost every time

I have the feeling that ubercart is more mature then imagecache.
I think imagecache should be improved or ubercart should have an option to run without imagecache.
It causes all sorts of problems.

johlin's picture
Offline
Joined: 09/18/2007
Juice: 37
modrewrite/imagecache

Hi Kulvik.

You suggested tweaking modrewrite/imagecache rules. I'm not sure what that means...doest that have something to do with setting the permissions, like 777 for example?

thanks.

Miso's picture
Offline
Joined: 08/10/2007
Juice: 134
Re: modrewrite/imagecache

problem source: lines 56-58 of uc_2checkout.module

the image paths are wrong (those images don't exist on the system).

druru's picture
Offline
Brain Stormer
Joined: 08/08/2007
Juice: 228
Re: Re: modrewrite/imagecache

ok.. still haven't had a chance to look at it.. but it sounds like from the veterans here mod rewrite is probably my culprit. i'll get on it.

someone posted about mod_rewrite. If you don't know what it is, you probably 1) don't want to try to try and mess with it 2) probably don't have access to it - although you may via .htaccess. If my fix turns out to be something i feel would apply to other here, i'll post it. However, i have a very unique setup that probably does not resemble anybody's here. And it's likely to just confuse the situation.

Miso: i'm not sure your suggestion applies to me since my problem has nothing to do with checkout.

johlin's picture
Offline
Joined: 09/18/2007
Juice: 37
2co image

Druru: I think Miso was refering to my other issue in which the 2co.com visa image does not appear on the checkout page. I'm not well versed in this stuff so I'm afraid to tamper with anything. I'm wondering if I uninstall and reinstall UC my problems will be solved...

johlin's picture
Offline
Joined: 09/18/2007
Juice: 37
Possible Fix

Hi Druru.

This worked for me...

I was trying to solve my issue regarding prices appearing as zero on the products page so I decided to visit Views and see what was there. When you select the edit option for Products from the Views admin, scroll down to the Field section. There you will see various options for Image. Try selecting different options for the cart and also for the Grouping (there are two choices). Save the changes, but then go back to the original choices and the images will appear now. I guess it sorta kick-starts Imagecache into behaving.

Hope this helps you. If you have any tips on how to get the prices showing please let me know!

johlin's picture
Offline
Joined: 09/18/2007
Juice: 37
You're right Miso.

I fixed the missing 2co.com image issue by placing the image (2cocc05.gif) into the payment/uc_payment/ folder and changed the image path on the uc_2checkout.module

to

$path .'/2cocc05.gif" style="position: -- this around line 58

Maybe someone should make a note of this?

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: You're right Miso.

Side note... I just fixed the 2CO image. That was a leftover bug from where I reworked our file structure for Ubercart.

Tanjerine's picture
Offline
Bug FinderInternationalizationizerNot KulvikThe other woman.
Joined: 08/31/2007
Juice: 235
hi johlin,this is what i

hi johlin,

this is what i did to fix the problem of the 2co image:

editing the uc_2checkout.module, i commented out the original lines and inserted my changes underneath.

function uc_2checkout_payment_method() {
  //$path = base_path() . drupal_get_path('module', 'uc_payment');
  $path = base_path() . drupal_get_path('module', 'uc_2checkout');
  $title = variable_get('uc_2checkout_method_title', t('Credit card on a secure server:'));
  //$title .= '<br /><img src="'. $path .'/gateways/2cocc05.gif" style="position: relative; left: 2.5em;">';
  $title .= '<br /><img src="'. $path .'/2cocc05.gif" style="position: relative; left: 2.5em;">';

edit: sorry ryan, i didnt scroll down so i didnt notice your reply. my bad!