Fork me on GitHub

What does this error mean? Permission filter instance is invalid  Bottom

  • Code

    Exit-Handler: Permission filter instance is invalid: [], [], []
    Stacktrace: etc etc


    This then goes onto return a dump of data regarding themes. It happens after I added some new Autothemes.

    Clarification: It only occurs when I click on the Theme/Layout/Administration option - to try and list the themes. I assume the themes I have added are missing some core data?

    Cheers





    edited by: Namtrak, Aug 07, 2007 - 04:25 PM
  • The error message itself is clear; the question is *why* this is happening. Can you please post the stack trace?

    Greetings/Thanks
    R
  • No worries - I was concerned about gunking up the forums - but here you go...





    edited by: Namtrak, Aug 08, 2007 - 11:32 AM
  • Code

    Exit-Handler: Permission filter instance is invalid: [], [], []
    Stacktrace:

       1. (array) 0:
             1. (string) file = C:\xampp\htdocs\xampp\tennis\includes\pnobjlib\DBUtil.class.php
             2. (integer) line = 578
             3. (string) function = pn_exit
             4. (array) args:
                   1. (string) 0 = Permission filter instance is invalid: [], [], []
       2. (array) 1:
             1. (string) file = C:\xampp\htdocs\xampp\tennis\includes\pnobjlib\DBUtil.class.php
             2. (integer) line = 1389
             3. (string) function = marshallObjects
             4. (string) class = DBUtil
             5. (string) type = ::
             6. (array) args:
                   1. (object) 0:
                         1. (array) 0:
                               1. (string) 0 = 15
                               2. (string) 1 =
                               3. (string) 2 = 4
                               4. (string) 3 =
                               5. (string) 4 =
                               6. (string) 5 = 0
                               7. (string) 6 = d4nATBizBlueFW
                               8. (string) 7 = 0
                               9. (string) 8 = 0
                              10. (string) 9 =
                              11. (string) 10 =
                              12. (string) 11 = 0
                              13. (string) 12 = 1
                              14. (string) 13 = 0
                              15. (string) 14 = 1
                              16. (string) 15 =
                              17. (string) 16 =
                              18. (string) 17 =
                              19. (string) 18 =
                              20. (string) 19 = 1
                         2. (array) 1:
                               1. (string) 0 = 1
                               2. (string) 1 = Andreas08
                               3. (string) 2 = 3
                               4. (string) 3 = Andreas08
                               5. (string) 4 = The 'Andreas08' theme - a very good template for light, CSS-compatible themes.
                               6. (string) 5 = 0
                               7. (string) 6 = andreas08
                               8. (string) 7 = 1.1
                               9. (string) 8 = 0
                              10. (string) 9 = David Brucas, Mark West, Andreas Viklund
                              11. (string) 10 = http://dbrucas.povpromotions.com, http://www.markwest.me.uk, http://www.andreasviklund.com
                              12. (string) 11 = 0
                              13. (string) 12 = 1
                              14. (string) 13 = 0
                              15. (string) 14 = 1
                              16. (string) 15 =
                              17. (string) 16 =
                              18. (string) 17 =
                              19. (string) 18 =
                              20. (string) 19 = 1




    edited by: Namtrak, Aug 08, 2007 - 11:31 AM
  • Code

    #

      20.

    # (array) 2:

       1. (string) 0 = 13
       2. (string) 1 = ATCircle
       3. (string) 2 = 4
       4. (string) 3 = ATCircle
       5. (string) 4 =
       6. (string) 5 = 0
       7. (string) 6 = ATCircle
       8. (string) 7 = 0
       9. (string) 8 = 0
      10. (string) 9 =
      11. (string) 10 =
      12. (string) 11 = 0
      13. (string) 12 = 1
      14. (string) 13 = 0
      15. (string) 14 = 1
      16. (string) 15 =
      17. (string) 16 =
      18. (string) 17 =
      19. (string) 18 =
      20. (string) 19 = 1

    # (array) 3:

       1. (string) 0 = 2
       2. (string) 1 = Atom
       3. (string) 2 = 3
       4. (string) 3 = Atom
       5. (string) 4 = The 'Atom' theme, for rendering pages in Atom mark-up
       6. (string) 5 = 0
       7. (string) 6 = Atom
       8. (string) 7 = 1.0
       9. (string) 8 = 0
      10. (string) 9 = Franz Skaaning
      11. (string) 10 = http://www.lexebus.net/
      12. (string) 11 = 0
      13. (string) 12 = 0
      14. (string) 13 = 1
      15. (string) 14 = 1
      16. (string) 15 =
      17. (string) 16 =
      18. (string) 17 =
      19. (string) 18 =
      20. (string) 19 = 0

    # (array) 4:

       1. (string) 0 = 16
       2. (string) 1 = AutoTheme
       3. (string) 2 = 4
       4. (string) 3 = AutoTheme
       5. (string) 4 = Business style theme.
       6. (string) 5 = 0
       7. (string) 6 = d4nBizFlash
       8. (string) 7 = .85
       9. (string) 8 = 0
      10. (string) 9 = Designs4Nuke.com
      11. (string) 10 = http://www.designs4nuke.com
      12. (string) 11 = 0
      13. (string) 12 = 1
      14. (string) 13 = 0
      15. (string) 14 = 1
      16. (string) 15 =
      17. (string) 16 =
      18. (string) 17 =
      19. (string) 18 =
      20. (string) 19 = 1

    # (array) 5:

       1. (string) 0 = 3
       2. (string) 1 = ExtraLite
       3. (string) 2 = 1
       4. (string) 3 = ExtraLite
       5. (string) 4 = Legacy theme used during installation and upgrades, or for troubleshooting.
       6. (string) 5 = 0
       7. (string) 6 = ExtraLite
       8. (string) 7 = 1.0
       9. (string) 8 = 0
      10. (string) 9 = PostNuke Development Team
      11. (string) 10 = http://www.postnuke.com
      12. (string) 11 = 0
      13. (string) 12 = 0
      14. (string) 13 = 1
      15. (string) 14 = 1
      16. (string) 15 = docs/credits.txt
      17. (string) 16 = docs/changelog.txt
      18. (string) 17 = docs/help.txt
      19. (string) 18 = docs/license.txt
      20. (string) 19 = 1
  • Code

    #

      20.

    # (array) 6:

       1. (string) 0 = 4
       2. (string) 1 = Printer
       3. (string) 2 = 3
       4. (string) 3 = Printer
       5. (string) 4 = Display pages in a printer friendly format
       6. (string) 5 = 0
       7. (string) 6 = Printer
       8. (string) 7 = 2.0
       9. (string) 8 = 0
      10. (string) 9 = Mark West
      11. (string) 10 = http://www.markwest.me.uk
      12. (string) 11 = 0
      13. (string) 12 = 0
      14. (string) 13 = 1
      15. (string) 14 = 1
      16. (string) 15 =
      17. (string) 16 =
      18. (string) 17 =
      19. (string) 18 =
      20. (string) 19 = 1

    # (array) 7:

       1. (string) 0 = 5
       2. (string) 1 = RSS
       3. (string) 2 = 3
       4. (string) 3 = RSS
       5. (string) 4 = An auxiliary theme to display pages as an RSS feed.
       6. (string) 5 = 0
       7. (string) 6 = rss
       8. (string) 7 = 1.0
       9. (string) 8 = 0
      10. (string) 9 = Mark West
      11. (string) 10 = http://www.markwest.me.uk
      12. (string) 11 = 0
      13. (string) 12 = 0
      14. (string) 13 = 1
      15. (string) 14 = 1
      16. (string) 15 = docs/credits.txt
      17. (string) 16 = docs/changelog.txt
      18. (string) 17 = docs/help.txt
      19. (string) 18 = docs/license.txt
      20. (string) 19 = 0

    # (array) 8:

       1. (string) 0 = 6
       2. (string) 1 = SeaBreeze
       3. (string) 2 = 3
       4. (string) 3 = SeaBreeze
       5. (string) 4 = SeaBreeze Theme
       6. (string) 5 = 0
       7. (string) 6 = SeaBreeze
       8. (string) 7 = 0
       9. (string) 8 = 0
      10. (string) 9 = Vanessa Haakenson, Mark West, Martin Andersen
      11. (string) 10 = http://www.designs4nuke.com
      12. (string) 11 = 0
      13. (string) 12 = 1
      14. (string) 13 = 0
      15. (string) 14 = 1
      16. (string) 15 =
      17. (string) 16 =
      18. (string) 17 =
      19. (string) 18 =
      20. (string) 19 = 1

    # (array) 9:

       1. (string) 0 = 7
       2. (string) 1 = VoodooDolly
       3. (string) 2 = 3
       4. (string) 3 = VoodooDolly
       5. (string) 4 = The 'Voodoo Dolly' theme - a conservative but Web 2.0 look and feel, ready to go.
       6. (string) 5 = 0
       7. (string) 6 = voodoodolly
       8. (string) 7 = 1.0
       9. (string) 8 = 0
      10. (string) 9 = Mark West, pogy366
      11. (string) 10 = http://www.markwest.me.uk, http://www.dbfnetwork.info/rayk/index.html
      12. (string) 11 = 0
      13. (string) 12 = 1
      14. (string) 13 = 0
      15. (string) 14 = 1
      16. (string) 15 =
      17. (string) 16 =
      18. (string) 17 =
      19. (string) 18 =
      20. (string) 19 = 1
  • Code

    #

       6.
             1.
                  10.
                        20.
                  11. (array) 10:
                         1. (string) 0 = 14
                         2. (string) 1 = xD4NMeadows
                         3. (string) 2 = 3
                         4. (string) 3 = xD4NMeadows
                         5. (string) 4 =
                         6. (string) 5 = 0
                         7. (string) 6 = XMeadow
                         8. (string) 7 = 0
                         9. (string) 8 = 0
                        10. (string) 9 = Vanessa Haakenson
                        11. (string) 10 = http://www.designs4nuke.com
                        12. (string) 11 = 0
                        13. (string) 12 = 1
                        14. (string) 13 = 0
                        15. (string) 14 = 1
                        16. (string) 15 =
                        17. (string) 16 =
                        18. (string) 17 =
                        19. (string) 18 =
                        20. (string) 19 = 1
             2. (array) 1:
                   1. (string) 0 = id
                   2. (string) 1 = name
                   3. (string) 2 = type
                   4. (string) 3 = displayname
                   5. (string) 4 = description
                   6. (string) 5 = regid
                   7. (string) 6 = directory
                   8. (string) 7 = version
                   9. (string) 8 = official
                  10. (string) 9 = author
                  11. (string) 10 = contact
                  12. (string) 11 = admin
                  13. (string) 12 = user
                  14. (string) 13 = system
                  15. (string) 14 = state
                  16. (string) 15 = credits
                  17. (string) 16 = changelog
                  18. (string) 17 = help
                  19. (string) 18 = license
                  20. (string) 19 = xhtml
             3. (boolean) 2 = 1
             4. (string) 3 =
             5. (boolean) 4 = 1
             6. (array) 5:
                   1. (array) 0:
                         1. (integer) realm = 0
                         2. (string) component_left = Theme
                         3. (string) instance_left = name
                         4. (integer) level = 200
             7. (string) 6 = themes

    # (array) 2:

       1. (string) file = C:\xampp\htdocs\xampp\tennis\includes\pnobjlib\ThemeUtil.class.php
       2. (integer) line = 197
       3. (string) function = selectObjectArray
       4. (string) class = DBUtil
       5. (string) type = ::
       6. (array) args:
             1. (string) 0 = themes
             2. (string) 1 =
             3. (string) 2 = ORDER BY pn_name
             4. (integer) 3 = 0
             5. (integer) 4 = -1
             6. (string) 5 =
             7. (array) 6:
                   1. (array) 0:
                         1. (integer) realm = 0
                         2. (string) component_left = Theme
                         3. (string) instance_left = name
                         4. (integer) level = 200

    # (array) 3:

       1. (string) file = C:\xampp\htdocs\xampp\tennis\system\Theme\pnadmin.php
       2. (integer) line = 103
       3. (string) function = getAllThemes
       4. (string) class = ThemeUtil
       5. (string) type = ::
       6. (array) args:
             1. (integer) 0 = 0
             2. (integer) 1 = 0

    # (array) 4:

       1. (string) file = C:\xampp\htdocs\xampp\tennis\system\Theme\pnadmin.php
       2. (integer) line = 25
       3. (string) function = theme_admin_view
       4. (array) args: (empty)

    # (array) 5:

       1. (string) file = C:\xampp\htdocs\xampp\tennis\includes\pnMod.php
       2. (integer) line = 631
       3. (string) function = theme_admin_main
       4. (array) args:
             1. (array) 0: (empty)

    # (array) 6:

       1. (string) file = C:\xampp\htdocs\xampp\tennis\includes\pnMod.php
       2. (integer) line = 568
       3. (string) function = pnModFuncExec
       4. (array) args:
             1. (string) 0 = Theme
             2. (string) 1 = admin
             3. (string) 2 = main
             4. (array) 3: (empty)

    # (array) 7:

       1. (string) file = C:\xampp\htdocs\xampp\tennis\index.php
       2. (integer) line = 98
       3. (string) function = pnModFunc
       4. (array) args:
             1. (string) 0 = Theme
             2. (string) 1 = admin
             3. (string) 2 = main
             4. (array) 3: (empty)
  • I'm looking at this problem now. It seems to be caused by certain autothemes. In the new theme module we attempt to extract certain info about autothemes from thier theme.cfg file. It appears that the contents of this file is not 100% consistent across all themes.

    -Mark

    --
    Visit My homepage and Zikula themes.
  • I *think* i've now fixed this in SVN. The fix will be present in the next daily. You *may* need to kill the entry for the AutoTheme from the themes DB table manually.

    -Mark

    --
    Visit My homepage and Zikula themes.
  • No worries, will provide feedback forthwith. I'll try and be as quick as the England team is going to exit the Rugby World Cup :)
  • No worries, once I figured out how to muck around with the SVN it all seems to be going along swimmingly.

    Now I think I am up to the point where errors and screwed up displays need to be adjusted by the Theme author?

    Is it a quantam leap to convert a theme which worked previously under .764 to .81? I have just converted a couple from Xanthia 2.0 to 3.0 (pressed the button without really knowing what that does) and I have started a discussion with the theme developer for the other AutoTheme themes

    One AT theme still converts directly to Extralite but the other AT themes don't.

    Once I can get some AT themes working neatly under .81 I'm gonna start mucking around with the categories - first look was daunting but no point not diving in the deep end there!!

    Cheers

This list is based on users active over the last 60 minutes.