Conflict with Panels 2

Caleb G - oldacct - November 17, 2007 - 19:33
Project:Find URL Alias
Version:5.x-1.3-3
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

Installing find_path.module with Panels 2 results in the following error due to a schema change in Panels 2:

user warning: Table 'sjde3v_db.panels_info' doesn't exist query: SELECT did, title, path FROM panels_info WHERE path LIKE '%noodle%' in /Library/WebServer/Documents/sliding/includes/database.mysqli.inc on line 151.

The problem is solved by doing a universal search and replace for all instances of panels_info with panels_page. This is a known problem with the nodewords.module as well. Documenting here to provide yet another place for people to troubleshoot such issues.

~~
HigherVisibility

#1

starbow - December 1, 2007 - 00:16

Hmm, I think I will wait until Panel 2 gets out of alpha to address this.

#2

Caleb G - oldacct - December 1, 2007 - 04:48

Ok your call of course and I understand the intention but in this case, based on lengthy conversations with Earl and use of Panels 2 it's safe to say this aspect of Panels 2 is frozen. It's alpha #14 right now with the beta promised very soon. The stuff he's working on is relatively minor stuff, because he needs to have Panels wrapped so that he can get back to views. In any case, cheers!

#3

Caleb G - oldacct - December 5, 2007 - 05:17

Earl has left a new message on the panels project homepage about this issue:

An important note if you're new to Panels 2
If you see a message like this one:
user warning: Table 'panels_info' doesn't exist query: SELECT * FROM panels_info WHERE path = 'admin/build/modules' in includes/database.mysql.inc on line 172.

Please to go the Meta Tags (nodewords) module and search the issue queue for Panels patches. Please post an endless list of complaints in that module and get the author to fix this, because I am really damned tired of this issue darkening my issue queue.

I guess he's saying that it's frozen... :p

#4

volkerk - February 8, 2008 - 17:14

QuickFix:

in find_path.module line 131:

- $result = db_query("SELECT did, title, path FROM {panels_info} WHERE path LIKE '%s'", $path);
+ $result = db_query("SELECT did, title, path FROM {panels_page} WHERE path LIKE '%s'", $path);

table was renamed in panels module.

#5

starbow - February 8, 2008 - 21:54
Status:active» patch (code needs review)

#6

starbow - July 17, 2008 - 18:15
Status:patch (code needs review)» fixed

#7

Anonymous (not verified) - July 31, 2008 - 18:25
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.