Zen Cart Logo

broken images

Locked

Views: 4,579

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
2 Jan 2007, 9:16 AM
#1
heavenlynights avatar

heavenlynights

Zen Follower

Join Date:
Jan 2006
Location:
Australia
Posts:
303
Plugin Contributions:
0

broken images

Hi there

Just upgraded to 1.3.7 from 1.3.5 and need a little help regarding the a couple of the images.

When I go to my address book while logged in as a customer I see the following:

a box with a X and BUTTON_IMAGE_DELETE_SMALL

I get the same problem with the new logout image feature on the checkout success page.

I used developer tool kit to search for the problem and I think the problem may be in the following files.

includes/languages/english/button_names.php

Line #27 : define('BUTTON_IMAGE_DELETE_SMALL', 'button_delete_small.gif'); 

templates/template_default/templates/tpl_address_book_default.php

Line #39 : <div class="buttonRow forward"><?php echo '<a href="' . zen_href_link(FILENAME_ADDRESS_BOOK_PROCESS, 'edit=' . $addresses['address_book_id'], 'SSL') . '">' . zen_image_button(BUTTON_IMAGE_EDIT_SMALL, BUTTON_EDIT_SMALL_ALT) . '</a> <a href="' . zen_href_link(FILENAME_ADDRESS_BOOK_PROCESS, 'delete=' . $addresses['address_book_id'], 'SSL') . '">' . zen_image_button(BUTTON_IMAGE_DELETE_SMALL, BUTTON_DELETE_SMALL_ALT) . '</a>'; ?></div> 

Not sure what to look for in the code which might be causing the problem!!

Any help would be great.

TIA

2 Jan 2007, 9:22 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: broken images

look in your template/images folder for button_delete_small.gif and see if it exists

2 Jan 2007, 9:37 AM
#3
heavenlynights avatar

heavenlynights

Zen Follower

Join Date:
Jan 2006
Location:
Australia
Posts:
303
Plugin Contributions:
0

Re: broken images

Hi Kobra

Thanks for that super quick response. I checked all of that prior to posting. Sorry about that, I should have mentioned it. The image is in both the template_default buttons folder as well as my custom buttons folder as well as both template image folders.

No other images have this problem, which is why I thought may it had something to do with the code.

Do you don't have any other ideas!!! :down:

Thanks

2 Jan 2007, 9:56 AM
#4
heavenlynights avatar

heavenlynights

Zen Follower

Join Date:
Jan 2006
Location:
Australia
Posts:
303
Plugin Contributions:
0

Re: broken images

heavenlynights:

Hi Kobra

No other images have this problem, which is why I thought may it had something to do with the code.

Thanks

Oops - I take that back, just found another one, this time on the split login page - create account button. But there is no create account button on the server or the 1.3.7 zip file.

TIA

2 Jan 2007, 10:03 AM
#5
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: broken images

There is oat least one in the 1.3.7 zip at includes/templates/templat_default/buttons/english/button_create_account.gif

2 Jan 2007, 10:12 AM
#6
heavenlynights avatar

heavenlynights

Zen Follower

Join Date:
Jan 2006
Location:
Australia
Posts:
303
Plugin Contributions:
0

Re: broken images

kobra:

There is oat least one in the 1.3.7 zip at includes/templates/templat_default/buttons/english/button_create_account.gif

Sorry Kobra, you are right, I was actually looking in my back up of my store when I made that mistake but didn't realise that at the time of posting.

Still doesn't help as to why I cannot view these images. :wacko: :smile:

Thanks

2 Jan 2007, 10:15 AM
#7
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: broken images

they are template specific...are they in your template

2 Jan 2007, 10:24 AM
#8
heavenlynights avatar

heavenlynights

Zen Follower

Join Date:
Jan 2006
Location:
Australia
Posts:
303
Plugin Contributions:
0

Re: broken images

kobra:

they are template specific...are they in your template

:huh: Not quite sure what you mean?

if you mean are they in my custom template folders, the answer is yes. Other than that, I am not sure what else you would be referring to!

Thanks

2 Jan 2007, 10:42 AM
#9
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: broken images

Not sure of why you are having these issues...I have only upgraded 7 installs so far with no image issues.

Hate to ask but, were all your edits in the override system?

Have you checked the changelog against your overridden files and if there are some matches compared them to the new files?

2 Jan 2007, 10:59 AM
#10
heavenlynights avatar

heavenlynights

Zen Follower

Join Date:
Jan 2006
Location:
Australia
Posts:
303
Plugin Contributions:
0

Re: broken images

kobra:

Not sure of why you are having these issues...I have only upgraded 7 installs so far with no image issues.

Hate to ask but, were all your edits in the override system?

Have you checked the changelog against your overridden files and if there are some matches compared them to the new files?

I have checked them, but I will check again, I use beyond compare for comparison. Maybe I missed something. Thanks again Kobra, for your time.

I will update post once I do another check just in case I find what I missed.

2 Jan 2007, 12:10 PM
#11
heavenlynights avatar

heavenlynights

Zen Follower

Join Date:
Jan 2006
Location:
Australia
Posts:
303
Plugin Contributions:
0

Re: broken images

ok Kobra

found the problem. I missed a file while doing the comparison. (I get so confused when comparing files and I don't fully understand what I am looking at half the time)

I forgot to overwrite the button_names.php file in my customs directory with the new one from 1.3.7 detailing the new buttons.

So simple!! but not, obviously for the like of me!! :blush:

Thanks again for your help and have a great day/evening - whatever the case may be.

16 Jul 2008, 12:46 AM
#12
ethanhunt avatar

ethanhunt

New Zenner

Join Date:
Nov 2007
Posts:
2
Plugin Contributions:
0

Re: broken images

heavenlynights:

ok Kobra

found the problem. I missed a file while doing the comparison. (I get so confused when comparing files and I don't fully understand what I am looking at half the time)

I forgot to overwrite the button_names.php file in my customs directory with the new one from 1.3.7 detailing the new buttons.

So simple!! but not, obviously for the like of me!! :blush:

Thanks again for your help and have a great day/evening - whatever the case may be.

I have this same problem. Can you explain what exactly you did to fix this problem? i'd really appreciate it.