Community @ The Turning Gate

Support community for TTG plugins and products.

You are not logged in.

#1 2018-01-06 18:05:21

hjrw
Member
From: Peoria (Phoenix) AZ
Registered: 2012-10-01
Posts: 168

CE4 Cart Migration Error

I installed the cart into the modules folder, and started setup.  I then attempted to migrate my CE4 products, etc to Backlight.  I received an error.  On any page of my site, I got a cart is not available error, and I could go no further.  I removed the module-cart folder and was able to access the site again.  I reinstalled it and received the error message again.

How can I clear the error?

I would like to reuse the pricing scheme.  I can recreate it, but would like to see what I had under CE4.  Is there a humanly readable file with the pricing schedule?

Thanks,
Herschel

Here is the error

Updating CE4 Cart from version 3.0.5 to 4.1.5
Backing up databases...
Backed up master.sq3
Backed up orders.sq3
Upgrading to version 3.1.0...
Updating settings structure
Updating settings
Updating localisations
Creating countries table
Adding mode field for Additional Fields
Add IP address capture to orders
Unable to upgrade to version 3.1.0
Error message: SQLSTATE[HY000]: General error: 1 35 values for 34 columns



Something went wrong

Cannot modify header information - headers already sent by (output started at /home/hjrweintraub/public_html/photo-now-backlight/backlight/framework/helpers/GenericUpgradeHelper.php:57) in URLHelper.php on line 273

Offline

#2 2018-01-06 18:46:38

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 3,477

Re: CE4 Cart Migration Error

Hi Herschel, I haven't come across that error before.  Something must have become broken with the upgrade scripts.
Can you provide me with a Backlight admin login, so that I can try and resolve this?  Also, please make sure the module-cart is there.

Offline

#3 2018-01-07 03:14:12

hjrw
Member
From: Peoria (Phoenix) AZ
Registered: 2012-10-01
Posts: 168

Re: CE4 Cart Migration Error

Hi Ben
I just emailed the info to you.
-Herschel

Offline

#4 2018-01-07 07:13:03

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 3,477

Re: CE4 Cart Migration Error

Thanks.  I've fixed your Cart upgrade, and the Cart module is back and not causing errors.
I am not sure why it failed at that point, but I made a workaround.

Offline

#5 2018-01-07 07:32:48

hjrw
Member
From: Peoria (Phoenix) AZ
Registered: 2012-10-01
Posts: 168

Re: CE4 Cart Migration Error

Thanks!

Offline

#6 2018-03-14 20:07:52

Dave C
Member
Registered: 2014-03-30
Posts: 82

Re: CE4 Cart Migration Error

Snap!

Clicking on the top right hand cross then the blank screen brings up the site. But then when clicking on another link the process has to be repeated.

I deleted the module-cart folder then re-copied it. Same thing happened.

http://galleries.photolens.co.uk/index.php

Offline

#7 2018-03-14 22:15:56

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 14,248
Website

Re: CE4 Cart Migration Error

this isn't anything to do with the Cart, but I noticed your site isn't behaving well at mobile sizes. This is due to the tables you're using for designing the page.
Tables, bad! (for design).
You're also using deprecated html (<h3 align="center"> for example).

Instead of tables, use the TTG Responsive Grid framework: http://ttg-tips-and-tricks.barbeephoto. … backlight/

And instead of deprecated html for inline styling, use css: <h3 style="text-align:center;"> for example.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Pangolin test site, Backlight 1.1.1 test site

Online

#8 2018-03-15 01:39:33

Dave C
Member
Registered: 2014-03-30
Posts: 82

Re: CE4 Cart Migration Error

It was working fine until I added the cart. [OK, the tables don't with mobiles!]

I will follow the advice.

Actually, the cart works on mobiles!

And, I've just discovered, on PCs!

Last edited by Dave C (2018-03-15 01:54:17)

Offline

#9 2018-03-15 02:09:09

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 14,248
Website

Re: CE4 Cart Migration Error

So the Cart is working and you have resolved any problems involved with migrating from CE4 Cart?


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Pangolin test site, Backlight 1.1.1 test site

Online

#10 2018-03-15 05:59:30

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 3,477

Re: CE4 Cart Migration Error

Hi Dave,  I've uploaded a new version of the Cart that addresses the upgrade issue.  I was never able to see why it happened, but this adds a work-around.  Can you download the zip file again, and replace backlight/modules/module-cart on your server?

Offline

#11 2018-03-16 01:01:29

Dave C
Member
Registered: 2014-03-30
Posts: 82

Re: CE4 Cart Migration Error

Fingers crossed!

Only slight downside is that on the home page [http://galleries.photolens.co.uk/index.php] the 2017 images are aligned left instead of centered as in 2018.

Please, don't bother to try and solve it - I will eventually! - you both havemany  more important challenges to solve.

Thanks once again to you both.

[I'll be back!!!]

Offline

#12 2018-03-16 01:58:13

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 14,248
Website

Re: CE4 Cart Migration Error

not too tough.
Try this in your custom css:

.grid_12 img {
  display: inline;
}

looks like inline or inline-block work equally well.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Pangolin test site, Backlight 1.1.1 test site

Online

#13 2018-03-16 20:58:39

Dave C
Member
Registered: 2014-03-30
Posts: 82

Re: CE4 Cart Migration Error

Cheers Rod.

Offline

Board footer

Powered by FluxBB