Hi,

I've just installed the latest Panels alpha and created a page panel which turned out great. Worked fine and no errors.

A little time after, I installed another module (I think it was Meta Tags) and then I'm getting the following error for Panels:

user warning: Table 'drupal_test1.test1panels_info' doesn't exist query: SELECT * FROM test1panels_info WHERE path = 'node/add/panel-node' in /Users/MartinC/WebSites/drupal-5.2_test1/includes/database.mysql.inc on line 172.

Does anyone have any idea what's causing this. I've updated the database schema and no change.
The Page Panel I'd originally set up is operating fine as well.

Cheers
Martin

Comments

rastarr’s picture

I also uninstalled Panels per http://drupal.org/node/178792 and executed DELETE FROM test1system WHERE name = 'panels';

No errors (obviously since I blew everything away). I even deleted the files in the modules dir.

Recopied files, and installed just the Panels module and, wham, same error. The table just hasn't been created for some reason, per phpMyadmin.
It has created test1panels_display, test1panels_page and test1panels_pane though.

Any ideas?

rastarr’s picture

Me again :)

I'm still new to Drupal so bear that in mind.
I had a look through the panels.install file and couldn't see any CREATE TABLE {panels_info} in the file.
I've never created a module so I might be looking in the wrong place but thought it odd.

rastarr’s picture

I have now just installed the version 1 of Panels however it doesn't have the flexability I was after.
I thought that since it had no errors that I'd upgrade it to v2 alpha 11. Copied the new files into place and ran the update database script. What I did notice is it renames the panels_info table to panels_page.
So the new version actually removes panels_info.

I've no idea what is linking back to this panels_info query in Panels v2.11

summit’s picture

Hi,

I know Meta Tags and Panels have a relation (I asked for metatags in Panels say a year ago).
May be the mistake is on the Meta Tags side.
This module needs to be ported to the new Panels-functionality. And related to Panels Alpha 1 the panels tables are changed.
But may be because Panels 2 is still in alpha, the meta tags module is not changed yet.
I will be on holliday next week, but afterwards I can send you the code which I changed to get Meta Tags working with Panels alpha 10.

Greetings,
Martijn

merlinofchaos’s picture

Project: Panels » Nodewords: D6 Meta Tags
Version: 5.x-2.0-alpha11 » 5.x-1.x-dev

This is actually an issue with metatags, which is looking directly at a table that does not exist in Panels 2.

Meta tags can check panels_api_version() (function only exist with panels 2) to see which Panels API is being used.

rastarr’s picture

Thats' great news (in a way) that it isn't Panels - once I removed Meta Tags the problem went away so that's cool.
Just need MetaTags now to rectify their code.

Thanks again for your help

merlinofchaos’s picture

There is already a patch in the Meta tags queue by daveoxide that makes it compatible with Panels 2, btw. See http://drupal.org/node/180060

Robrecht Jacques’s picture

Status: Active » Closed (duplicate)