Database table not found after installing component

Resolve missing database tables after installing ChronoForms.

Overview

The issue occurs when the installation process fails to create the required database tables, often due to using "Install From URL" or encountering unsupported SQL queries like DESCRIBE in PostgreSQL.
Manually create the missing tables by running the provided SQL scripts in your database management tool, ensuring to replace the placeholder prefix with your actual table prefix.

Answered
dj djadan 15 Jun, 2015
Hi

I didn't have FTP access to the website I'm fixing (it also has a small limit on form uploads) so I used Install From URL. It told me the install was OK but I get a message when going to the Chronoforms compenent saying: Table 'clarkeresidenti.hw9nf_chronoengine_chronoforms' doesn't exist SQL=DESCRIBE `hw9nf_chronoengine_chronoforms`

hw9nf is the table prefix and clarkeresidenti is the database.

Any ideas please?

Thanks

Dan
Gr GreyHead 15 Jun, 2015
Answer
Hi Dan,

Here is the SQL for creating the tables
--
-- Table structure for table `#__chronoengine_extensions`
--

CREATE TABLE IF NOT EXISTS `#__chronoengine_extensions` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `addon_id` int(11) NOT NULL,
  `name` varchar(255) NOT NULL,
  `title` varchar(255) NOT NULL,
  `enabled` tinyint(1) NOT NULL,
  `ordering` int(4) NOT NULL,
  `settings` text NOT NULL,
  PRIMARY KEY (`id`),
  KEY `name` (`name`)
) DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `#__chronoengine_forms`
--

CREATE TABLE IF NOT EXISTS `#__chronoengine_chronoforms` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(255) NOT NULL DEFAULT '',
  `params` text NOT NULL,
  `extras` longtext NOT NULL,
  `published` tinyint(1) NOT NULL DEFAULT '1',
  `app` varchar(255) NOT NULL DEFAULT '',
  `form_type` int(1) NOT NULL DEFAULT '1',
  `content` longtext NOT NULL,
  PRIMARY KEY (`id`)
) DEFAULT CHARSET=utf8;

Bob
fr friends 16 Sep, 2015
Hi Bob,

I have done a new installation v5.0.10. After installation, I do a test form in demo-dynamic-data-dropdown. It is giving me this error Table 'i1658427_jos1.b3afj_usergroups' doesn't exist SQL=DESCRIBE `b3afj_usergroups`.

The same error is thrwown when i select this table name from the dropdown under "connected tables"
Gr GreyHead 16 Sep, 2015
Hi friends,

This appears to be a problem with PostGres SQL which doesn't recognise the SQL DESCRIBE query. Are you using that for your site?

Bob
This topic is locked and no more replies can be posted.