SQLSTATE

Asked by Carlos Costa

what is this error:

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'admin_digital.lkdatasetlayout' doesn't exist

Question information

Language:
English Edit question
Status:
Answered
For:
Xibo Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Dan Garner (dangarner) said :
#1

Hi Carlos,

Is this a new 1.6.2 installation? When do you get this message?
On 18 Jul 2014 16:02, "Carlos Costa" <email address hidden>
wrote:

> New question #251842 on Xibo:
> https://answers.launchpad.net/xibo/+question/251842
>
> what is this error:
>
> SQLSTATE[42S02]: Base table or view not found: 1146 Table
> 'admin_digital.lkdatasetlayout' doesn't exist
>
>
>
>
>
> --
> You received this question notification because you are a member of Xibo
> Developers, which is an answer contact for Xibo.
>

Revision history for this message
Dan Garner (dangarner) said :
#2

There was a problem with the installation files for fresh installs - if you can, you will need to run this SQL in phpmyadmin or similar:

ALTER TABLE `dataset` ADD `LastDataEdit` INT NOT NULL DEFAULT '0';

CREATE TABLE IF NOT EXISTS `lkdatasetlayout` (
  `LkDataSetLayoutID` int(11) NOT NULL AUTO_INCREMENT,
  `DataSetID` int(11) NOT NULL,
  `LayoutID` int(11) NOT NULL,
  `RegionID` varchar(50) NOT NULL,
  `MediaID` varchar(50) NOT NULL,
  PRIMARY KEY (`LkDataSetLayoutID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

Revision history for this message
Carlos Costa (innovuela) said :
#3

hello, yes is in 1.6.2 version... when i try to schedule a presentation...

Revision history for this message
Carlos Costa (innovuela) said :
#4

where i can run in phpmyadmin?

Revision history for this message
Dan Garner (dangarner) said :
#5

Do you have Xibo running on your own machine or on some hosting? If you are using XAMPP/WAMP then phpmyadmin is usually on http://yourmachinename/phpmyadmin/

Seeing as this was entirely my fault, i'd be happy to help you out if you can give me access to your Server machine (send details to <email address hidden> - not on here)

Revision history for this message
Marius Huianu (marius-huianu) said :
#6

Hi Dan,

I had the same problem, is ok now!!!

Best regards,
Marius

PS. I like your team work and this project

Can you help with this problem?

Provide an answer of your own, or ask Carlos Costa for more information if necessary.

To post a message you must log in.