Recent Topics

1 Aug 02, 2007 15:49    

- b2evolution 1.10.2 no hacks
- plugins: defaults + livehits + Sitemap Plugin
- php: 5.2.0 & mysql 5.0.26 or php: 4.4.4 & mysql 5.0.27

I got an error for user "annie-pierre" in group: Basic Users with permission "Is member" and "Edit comts".
When this user is on the backoffice, he's able to click on the tab "blog settings", then:

An unexpected error has occured!

If this error persits, please report it to the administrator.

Additional information about this error:
Requested Blog from T_blogs without ID!
Backtrace:

   1. debug_die( "Requested Blog from T_blogs without ID!" )
      File: /home/www/blogs/inc/MODEL/dataobjects/_dataobjectcache.class.php on line 302
   2. DataObjectCache->get_by_ID( 0 )
      File: /home/www/blogs/inc/CONTROL/collections/blogs.php on line 68
   3. require( "/home/www/blogs/inc/CONTROL/collections/blogs.php" )
      File: /home/www/blogs/admin.php on line 122

Ignored last: 1

I attached screenshot about group and user permission
Here is the debug information

Debug info
Timers
Category	Time	%	Count
total	0.323	100.00%	1
main.inc	0.290	89.78%	1
sql_queries	0.104	32.20%	25
plugin_init	0.017	5.26%	1
abstractsettings_UserSettings_get	0.003	0.93%	2
abstractsettings_GeneralSettings_get	0.002	0.62%	4
plugins_register	0.002	0.62%	1
livehits_plugin_(#19)	0.000	0.00%	1
Hit::get_remote_host	0.000	0.00%	1
Database queries: 25.
Memory usage: 12.37 MB
Memory peak usage: 12.37 MB
Debug messages
dataobjects | hit | locale | login | memory | params | perms | plugins | session | settings | skin | timer | vars
dataobjects:

    * Loading User(32) into cache
    * DataObjectCache - Loading Group(ALL) into cache
    * Loading Blog(2) into cache

hit:

    * Referer is admin page.
    * IP: 127.0.0.1
    * UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.6) Gecko/20070730 SUSE/2.0.0.6-2.1 Firefox/2.0.0.6
    * Referer: 'http://localhost:1603/blogs/admin.php?blog=2'; type=admin
    * Remote Host: 

locale:

    * default_locale from conf: en-US
    * default_locale from DB: fr-FR
    * default_locale from HTTP_ACCEPT: fr-FR
    * default_locale from user profile: en-EU
    * $evo_charset follows $io_charset (iso-8859-1).
    * Set DB connection charset: latin1
    * evo_charset: iso-8859-1
    * io_charset: iso-8859-1

login:

    * login: NULL
    * pass: empty
    * Was already logged in... [annie-pierre]

memory:

    * Len of serialized $cache_imgsize: 2
    * Len of serialized $cache_File: 2

params:

    * param(-): tempskin as string
    * init $global_param_list
    * memorize_param: tempskin string default=
    * param(-): cookieb2evosession as string
    * memorize_param: locale string default=
    * param(-): login_action typed to array, new value=Array
    * param(-): collapse as string
    * param(-): expand as string
    * param(-): blog typed to integer, new value=2
    * memorize_param: blog integer default=2
    * param(-): mode as string
    * memorize_param: mode string default=
    * param(-): ctrl matched against /^[a-z0-9_]+$/
    * memorize_param: ctrl string default=edit
    * param(-): actionArray typed to array, new value=Array
    * param(-): tab as string
    * memorize_param: tab string default=general

perms:

    * Group perm admin:any: => granted
    * User perm admin:any: => granted
    * Group perm blogs:edit: => DENIED
    * User perm blog_properties:edit:2 => DENIED
    * Got perm [blog_properties][edit][2] from cache
    * Group perm blogs:edit: => DENIED
    * User perm blog_properties:edit:1 => DENIED
    * Got perm [blog_properties][edit][2] from cache
    * Group perm blogs:edit: => DENIED
    * User perm blog_properties:edit:4 => DENIED
    * Group perm blogs:edit: => DENIED
    * User perm blog_properties:edit:5 => DENIED
    * Group perm blogs:edit: => DENIED
    * User perm blog_properties:edit:8 => DENIED
    * Group perm blogs:edit: => DENIED
    * User perm blog_properties:edit:9 => DENIED

plugins:

    * Loading plugin events.
    * Trigger event SessionLoaded
    * No registered plugins.
    * Trigger event CachePageContent (first true)
    * No registered plugins.
    * Trigger event CacheObjects (first true)
    * No registered plugins.
    * Trigger event CacheObjects (first true)
    * No registered plugins.
    * Trigger event CacheObjects (first true)
    * No registered plugins.
    * Trigger event CacheObjects (first true)
    * No registered plugins.
    * Trigger event CacheObjects (first true)
    * No registered plugins.
    * Trigger event CacheObjects (first true)
    * No registered plugins.
    * Trigger event CacheObjects (first true)
    * No registered plugins.
    * Trigger event CacheObjects (first true)
    * No registered plugins.
    * Trigger event CacheObjects (first true)
    * No registered plugins.
    * Trigger event CacheObjects (first true)
    * No registered plugins.
    * Trigger event AfterLoginRegisteredUser
    * No registered plugins.
    * Trigger event AdminAfterMenuInit
    * Registered plugin IDs: 19
    * get_by_ID(): Instantiate Plugin (ID 19).
    * Loading plugins table data.
    * register(): livehits_plugin, ID: 19, priority: 90, classfile_path: [/home/www/blogs/plugins/livehits_plugin/_livehits.plugin.php]
    * Loading plugin class file: livehits_plugin
    * Calling livehits_plugin(#19)->AdminAfterMenuInit( )

session:

    * cookie_domain=
    * cookie_path=/blogs/
    * Session ID received from cookie: 272827
    * Session ID is valid.
    * Session user_ID: '32'
    * No session data available.

settings:

    * GeneralSettings::get( db_version// ): '9350'
    * GeneralSettings::get( time_difference// ): '0'
    * GeneralSettings::get( timeout_sessions// ): [DEFAULT]: '604800'
    * GeneralSettings::get( default_locale// ): 'fr-FR'
    * UserSettings::get( 32/selected_blog/ ): '2'
    * UserSettings::get( 32/admin_skin/ ): 'legacy'

skin:

    * Using admin skin «legacy»

timer:

    * Starting timer total
    * Starting timer main.inc
    * Starting timer abstractsettings_GeneralSettings_get
    * Starting timer sql_queries
    * Starting timer Hit::get_remote_host
    * Starting timer plugin_init
    * Starting timer abstractsettings_UserSettings_get
    * Starting timer plugins_register
    * Starting timer livehits_plugin_(#19)

vars:

    * Getting ReqURI from REQUEST_URI
    * $ReqHost: http://localhost:1603
    * $ReqURI: /blogs/admin.php?ctrl=collections
    * $ReqPath: /blogs/admin.php

2 Aug 15, 2007 11:42

Hi,

I have also this probelem on the version 1.10.2. The blog hide the content but not the tab :s

Thanks by advance,
Vince


Form is loading...