Author Topic: Checkout Bar images disappeared after upgrading to Joomla 1.5.8  (Read 16788 times)

cjes

  • Beginner
  • *
  • Posts: 20
Checkout Bar images disappeared after upgrading to Joomla 1.5.8
« on: November 12, 2008, 21:25:06 pm »
After upgrading to Joomla 1.5.8 the path to my VM checkout bar is broken...

Joomla/VM now points to:

http://www.mysite.com/%20http://www.mysite.com/components/com_virtuemart/themes/default/images/checkout/checkout3_1.png

Has anybody have had the same problem and/or does someone know where and how I should change the code to correct this?

Thanks
Joomla 1.5.25
VirtueMart 1.1.9

Pisu

  • Contributing Developer
  • Jr. Member
  • *
  • Posts: 451
  • ..still looking for..
    • Blog di Stefano Bagnatica
Re: Checkout Bar images disappeared after upgrading to Joomla 1.5.8
« Reply #1 on: November 19, 2008, 11:05:40 am »
I really think you are using VirtueMart 1.1; but in this case you posted in wrong forum...

However, open file:  /components/com_virtuemart/themes/default/templates/checkout/checkout_bar.tpl.php

And change line 31 this way (surrounding URL with quotes):

Code: [Select]
echo '<table style="background: url( \''. VM_THEMEURL .'images/checkout/checkout'. $step_count.'_'.$current_step .'.png\' ) top right; background-repeat: no-repeat; height:115px;text-align:center;" border="0" cellspacing="0" cellpadding="0" align="center">

Other proposed fix (maybe better, removing space from url parameter):

Code: [Select]
echo '<table style="background: url('. VM_THEMEURL .'images/checkout/checkout'. $step_count.'_'.$current_step .'.png) top right; background-repeat: no-repeat; height:115px;text-align:center;" border="0" cellspacing="0" cellpadding="0" align="center">


Let me know if it works.
Pisu - Team VMItalia (Supporto Italiano VirtueMart)
www.stefanobagnatica.it | www.vmitalia.net

Luciano

  • Beginner
  • *
  • Posts: 14
Re: Checkout Bar images disappeared after upgrading to Joomla 1.5.8
« Reply #2 on: November 19, 2008, 16:00:40 pm »
I had same problem. Work for me. thx

fire2

  • Beginner
  • *
  • Posts: 41
Re: Checkout Bar images disappeared after upgrading to Joomla 1.5.8
« Reply #3 on: December 02, 2008, 12:27:36 pm »
hello,
I am also having this problem in VM 1.1 + Joomla 1.5.8, I can see the titles of the checkout bar ("Shipping Addres", "shippin method") but the checkout image is not there. I checked the checkout_bar.tpl.php and it is as said above.
Why can it be?
Thanks, yosia
currently using:
Joomla 2.5.8
VM 2.0.14

Pisu

  • Contributing Developer
  • Jr. Member
  • *
  • Posts: 451
  • ..still looking for..
    • Blog di Stefano Bagnatica
Re: Checkout Bar images disappeared after upgrading to Joomla 1.5.8
« Reply #4 on: December 02, 2008, 13:18:44 pm »
I am also having this problem in VM 1.1 + Joomla 1.5.8, I can see the titles of the checkout bar ("Shipping Addres", "shippin method") but the checkout image is not there. I checked the checkout_bar.tpl.php and it is as said above.
Why can it be?
Have  you tried the proposed fix?
Pisu - Team VMItalia (Supporto Italiano VirtueMart)
www.stefanobagnatica.it | www.vmitalia.net

cjes

  • Beginner
  • *
  • Posts: 20
Re: Checkout Bar images disappeared after upgrading to Joomla 1.5.8
« Reply #5 on: December 02, 2008, 14:23:47 pm »
Hi Pisu

Sorry for my late response.

I tried your fix and it worked fine for me.

Thanks for your advice!
Joomla 1.5.25
VirtueMart 1.1.9

