Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / shopping cart is broken - pls help?

shopping cart is broken - pls help?

Views: 1,058

Results 1 to 14 of 14
9 Jun 2011, 2:02 AM
#1
magicbb avatar

magicbb

New Zenner

Join Date:
Oct 2010
Posts:
10
Plugin Contributions:
0

shopping cart is broken - pls help?

Hello all, I recently made a few changes to the general design of my site (after some helpful feedback from some people on here) nothing major just changing order of buttons etc etc...

I have just realised (a client emailed me) that my shopping cart is broken, when you click to go shopping cart you just get a blank white page no error message or anything.

I am running version 1.3.9d (and was today about to post on here looking for someone to help me [paid] upgrade to the latest version as I dont know that I know enough about it to do it myself....).

I dont know where to start to find out why my shoppign cart doesn't work now? help?

9 Jun 2011, 2:05 AM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,178
Plugin Contributions:
0

Re: shopping cart is broken - pls help?

Read this tutorial please:

https://www.zen-cart.com/tutorials/index.php?article=82

Report back with any errors in this folder:

root directory/ cache

9 Jun 2011, 2:17 AM
#3
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Re: shopping cart is broken - pls help?

try and work back, find what you have changed and put the backed up original files back up.

Personally after any changes i make to the site php, i do test orders etc, because one misplace div or apostrophe can really stuff things up and is really hard to track down

9 Jun 2011, 2:41 AM
#4
magicbb avatar

magicbb

New Zenner

Join Date:
Oct 2010
Posts:
10
Plugin Contributions:
0

Re: shopping cart is broken - pls help?

OK here's the degug error

[09-Jun-2011 02:19:46] PHP Warning: require(includes/templates/template_default/templates/tpl_modules_xsell_products.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/melody/public_html/includes/templates/silverfish/templates/tpl_product_info_display.php on line 203
[09-Jun-2011 02:19:46] PHP Warning: require(includes/templates/template_default/templates/tpl_modules_xsell_products.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/melody/public_html/includes/templates/silverfish/templates/tpl_product_info_display.php on line 203
[09-Jun-2011 02:19:46] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/templates/template_default/templates/tpl_modules_xsell_products.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/melody/public_html/includes/templates/silverfish/templates/tpl_product_info_display.php on line 203

I didn't actually change any files directly, all I did was go into the admin panel and change things like the order of the buttons, remove top categories, etc.

9 Jun 2011, 2:44 AM
#5
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,780
Plugin Contributions:
11

Re: shopping cart is broken - pls help?

Looks like you've placed a few x sell mod files in the wrong place. You might want to revisit that one.

9 Jun 2011, 2:51 AM
#6
magicbb avatar

magicbb

New Zenner

Join Date:
Oct 2010
Posts:
10
Plugin Contributions:
0

Re: shopping cart is broken - pls help?

Hi thanks, Thing is, I haven't moved any files though, I dont play with the files cause I dont have a clue what I am doing.... I logged into the admin panel and did some changes there that was it.

9 Jun 2011, 2:53 AM
#7
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,780
Plugin Contributions:
11

Re: shopping cart is broken - pls help?

Care to elaborate? I'm curious to know how you can make a file appear from the control panel.:dontgetit

9 Jun 2011, 3:05 AM
#8
magicbb avatar

magicbb

New Zenner

Join Date:
Oct 2010
Posts:
10
Plugin Contributions:
0

Re: shopping cart is broken - pls help?

OK what I meant was I logged into the admin panel where the store categories etc are set up. I used that to go into the categories and change the wording on them, and also changed their sort order.

I then went into the configuration section and changed a couple of settings in there. One thing was the information gathered in the log in section to exclude some things suggested in the thread giving me feedback to my site http://www.zen-cart.com/forum/showthread.php?t=180986

I had looked at the local copy of the page not found and shopping cart but had not changed them in any way (wasn't quite sure what to do)

Obviously I have done something daft without even meaning to.

9 Jun 2011, 3:19 AM
#9
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,780
Plugin Contributions:
11

Re: shopping cart is broken - pls help?

Have you done a test order successfully without any additional debug files showing up?

9 Jun 2011, 3:40 AM
#10
magicbb avatar

magicbb

New Zenner

Join Date:
Oct 2010
Posts:
10
Plugin Contributions:
0

Re: shopping cart is broken - pls help?

I've gone onto my site and tried to put something in the shopping cart, thats all I know how to do? I get a blank page as well.

9 Jun 2011, 3:57 AM
#11
magicbb avatar

magicbb

New Zenner

Join Date:
Oct 2010
Posts:
10
Plugin Contributions:
0

Re: shopping cart is broken - pls help?

OK but I have had a proper look and can see that it is wanting this file

tpl_modules_xsell_products.php

but it isn't in the directory it is looking for, and I have no backup of that area (another issue entirely)

what could I have done to lose that file somehow and how could I restore or replace it?

9 Jun 2011, 5:33 AM
#12
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,780
Plugin Contributions:
11

Re: shopping cart is broken - pls help?

And, do you have new debug files in the cache directory?

9 Jun 2011, 12:35 PM
#13
magicbb avatar

magicbb

New Zenner

Join Date:
Oct 2010
Posts:
10
Plugin Contributions:
0

Re: shopping cart is broken - pls help?

dbltoe and others, thank you for your patience. Your questions in the end led me to fixing it... I had in fact some days ago edited a single line of text in the shopping_cart.php line (despite me saying I had not edited any files, I had done one... dont ask me why I forgot that, I was panicking about my site...) and put a single apostophe. Thanks everyone for your time and helpful answers.

9 Jun 2011, 3:41 PM
#14
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,780
Plugin Contributions:
11

Re: shopping cart is broken - pls help?

Glad you got it sorted out. And, thanks for letting others know what fixed the problem.
We've all been there.