Forum Support

Shape 5
March 28, 2024, 05:08:08 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1] 2 3 4
  Print  
Author Topic: Redirect to homepage after empty cart  (Read 6610 times)
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« on: June 16, 2008, 03:38:06 PM »

Hello All,

Many of you have been having the problem of an index.php redirect after the cart is emptied in  Joomla 1.5 and VirtueMart.  To fix this problem you need to edit two lines of code in the "basket.php" VirtueMart file.  We have already done this and included the update in the attached basket.php file.  You can either take this file and overwrite your current basket.php, located:

administrator/components/com_virtuemart/html/

Or you can download the VM 1.1 files again as this updated file has been included.

Cheers!

« Last Edit: June 26, 2008, 09:37:11 PM by jonahh » Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
adressell
Jr. Member
**
Offline Offline

Posts: 10



« Reply #1 on: June 26, 2008, 04:17:24 PM »

I keep getting redirected to the homepage (with the etensity home template, no joomla content output) when trying to checkout.   Therefore I thought this might help solve the problem.  I downloaded and copied this file over to the directory you specified.  Once uploaded I tried to view the cart and got the following error:

Parse error: syntax error, unexpected $end in /homepages/41/d178196076/htdocs/build/administrator/components/com_virtuemart/html/basket.php on line 263
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #2 on: June 26, 2008, 09:37:35 PM »

Try the attached file again, I made some changes.

Regards,
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
adressell
Jr. Member
**
Offline Offline

Posts: 10



« Reply #3 on: June 27, 2008, 04:16:56 PM »

I downloaded the file again and imported it.  Still not working, everytime I choose, "view cart" or "add to cart" it goes right back to the homepage.  This only happens with etensity_inner set as default and etensity assigned to the homepage.

Let me know if you can think of anything as this is drving me crazy!
Logged
derherbstl
Jr. Member
**
Offline Offline

Posts: 1



« Reply #4 on: July 28, 2008, 02:37:08 PM »

No work!
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #5 on: July 29, 2008, 10:39:45 PM »

If you can PM login details I'll take a look at it.
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
worsin
Jr. Member
**
Offline Offline

Posts: 33



« Reply #6 on: August 25, 2008, 12:50:01 PM »

I just tried this fix on Virtuemart 1.1.2 and it did nothing.  Still reverts to the Homepage when you change the cart.

Im getting really sick of "Fixes" not fixing anything.
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #7 on: August 25, 2008, 01:43:17 PM »

The files were designed for VirtueMart 1.1.1 and do work with this version,  it is very possible they don't work on VirtueMart 1.1.2,  we will test this.
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
winstart
Jr. Member
**
Offline Offline

Posts: 78



« Reply #8 on: August 29, 2008, 04:06:52 AM »

thnx, updated the basket file. It works  Smiley
Logged
bryanc63
Jr. Member
**
Offline Offline

Posts: 12



« Reply #9 on: September 01, 2008, 08:58:21 PM »

I'm having a similar problem, and the new basket file hasn't fixed it.

It's during checkout (in which there are two steps).  When I enter billing and shipping info, I click next, and it goes to the homepage.

I am using eTensity on the home page and eTensity_inner on the rest.  When I switch the entire site to eTensity_inner this problem goes away.  But, I'd like to use the eTensity template for the home page.

https://www.bryancook.com/index.php?option=com_virtuemart&Itemid=72

thanks!
bryan
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #10 on: September 03, 2008, 10:17:15 AM »

Hello Bryan,

Have you download and installed the VM styles zip we have provided? 
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
rodneyrrw
Jr. Member
**
Offline Offline

Posts: 4



« Reply #11 on: December 07, 2008, 06:57:26 AM »

i download it.and when  i check out ,my website show
Warning: include(/home1/diggcool/public_html/fishdigg/components/com_virtuemart/themes/ja_larix/templates/basket/basket_b2c.html.php) [function.include]: failed to open stream: No such file or directory in /home1/diggcool/public_html/fishdigg/administrator/components/com_virtuemart/html/basket.php on line 257

Warning: include() [function.include]: Failed opening '/home1/diggcool/public_html/fishdigg/components/com_virtuemart/themes/ja_larix/templates/basket/basket_b2c.html.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home1/diggcool/public_html/fishdigg/administrator/components/com_virtuemart/html/basket.php on line 257
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #12 on: December 08, 2008, 10:23:46 PM »

what are these files looking for on line 257?
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
aliko1979
Jr. Member
**
Offline Offline

Posts: 13



« Reply #13 on: January 25, 2009, 05:44:07 PM »

Hello,

Same problem with new basket.php

Parse error: syntax error, unexpected $end, expecting ')' in /home/content/a/l/i/aliko1979/html/administrator/components/com_virtuemart/html/basket.php on line 263

PLEASE HELP
Logged
aliko1979
Jr. Member
**
Offline Offline

Posts: 13



« Reply #14 on: January 25, 2009, 05:50:07 PM »

I keep getting redirected to the homepage (with the etensity home template, no joomla content output) when trying to checkout.   Therefore I thought this might help solve the problem.  I downloaded and copied this file over to the directory you specified.  Once uploaded I tried to view the cart and got the following error:

Parse error: syntax error, unexpected $end in /homepages/41/d178196076/htdocs/build/administrator/components/com_virtuemart/html/basket.php on line 263
Logged
Pages: [1] 2 3 4
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.