fire2

  • Beginner
  • *
  • Posts: 41
Re: Checkout Bar images disappeared after upgrading to Joomla 1.5.8
« Reply #6 on: December 02, 2008, 18:06:34 pm »
Yes, thanks, i tried the second proposed fix and it works now.
currently using:
Joomla 2.5.8
VM 2.0.14

james.dupin

  • Beginner
  • *
  • Posts: 12
Re: Checkout Bar images disappeared after upgrading to Joomla 1.5.8
« Reply #7 on: December 04, 2008, 08:44:17 am »
the second fix works ok (haven't tried first).

the problem came after a 1.57 or 1.58 joomla update.
you can see (well not see in fact) the not displaying checkout cart png in the bundle virtuemart + joomla 1.58.

james

Spencerk

  • Jr. Member
  • **
  • Posts: 90
Re: Checkout Bar images disappeared after upgrading to Joomla 1.5.8
« Reply #8 on: December 22, 2008, 12:37:32 pm »
Thank you very much indeed for the help, the first solution worked for me.

Thanks.

tiè

  • Beginner
  • *
  • Posts: 1
Re: Checkout Bar images disappeared after upgrading to Joomla 1.5.8
« Reply #9 on: January 02, 2009, 13:55:54 pm »
Yor answer dont work for me, then i tried to change the same file in css part, 'cause PHP was correct: actually the space in CSS language have an importance.

then i have changed in this way and work fine:

Code: [Select]
echo '<table style="background: url('. VM_THEMEURL .'images/checkout/checkout'. $step_count.'_'.$current_step .'.png ) top right; background-repeat: no-repeat; height:115px;text-align:center;" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>';
i have cancelled the space between parenthesis and peak (').
cya and fun :)

revive

  • Jr. Member
  • **
  • Posts: 96
Re: Checkout Bar images disappeared after upgrading to Joomla 1.5.8
« Reply #10 on: January 20, 2009, 10:50:19 am »
Hey gang,

Running VM 1.1.2 Stable / J1.5.8 bundle and have the same issue.. tried the fixes above, both of them, to no avail..still getting the dup URL prefix.. any ideas on how to resolve this??

Thanks so much for the help!

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28146
  • Always on vacation
    • Jenkin Hill Internet
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart 3.8.9.10473 on Joomla 3.9.24 PHP 7.4.14

gtech

  • Beginner
  • *
  • Posts: 46
    • Suknie slubne
Re: Checkout Bar images disappeared after upgrading to Joomla 1.5.8
« Reply #12 on: April 01, 2009, 11:51:37 am »
This fix does work for me. Thank you very much.
Joomla 1.5.9 + VM 1.1.3
Big Thank You!
I love what I do  - I do www
Suknie Slubne Suknie Wieczorowe

Yereverluvinunclebert

  • Jr. Member
  • **
  • Posts: 88
Re: Checkout Bar images disappeared after upgrading to Joomla 1.5.8
« Reply #13 on: May 03, 2009, 23:28:32 pm »
Surrounding the URL with quotes worked for me. Thanks for the suggestion.
Yereverluvinunclebert - Maker of some steampunk widgets of distinction

prolingua

  • Beginner
  • *
  • Posts: 3
Re: Checkout Bar images disappeared after upgrading to Joomla 1.5.8
« Reply #14 on: August 14, 2009, 13:00:05 pm »
Hi All I just want to share what I've done.
First, if you you another theme the file that you need to open is NOT
 /components/com_virtuemart/themes/default/templates/checkout/checkout_bar.tpl.php
but for example:
 /components/com_virtuemart/themes/vm_orange/templates/checkout/checkout_bar.tpl.php

Secondly the proposed fix doesn't work for me. After investigating the HTML code produced, I fixed like this:
<table style="background: url( \''. VM_THEMEURL .'images/checkout/checkout'. $step_count.'_'.min( count($steps_to_do), $highlighted_step ) .'.png\' )

i.e. I put \' after png, and it works now.