MySql issue installation: mp_ForumSubscriptions doesn't exist

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
1/14/2009 12:39:38 AM
Gravatar
Total Posts 35
---------------- Alexei V.

Re: MySql issue installation: mp_ForumSubscriptions doesn't exist

Dear Joe!

I found the problem for a lot of issues in MySql queries
when a MySql server is running under linux systems, the table names are filenames (same as in win32 MySql server version) but, all Unix OS has case sensitive filenames.

So, the query

CREATE TABLE `mp_ForumThreads` (
`ThreadID` int(11) NOT NULL auto_increment,
`ForumID` int(11) NOT NULL default '0',
`ThreadSubject` varchar(255) NOT NULL default '',
`ThreadDate` datetime NOT NULL default '0000-00-00 00:00:00',
`TotalViews` int(11) NOT NULL default '0',
`TotalReplies` int(11) NOT NULL default '0',
`SortOrder` int(11) NOT NULL default '1000',
`IsLocked` tinyint(1) unsigned NOT NULL default '0',
`ForumSequence` int(11) NOT NULL default '1',
`MostRecentPostDate` datetime default NULL,
`MostRecentPostUserID` int(11) default NULL,
`StartedByUserID` int(11) NOT NULL default '0',
PRIMARY KEY (`ThreadID`),
KEY `FK_mp_ForumThreads_Forum` (`ForumID`),
CONSTRAINT `FK_mp_ForumThreads_Forum` FOREIGN KEY (`ForumID`) REFERENCES `mp_forums` (`ItemID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

of course fails, becouse there is no such table mp_forums.
it was creates with name mp_Forums

I just changed the case and it worked.
will be better to fix all the queries, to support Unix based Mysql versions.

thanks

Alexei Vladychevski (Алексей Владышевский)

 

1/14/2009 4:47:25 AM
Gravatar
Total Posts 18439

Re: MySql issue installation: mp_ForumSubscriptions doesn't exist

Hi Alexei,

You are correct, this is a bug in the scripts, it had passed my testing because on windows it forces lower case table names. I am making the same correction here.

I reviewed other MySql scripts and found similar problems in the blog and shared files scripts, so you should look at those as you are missing a few more tables releated to those features and will need to run the table scripts manually for thoswe as you did with this one.

Thanks,

Joe

1/14/2009 4:56:06 PM
Gravatar
Total Posts 44

Re: MySql issue installation: mp_ForumSubscriptions doesn't exist

Hey Joe, is this problem already fixed in 2.2.8.2 ?

or do i need to get the latest stuff from svn ?

1/15/2009 5:14:25 AM
Gravatar
Total Posts 18439

Re: MySql issue installation: mp_ForumSubscriptions doesn't exist

Its only fixed in svn so far as it was just reported yesterday. I hope to ship a fixed release soon.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.