Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

1146 - Table 'gifthk_osc1.sessions' doesn't exist


kent

Recommended Posts

DOES ANY ONE CAN HELP ME, BECAUSE I AM A NEW GUY, PLZ MORE EXPLAIN FOR HOW TO FIX IT

 

1146 - Table 'gifthk_osc1.sessions' doesn't exist

select value from sessions where sesskey = '7589ddf353f801f53f09f95af3694c6f' and expiry > '1056127603'

Link to comment
Share on other sites

Did you just install the system? It sounds like a value wasn't specified correctly during your installation. I would think that it should just be looking for table "sessions" not the'gifthk_osc1.sessions' that it is saying. Just a thought. Something in your configuration is not right. If all you've done is installed it, try to delete the catalog and admin directories and files and install it again, paying particular attention to the database configuration. What version did you install?

 

HankFrid

If I build it...they will come.

If I don't try to build it.....I will never know!

Link to comment
Share on other sites

i forgot tell you how i got this problem, first i got problem is

"can not open sessions"xxxxx some thing like this i can't remember ,

and someone tell me drop the sessions table that would be ok , and then i did it, then i got this problem.....

Link to comment
Share on other sites

2.2 version i installed.

 

Could you tell me another way for add a lot of photos into database, not add on website,

because i think when i add los of similar photos into the same folder i have

to put the link and description one by one on the website, that quite waste

time.

Link to comment
Share on other sites

i forgot tell you how i got this problem, first i got problem is  

 "can not open sessions"xxxxx   some thing like this i can't remember ,

and someone tell me drop the sessions table that would be ok , and then i did it, then i got this problem.....

 

You must create a new sessions table - run this on your database:

 

DROP TABLE IF EXISTS sessions;

CREATE TABLE sessions (

 sesskey varchar(32) NOT NULL,

 expiry int(11) unsigned NOT NULL,

 value text NOT NULL,

 PRIMARY KEY (sesskey)

);

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...