Closed (duplicate)
Project:
Panels
Version:
7.x-3.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Feb 2014 at 11:45 UTC
Updated:
26 Feb 2014 at 00:29 UTC
Jump to comment: Most recent
->update.php
The version of Drupal you are updating from has been automatically detected.
panels module
7302 - Adding universally unique identifiers to panels.
7303 - Add a custom cache table for Panels.
->Apply pending Updates
and the result:
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table '14249129_new.cache_panels' doesn't exist: TRUNCATE {cache_panels} ; Array ( ) w cache_clear_all() (linia 165 z /includes/cache.inc).
Comments
Comment #1
taugusto commentedComment #2
taugusto commentedComment #3
taugusto commentedComment #4
taugusto commentedsolution by DamienMcKenna
Edit panels_update_7302() in panels.install and insert the following as the first line of the function:
Comment #5
philsward commentedMy solution was similar to #4 (which gave me the idea) but a little different...
Instead, I edited the database row for panels in the table "system".
It showed that the version was 7302 and I changed it to 7300. Ran update.php which found the previous update 7301 but also the two new updates as well. Went through without a hitch. (new version in database correctly shows as 7303)
Thx @taugusto (& DamienMcKenna) for pointing me in the right direction.
Comment #6
lyricnz commentedIf the submitter worked around the problem by hacking the install file, or creating DB tables, that's not "fixed". FWIW, I have the same problem.
Comment #7
japerryThis is a duplicate of #2188277: "cache_panels doesn't exist" error on update
There is a patch there now under review, which does fix the underlying issue with the schema being mismatched.