Ticket #1456 (closed Bugs: fixed)

Opened 6 years ago

Last modified 6 years ago

Paging module broken after 2.2.0RC1 upgrade

Reported by: jskuby Assigned to: gregmac
Priority: major Milestone:
Component: Paging & Intercom Version: 2.2rc1
Keywords: Cc:
Confirmation: Distro:
Backend Engine: All Distro Ver:
Backend Ver: SVN Revision (if applicable):

Description

After upgrading the paging module from 1.51 to 1.60, the existing page group is not functioning and adding a new group gives this error page:

object(db_error)(8) { ["error_message_prefix"]=> string(0) "" ["mode"]=> int(1) ["level"]=> int(1024) ["code"]=> int(-19) ["message"]=> string(23) "DB Error: no such field" ["userinfo"]=> string(112) "DELETE FROM paging_config WHERE page_group='' [nativecode=1054 ** Unknown column 'page_group' in 'where clause']" ["backtrace"]=> array(10) { [0]=> array(6) { ["file"]=> string(22) "/usr/share/pear/DB.php" ["line"]=> int(888) ["function"]=> string(10) "pear_error" ["class"]=> string(8) "db_error" ["type"]=> string(2) "->" ["args"]=> array(5) { [0]=> string(23) "DB Error: no such field" [1]=> int(-19) [2]=> int(1) [3]=> int(1024) [4]=> string(112) "DELETE FROM paging_config WHERE page_group='' [nativecode=1054 ** Unknown column 'page_group' in 'where clause']" } } [1]=> array(6) { ["file"]=> string(24) "/usr/share/pear/PEAR.php" ["line"]=> int(540) ["function"]=> string(8) "db_error" ["class"]=> string(8) "db_error" ["type"]=> string(2) "->" ["args"]=> array(4) { [0]=> int(-19) [1]=> int(1) [2]=> int(1024) [3]=> string(112) "DELETE FROM paging_config WHERE page_group='' [nativecode=1054 ** Unknown column 'page_group' in 'where clause']" } } [2]=> array(6) { ["file"]=> string(29) "/usr/share/pear/DB/common.php" ["line"]=> int(1848) ["function"]=> string(10) "raiseerror" ["class"]=> string(4) "pear" ["type"]=> string(2) "::" ["args"]=> array(7) { [0]=> NULL [1]=> int(-19) [2]=> NULL [3]=> NULL [4]=> string(112) "DELETE FROM paging_config WHERE page_group='' [nativecode=1054 ** Unknown column 'page_group' in 'where clause']" [5]=> string(8) "DB_Error" [6]=> bool(true) } } [3]=> array(6) { ["file"]=> string(28) "/usr/share/pear/DB/mysql.php" ["line"]=> int(894) ["function"]=> string(10) "raiseerror" ["class"]=> string(8) "db_mysql" ["type"]=> string(2) "->" ["args"]=> array(5) { [0]=> int(-19) [1]=> NULL [2]=> NULL [3]=> NULL [4]=> string(53) "1054 ** Unknown column 'page_group' in 'where clause'" } } [4]=> array(6) { ["file"]=> string(28) "/usr/share/pear/DB/mysql.php" ["line"]=> int(324) ["function"]=> string(15) "mysqlraiseerror" ["class"]=> string(8) "db_mysql" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [5]=> array(6) { ["file"]=> string(29) "/usr/share/pear/DB/common.php" ["line"]=> int(1165) ["function"]=> string(11) "simplequery" ["class"]=> string(8) "db_mysql" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> string(45) "DELETE FROM paging_config WHERE page_group=''" } } [6]=> array(6) { ["file"]=> string(58) "/share/var/www/html/admin/modules/paging/functions.inc.php" ["line"]=> int(253) ["function"]=> string(5) "query" ["class"]=> string(8) "db_mysql" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> string(45) "DELETE FROM paging_config WHERE page_group=''" } } [7]=> array(4) { ["file"]=> string(58) "/share/var/www/html/admin/modules/paging/functions.inc.php" ["line"]=> int(233) ["function"]=> string(10) "paging_del" ["args"]=> array(1) { [0]=> &string(0) "" } } [8]=> array(4) { ["file"]=> string(56) "/share/var/www/html/admin/modules/paging/page.paging.php" ["line"]=> int(47) ["function"]=> string(13) "paging_modify" ["args"]=> array(4) { [0]=> &string(0) "" [1]=> &string(3) "800" [2]=> &array(1) { [0]=> string(4) "5000" } [3]=> ∫(0) } } [9]=> array(4) { ["file"]=> string(36) "/share/var/www/html/admin/config.php" ["line"]=> int(268) ["args"]=> array(1) { [0]=> string(56) "/share/var/www/html/admin/modules/paging/page.paging.php" } ["function"]=> string(7) "include" } } ["callback"]=> NULL } Error in paging_del():

Change History

11/28/06 12:33:24 changed by gregmac

  • owner set to gregmac.

11/28/06 16:13:44 changed by gregmac

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in r3236