Forums / Installing on a Windows Server / 1054 Unknown column 'value' in 'field list' ... "sessions" table

1054 Unknown column 'value' in 'field list' ... "sessions" table

Locked

Views: 3,237

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
10 Feb 2011, 10:39 PM
#1
westonm avatar

westonm

New Zenner

Join Date:
Feb 2011
Posts:
2
Plugin Contributions:
0

1054 Unknown column 'value' in 'field list' ... "sessions" table

I downloaded version 1.3.9h and installed recently. This is my first venture into shopping cart software and probably did not do something correctly on the install but don't know where to look to try and find it. I haven't found anything similar in FAQ's or on forum.
My problem:
When I start zen cart I get the following error message:
1054 Unknown column 'value' in 'field list'
in:
[select value from sessions where sesskey = 'dbsfvaulr7fol94969tj3avla0' and expiry > '1297377022']

I get a similar message when trying to run the admin console.
I am guessing I missed something on the install, but don't know what it would have been.

10 Feb 2011, 10:43 PM
#2
donal avatar

donal

Zen Follower

Join Date:
Jan 2009
Location:
Ireland
Posts:
442
Plugin Contributions:
0

Re: 1054 Unknown column 'value' in 'field list' ... "sessions" table

as it only takes a few minutes to install the easiest thing to do is to install it again assumming you have got to do anything yet:smile:

1 Jun 2012, 6:08 PM
#3
manage_it avatar

manage_it

Inactive

Join Date:
May 2006
Posts:
80
Plugin Contributions:
0

Re: 1054 Unknown column 'value' in 'field list' ... "sessions" table

Never had the problem. It occurred suddenly. What is the cause of this error?

1 Jun 2012, 6:23 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: 1054 Unknown column 'value' in 'field list' ... "sessions" table

The "cause" is that your database has been tampered with.

And whenever something "suddenly" occurs like that, you need to confer with everyone who has access to your site to see who changed what and why. People like your staff, your partners, your hosting company, etc.
And if none of them have any answers about what things they've done lately to the site (especially in relation to the timing of when the "suddenly" happened), then you need to consider your site hacked and take recovery steps until you can prove that it's not been hacked: http://www.zen-cart.com/wiki/index.php/Recovering_From_Hacks
And if you're using an old version of Zen Cart, it's probably time to upgrade to benefit from the latest security protections.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

1 Jun 2012, 8:57 PM
#5
manage_it avatar

manage_it

Inactive

Join Date:
May 2006
Posts:
80
Plugin Contributions:
0

Re: 1054 Unknown column 'value' in 'field list' ... "sessions" table

Problem was caused by installation of gallery3 which drops the session table and creates a new one with other column names. problem fixed by installing gallery3 with prefix or in another database. recreated the sesssion table manually.

1 Jun 2012, 9:04 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: 1054 Unknown column 'value' in 'field list' ... "sessions" table

Thanks for confirming that the problem was a result of installing other software that uses conflicting database tablenames.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.