Hi champs,
I need a help here. I have searched and came across one of your forums that it may be similar to my issue about "unknown column" and "jos_session"
I have site on Joomla CMS for long while until I got email from hosting provider saying they have upgraded to PHP 5.3 and MySQL 5.1 on new Linux/cPanel servers and said that the older version of Joomla my be affected which need upgrade version. So I did tried to upgrade (after backups done on site and DB) via Softaculous but made a mistake as was using Joomla 1.7 instead of Joomla 1.5 which didn't work. So I got the back up done on site and database.
Before I could even upgrade to 1.5.23, I got this message on both site (index.php) and CMS (/administrator/index.php) as follows -
Unknown column 'client_id' in 'field list' SQL=INSERT INTO `jos_session` (`session_id`, `client_id`, `time`) VALUES ('fa0b834af10b6c9a8743e82e447e4f49', 0, 1317292656)
So havig searched the internet and came across to this forum page discussion and said to fix this is to drop the table and recreate it.
So I got the code from your page as follows:
CREATE TABLE `jos_session` ( `username` varchar(150) default '', `time` varchar(14) default '', `session_id` varchar(200) NOT NULL default '0', `guest` tinyint(4) default '1', `userid` int(11) default '0', `usertype` varchar(50) default '', `gid` tinyint(3) unsigned NOT NULL default '0', `client_id` tinyint(3) unsigned NOT NULL default '0', `data` longtext, PRIMARY KEY (`session_id`(64)), KEY `whosonline` (`guest`,`usertype`), KEY `userid` (`userid`), KEY `time` (`time`) );
Are they right one for me to use? Not sure how to do this but to save lot of typing - please see the screen-shot image (see link) to see if I am placing in the right place on my "phpMyAdmin" site?
Screen shot image -
http://www.lyndonborrow.com/download/screen_shot_myphpadmin_01.PNG
Let me know if that is right before I can take the next step? Just in case if you need to know my server information etc - see on further below.
Many thanks.
Lyndon
=====================================================
MySQL
Server: Localhost via UNIX socket
Server version: 5.1.56
Protocol version: 10
User: dibf@localhost
MySQL charset: UTF-8 Unicode (utf8)
Web server
cpsrvd 11.30.4.6
MySQL client version: 5.1.56
PHP extension: mysql
phpMyAdmin
Version information: 3.4.5, latest stable version: 3.4.5