Arrow Home arrow Forums
larger font smaller font default font Fixed screen resolution Auto adjust screen size

Joomlapolis Forums  


<< Start < Prev 1 2 Next > End >>
(NO BUG) uddeim SQL error: Unknown column
Date: 2008/04/19 22:40 By: MrPerez Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 5
graphgraph
i am getting this error when i try to send a private message to someone.

Code:

 SQL errorDB function failed with error number 1054 Unknown column 'lastsent' in 'field list' SQL=UPDATE jos_uddeim_emn SET lastsent=1208644428 WHERE userid=62 SQL UPDATE jos_uddeim_emn SET lastsent=1208644428 WHERE userid=62



Post edited by: slabbi, at: 2008/08/13 12:07
Click here to see the profile of this user The administrator has disabled public write access.

Re:uddeim SQL error when sending
Date: 2008/04/19 22:41 By: slabbi Status: CB Doc subscriber  
Karma: 62  
Moderator

Posts: 1063
graphgraph
PLEASE USE THE FORUM SEARCH!

PLEASE CHECK THE README! It explains how to upgrade uddeIM.

Post edited by: slabbi, at: 2008/07/16 20:55
CB Language Workgroup
uddeIM Development
CB 3rd Party Developer
Click here to see the profile of this user The administrator has disabled public write access.

Re:(NO BUG,SOLVED) uddeim SQL error when sending
Date: 2008/04/19 23:05 By: MrPerez Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 5
graphgraph
slabbi was right looked in the read me and saw the tables i needed to inject into the DB of my site but for those that are still wondering here is what i injected using MySQLAdmin. even tho i dont remember upgrading and i did do a first time install i still had to do this, maybe i was drunk at the time and might not remember.

below is the code to inject, it is included in the README UDDEIM 1.1 along with other upgraded versions.

Code:

 ALTER TABLE `jos_uddeimADD `publicnameTEXT ;         ALTER TABLE `jos_uddeimADD `publicemailTEXT ;         ALTER TABLE `jos_uddeim_emnADD `publicINT) DEFAULT '0' NOT NULL ;         ALTER TABLE `jos_uddeim_emnADD `lastsentINT11 ) DEFAULT '0' NOT NULL ;         CREATE TABLE IF NOT EXISTS `jos_uddeim_userlists` (            `idint(11NOT NULL auto_increment,            `useridint(11NOT NULL default '0',            `namevarchar(40NOT NULL default '',            `descriptiontext NOT NULL,            `useridstext NOT NULL,            PRIMARY KEY  (`id`),            KEY `userid` (`userid`)         ) TYPE=MyISAM;

Click here to see the profile of this user The administrator has disabled public write access.

Re:(NO BUG,SOLVED) uddeim SQL error when sending
Date: 2008/04/20 10:40 By: slabbi Status: CB Doc subscriber  
Karma: 62  
Moderator

Posts: 1063
graphgraph
Note: Above is for upgrading uddeIM 1.0 to 1.1 only.

Check the README when you upgrade from an earlier version of uddeIM.

CB Language Workgroup
uddeIM Development
CB 3rd Party Developer
Click here to see the profile of this user The administrator has disabled public write access.

Re:(NO BUG,SOLVED) uddeim SQL error when sending
Date: 2008/04/30 10:57 By: gicug Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 9
graphgraph
ALTER TABLE `jos_uddeim` ADD `publicname` TEXT ;
Is that how am supposed to add or salve the table?


OPTIMIZE TABLE `jos1_uddeim``publicname` TEXT ;

Can a good smaritan help me with how to ALTER TABLE.

With me i have tried to click on Jos_uddeim and then Optimized of the the page took me to another page where i can edit the table. But i did not know what to do next or how to ALTER TABLE 'jos_uddeim'

Your help with how to do this will be highly appreciated.

Thanks
Click here to see the profile of this user The administrator has disabled public write access.

Re:(NO BUG,SOLVED) uddeim SQL error when sending
Date: 2008/04/30 11:02 By: MrPerez Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 5
graphgraph
You have to be able to get in your mysql admin page and you have to add the code thats in the READ ME and press GO dont worry about alrering the tables the entire code does it for you.

Try this When you log in to your phpMyAdmin, then click on DATABASES then click the database you want to add the code into then click SQL and copy the code thats for your version both are below and also in the README file then when finished inderting the code press GO, that should do the rest for you.

When you upgrade 1.0 to 1.1:

Code:

 ALTER TABLE `jos_uddeimADD `publicnameTEXT ;         ALTER TABLE `jos_uddeimADD `publicemailTEXT ;         ALTER TABLE `jos_uddeim_emnADD `publicINT) DEFAULT '0' NOT NULL ;         ALTER TABLE `jos_uddeim_emnADD `lastsentINT11 ) DEFAULT '0' NOT NULL ;         CREATE TABLE IF NOT EXISTS `jos_uddeim_userlists` (            `idint(11NOT NULL auto_increment,            `useridint(11NOT NULL default '0',            `namevarchar(40NOT NULL default '',            `descriptiontext NOT NULL,            `useridstext NOT NULL,            PRIMARY KEY  (`id`),            KEY `userid` (`userid`)         ) TYPE=MyISAM;



When you upgrade 0.9b to 1.1:

Code:

 ALTER TABLE `jos_uddeimADD `publicnameTEXT ;         ALTER TABLE `jos_uddeimADD `publicemailTEXT ;         ALTER TABLE `jos_uddeim_emnADD `publicINT) DEFAULT '0' NOT NULL ;         ALTER TABLE `jos_uddeim_emnADD `lastsentINT11 ) DEFAULT '0' NOT NULL ;         CREATE TABLE IF NOT EXISTS `jos_uddeim_config` (             `varnametinytext NOT NULL,             `valuetinytext NOT NULL,             PRIMARY KEY (`varname`(30))         ) TYPE=MyISAM;         CREATE TABLE IF NOT EXISTS `jos_uddeim_userlists` (            `idint(11NOT NULL auto_increment,            `useridint(11NOT NULL default '0',            `namevarchar(40NOT NULL default '',            `descriptiontext NOT NULL,            `useridstext NOT NULL,            PRIMARY KEY  (`id`),            KEY `userid` (`userid`)         ) TYPE=MyISAM;



Post edited by: MrPerez, at: 2008/04/30 11:17
Click here to see the profile of this user The administrator has disabled public write access.

<< Start < Prev 1 2 Next > End >>

Documentation

Documentation Subscription Service
(updated for CB 1.2 RC2)

What?

Why?

Where?

Just click here for answers!

Click here for a yearly subscription: subscribe now

Download Latest Release

The latest stable Community Builder Release is version 1.1 for Joomla 1.0 and Mambo.
You need to be a registered member of Joomlapolis to download.

The latest release candidate of Community Builder is version 1.2 RC3, native for Joomla 1.0, 1.5 and Mambo.
It is available as "thank you" to all CB documentation subscribers at this time.

CB Login