Whenever I install it as part of an install profile or along with other modules in admin/build/modules, it gives this error:
user warning: Table 'db.panels_page' doesn't exist query: SELECT * FROM panels_page in /var/www/localhost/htdocs/segundo/includes/database.mysqli.inc on line 151.

It isn't a problem if I enable the module by itself or I comment out the panels modules from the install profile and then install it.

Comments

solutiondrop’s picture

I get the following errors when using the latest 5.x-2.x-dev version along with a clean Drupal 5.x-dev when I enable Mini panels, Panel pages, and Panels. This also occurred when I deactivated and uninstalled the modules and retried as per http://drupal.org/node/218680
Thanks for the great module.

    * user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')/*!40100 DEFAULT CHARACTER SET utf8 */' at line 25 query: CREATE TABLE panels_page ( pid int(10) NOT NULL DEFAULT 0 PRIMARY KEY, name varchar(255) UNIQUE, did int(10), title varchar(128), access varchar(128), path varchar(128), css_id varchar(128), css longtext, arguments longtext, displays longtext, contexts longtext, relationships longtext, no_blocks int(1) DEFAULT 0, -- menu fields menu int(1) DEFAULT 0, menu_tab int(1), menu_tab_weight int(4), menu_title varchar(255), menu_tab_default int(1), menu_tab_default_parent_type varchar(10), menu_parent_title varchar(255), menu_parent_tab_weight int(4), KEY path (path), )/*!40100 DEFAULT CHARACTER SET utf8 */ in /var/www/vhosts/example.com/httpdocs/includes/database.mysql.inc on line 172.
    * user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') /*!40100 DEFAULT CHARACTER SET utf8 */' at line 12 query: CREATE TABLE panels_pane ( pid int(10) NOT NULL DEFAULT 0 PRIMARY KEY, did int(10) NOT NULL DEFAULT 0, panel varchar(32), type varchar(32), subtype varchar(64), access varchar(128), configuration longtext, cache longtext, position int(5), KEY (did), ) /*!40100 DEFAULT CHARACTER SET utf8 */ in /var/www/vhosts/example.com/httpdocs/includes/database.mysql.inc on line 172.
    * user warning: Table 'example_drupal5.panels_page' doesn't exist query: SELECT * FROM panels_page in /var/www/vhosts/example.com/httpdocs/includes/database.mysql.inc on line 172.
    * user warning: Table 'example_drupal5.panels_page' doesn't exist query: SELECT * FROM panels_page in /var/www/vhosts/example.com/httpdocs/includes/database.mysql.inc on line 172.
    * user warning: Table 'example_drupal5.panels_page' doesn't exist query: SELECT * FROM panels_page in /var/www/vhosts/example.com/httpdocs/includes/database.mysql.inc on line 172.
    * user warning: Table 'example_drupal5.panels_page' doesn't exist query: SELECT * FROM panels_page in /var/www/vhosts/example.com/httpdocs/includes/database.mysql.inc on line 172.
merlinofchaos’s picture

Status: Active » Fixed

Whooops. A recent commit put a typo in the .install file. Fixed now.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

mobabo’s picture

I'm having this issue, even with the latest version of panels 2. Could it have been reintroduced?

adamtyoung’s picture

I am also having the exact problem with Drupal 6 and Panels 6.x-2.0-alpha2.

sdboyer’s picture

Assigned: Unassigned » sdboyer

Yeah, this is due to a shortcut we took in the install files. I'll ameliorate it.