[checkout] installing version 0.1.13 in Gallery 2.1 gives errors

crunnells

Joined: 2006-04-07
Posts: 6
Posted: Fri, 2006-04-07 23:30

Ok, I had Gallery version 2.0-something, and I upgraded to 2.1 full. During the upgrade, it said that Checkout, CheckoutPaypal, and CheckoutEmail could not be updated because they were old versions. So I went to the official site, downloaded the newest versions, and installed them. Then I continued the upgrade. It failed on those modules, throwing some SQL errors. So rather than try to debug it, I wiped the whole database, deleted the gallery folder, and started a fresh install. I installed everything just fine, then uploaded the 3 Checkout modules. Now, when I try to activate the module I get this error:

Notice: Undefined index: sidebarBlocks in D:\websites\lavasend\gallery\modules\checkout\module.inc on line 256

Notice: unserialize(): Argument is not a string in D:\websites\lavasend\gallery\modules\checkout\module.inc on line 256

Warning: Cannot modify header information - headers already sent by (output started at D:\websites\lavasend\gallery\modules\checkout\module.inc:256) in D:\websites\lavasend\gallery\modules\core\classes\GalleryPhpVm.class on line 124

So the gallery shows it as Activated, but the "Add to cart" buttons don't show up unless I'm logged in as administrator. I've already added the cart block to the sidebar, so the "View Cart" thing shows up... But I never see any "Add to cart" or "Add this album to cart" links, and I've tried table view and list view.

Suggestions?


Gallery version = 2.1 core 1.1.0
PHP version = 4.4.1 cgi-fcgi
Webserver = Microsoft-IIS/6.0
Database = mysql 4.1.15-nt, lock.system=database
Toolkits = Exif, ImageMagick, Gd
Acceleration = none, none
Operating system = Windows NT WSHILO 5.2 build 3790
Default theme = matrix
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1

 
turnbulm

Joined: 2004-10-03
Posts: 431
Posted: Sat, 2006-04-08 07:01

I am looking into this right now, along with a couple of other errors that have appeared from somewhere. Hold in there, and I'll get a fix out ASAP.

 
turnbulm

Joined: 2004-10-03
Posts: 431
Posted: Sat, 2006-04-08 14:05

The problem occurred because some changes from my development version of the module got mixed in with the 0.1.13 release. I've removed the offending code and released Checkout v0.1.14 on SourceForge and in the original Checkout thread now. Sorry for the incovenience!

 
crunnells

Joined: 2006-04-07
Posts: 6
Posted: Mon, 2006-04-10 21:30

No problem, thanks for the quick fix :)