[SOLVED] [Checkout] Upgrade from .42 to .43 broke cart display
softco
Joined: 2008-11-30
Posts: 4 |
Posted: Mon, 2010-01-25 23:54 |
Gallery URL = http://www.canigetacopy.com/gallery2/main.php I was running along fat and happy with 0.42 and decided to upgrade to 0.43. After I did, all Checkout display pages returned HTTP 500 errors. I tried everything I could to revert to 0.42, including reverting to a backup of an earlier Gallery2 install and restoring a previous database backup and no dice. So I did a complete uninstall of Checkout and all its add-on modules, deleted the directories, and reinstalled & configured just Checkout. Now I can open Checkout Config and Checkout Orders, and I can add things to the cart, but if I try to open the cart I still get HTTP 500. Same when I try to open any of my current sessions. Here's my URL for viewing the cart: Here's my URL for viewing a current session: The site's live, so you're welcome to try to add something to the cart yourself. I vaguely remember that there is a PHP.ini option to make it give you verbose HTTP 500 errors, but things have worked so well for so long I can't remember it now, and I'm not even sure that would be helpful. I really need a working cart and I can't try Gallery3 because I'm a Microsoft monkey. Thank you for any direction you can provide. |
|
Posts: 4342
Put gallery into debug mode and you should get a more informative error message.
FAQ: How to set/use Gallery in debug mode?
Posts: 4
Thanks for the quick reply. I output the debug log to a file. Unfortunately, the debugger doesn't seem to register clicks to the problem links.
The first attached file is just opening the homepage and clicking on the cart link.
The second attached file continues into site admin, checkout orders, and into current sessions. Again, once a session was clicked, instantly HTTP 500 with no debug record.
Earlier, I also tried turning on PHP error logging and got nothing.
I also tried to get IIS to generate a more verbose HTTP 500 error message, and still nada.
So, I've turned on Buffered debugging in case you'd like to go to the site yourself.
Many thanks
Posts: 4342
And, presto-hey, turning on debugging generates a stack trace for the error - which in general is the only interesting bit of a debug trace(*), and the top line of which is this:
Looks like the module checkoutgroups is half-installed (either the uninstall failed, or only half the files are there). So try uninstalling that module, then reinstalling it. If that doesn't work, there are ways to manually uninstall.
EDIT: (*) Actually that's a lie - debug traces highlight database connection and syntax problems too.
Posts: 4
WOWZA!!! I have spent hours and days trying to fix, reinstall, upgrade, and nothing. And I could have spent another week and I wouldn't have found what you found. Even more, you found it within minutes of my asking.
You truly are a scholar and a gentleman. So I must ask one more thing, I know how to PayPal Contribute to Gallery, where can I PayPal Contribute to Checkout?
For now, thank you very much!
Posts: 4342
I don't take donations; but you're welcome to purchase a print of a picture of mine that you like, if you like dancers. Think of it as a donation and you get a keepsake too.
http://danceportraits.co.uk/gallery2/v/crystalpalace2009/prolatin/
I'm glad it works for you.