user warning: Table 'nynjtc_new.panels_info' doesn't exist query: SELECT did, title, path FROM panels_info WHERE path LIKE '%walt%' in /home/nynjtc/public_html/new/includes/database.mysql.inc on line 172.

I am running panels V2 so perhaps this is the problem as v1 and v2 have different databases.

Comments

starbow’s picture

Assigned: Unassigned » starbow

Try replacing line 131 with:

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

if that works for you, I will roll a new version.

starbow’s picture

Status: Active » Needs review
yktdan’s picture

I must have done something wrong in pasting in the full patch because I got a syntax error. However changing panels_info to panels_page makes it work so I am sure you have the right patch (modulo some syntax error I don't see - but it is late and I don't have time to try again and look closely.)

starbow’s picture

Status: Needs review » Fixed

Great, this will get rolled into 5.x-1.4

Anonymous’s picture

Status: Fixed » Closed (fixed)

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