Create New Linkshell Error..

Forum rules
NO LONGER BEING MAINTAINED!
Post Reply
User avatar
tagban
Posts: 352
Joined: Fri Dec 28, 2012 11:31 am
Location: Pennsylvania, USA

Create New Linkshell Error..

Post by tagban » Sun Apr 06, 2014 1:17 pm

When creating a new linkshell, get the message "The linkshell name you entered is already in use or otherwise unavailible. Please choose another name"

There are currently no linkshells on the server as its fairly newly installed/configured/setup. It might be something I did, but just wanted to mention it incase anyone else has the same issue?

User avatar
atom0s
Developer
Posts: 537
Joined: Thu Oct 25, 2012 9:52 am

Re: Create New Linkshell Error..

Post by atom0s » Sun Apr 06, 2014 1:41 pm

If you recently updated your source, I'd suggest looking at the sql changes closely.

User avatar
tagban
Posts: 352
Joined: Fri Dec 28, 2012 11:31 am
Location: Pennsylvania, USA

Re: Create New Linkshell Error..

Post by tagban » Sun Apr 06, 2014 1:58 pm

Yea I updated today, but also imported all the sql stuff.

User avatar
tagban
Posts: 352
Joined: Fri Dec 28, 2012 11:31 am
Location: Pennsylvania, USA

Re: Create New Linkshell Error..

Post by tagban » Sun Apr 06, 2014 2:08 pm

Got it! The issue is "BLOB" field for the LS message doesn't have a default value. When I right clicked/Design Table, and was able to set it to "Allow NULL", let me create the new Linkshell. That seems like something that should probably be adjusted for future updates though.

User avatar
tagban
Posts: 352
Joined: Fri Dec 28, 2012 11:31 am
Location: Pennsylvania, USA

Re: Create New Linkshell Error..

Post by tagban » Sun Apr 06, 2014 2:22 pm

The table structure was wrong.

Code: Select all

CREATE TABLE `linkshells` (
  `linkshellid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(20) NOT NULL DEFAULT '',
  `color` smallint(5) unsigned NOT NULL DEFAULT '61440',
  `poster` varchar(15) NOT NULL DEFAULT '',
  `message` blob,
  `messagetime` int(10) unsigned NOT NULL DEFAULT '0',
  `postrights` tinyint(3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`linkshellid`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
That fixed it for me.

- `message` varchar(115) NOT NULL DEFAULT '',
+ `message` BLOB NOT NULL,

Post Reply