Recent Topics

1 Feb 05, 2007 13:36    

After upgrading to b2evo v 1.8.6 the file manager or picture upload is not accesible anymore. I'm getting the message "Requested Blog does not exist!" I have checked the user rights and the new checkboxes available to define several fiolders etc. But nothing helps.

2 Feb 05, 2007 17:45

Where do you get the "Requested Blog does not exist!" error?

Please enable $debug in /conf/_advanced.php - this should add a backtrace to the error message. Please post it here.

3 Feb 06, 2007 06:06

Required messages are attached to the posting

it seems the query makes the problem

DataObject by ID. Query: SELECT * FROM T_blogs WHERE blog_ID = 3

as I don't have a blog with blog_id=3, there is only one blog with blog_id 1

06.02.2007 08:57:06 http://www.adp-site.org/abudhabi/admin.php?ctrl=files&mode=upload
Ein unerwarteter Fehler ist aufgetreten!
Wenn dieser Fehler weiterhin auftritt, berichte ihn bitte an den Administrator.
Gehe zurück zur Startseite
Zusätzliche Informationen zu diesem Fehler:
Requested Blog does not exist!
Backtrace:
1. debug_die()
File: /data/members/paid/a/d/adp-site.org/htdocs/www/
abudhabi/inc/MODEL/dataobjects/_dataobjectcache.class.php:346
2. blogcache->get_by_id()
File: /data/members/paid/a/d/adp-site.org/htdocs/www/
abudhabi/inc/MODEL/files/_fileroot.class.php:103
3. fileroot->fileroot( "Requested Blog does not exist!" )
File: /data/members/paid/a/d/adp-site.org/htdocs/www/
abudhabi/inc/MODEL/files/_filerootcache.class.php:83
4. filerootcache->get_by_type_and_id( "3" )
File: /data/members/paid/a/d/adp-site.org/htdocs/www/
abudhabi/inc/MODEL/files/_file.funcs.php:611
5. get_available_fileroots()
File: /data/members/paid/a/d/adp-site.org/htdocs/www/
abudhabi/inc/CONTROL/files/files.php:113
6. require( "/data/members/paid/a/d/adp-site.org/htdocs/www/
abudhabi/inc/CONT..." )
File: /data/members/paid/a/d/adp-site.org/htdocs/www/
abudhabi/admin.php:122
Ignored last: 1
Debug info
Timers
Category Time % Count
total 0.358 100.00% 1
main.inc 0.253 70.67% 1
Seite 2
06.02.2007 08:57:06 http://www.adp-site.org/abudhabi/admin.php?ctrl=files&mode=upload
sql_queries 0.014 3.91% 14
plugin_init 0.001 0.28% 1
Hit::get_remote_host 0.000 0.00% 1
Database queries: 14.
Memory usage: 6.64 MB
Debug messages
dataobjects | hit | locale | login | memory | params | perms | plugins | session | settings | skin | timer |
vars
dataobjects:
Loading User(4) into cache
dataobjectcache - Loading Group(ALL) into cache
Loading Blog(criterion: browse) into cache
Loading Blog(1,3,4) into cache
Loading Blog(3) into cache
Could not get DataObject by ID. Query: SELECT * FROM T_blogs WHERE blog_ID = 3
hit:
Referer is admin page.
IP: 139.25.220.174
UserAgent: Opera/9.00 (Windows NT 5.1; U; de)
Referer: 'http://www.adp-site.org/abudhabi/admin.php?blog=1'; type=blacklist
Remote Host:
locale:
default_locale from conf: en-EU
default_locale from DB: de-DE
default_locale from HTTP_ACCEPT: en-EU
default_locale from user profile: de-DE
Set DB connection charset: latin1
evo_charset (_main.inc.php): iso-8859-1
io_charset (_main.inc.php): iso-8859-1
login:
login: NULL
pass: empty
Was already logged in... [thomas.h]
memory:
Len of serialized $cache_imgsize: 2
Seite 3
06.02.2007 08:57:06 http://www.adp-site.org/abudhabi/admin.php?ctrl=files&mode=upload
Len of serialized $cache_File: 2
params:
param(-): tempskin as string
init $global_param_list
memorize_param: tempskin string default=
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=1
memorize_param: blog integer default=1
param(-): mode as string
memorize_param: mode string default=
param(-): ctrl matched against /^[a-z0-9_]+$/
memorize_param: ctrl string default=edit
param(-): root_and_path as string
memorize_param: root string default=
param(-): path as string
memorize_param: path string default=/
param(-): new_root as string
memorize_param: fm_mode string default=
param(-): actionArray typed to array, new value=Array
perms:
Group perm admin:any: => granted
User perm admin:any: => granted
Group perm files:view: => granted
User perm files:view: => granted
Group perm files:view: => granted
User perm files:view: => granted
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.
Seite 4
06.02.2007 08:57:06 http://www.adp-site.org/abudhabi/admin.php?ctrl=files&mode=upload
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
No registered plugins.
session:
ID (from cookie): 105
ID is valid.
user_ID: '4'
No session data available.
settings:
generalsettings::get( db_version ): '9200'
generalsettings::get( time_difference ): '0'
generalsettings::get( timeout_sessions ): [DEFAULT]: '604800'
generalsettings::get( default_locale ): 'de-DE'
usersettings::get( 4, selected_blog ): '1'
usersettings::get( 4, admin_skin ): 'evo'
generalsettings::get( fm_enabled ): '1'
generalsettings::get( fm_enabled ): '1'
generalsettings::get( fm_enable_roots_user ): '1'
generalsettings::get( fm_enable_roots_user ): '1'
generalsettings::get( fm_enable_roots_blog ): '1'
generalsettings::get( fm_enable_roots_blog ): '1'
skin:
Using admin skin «evo»
timer:
Starting timer total
Starting timer main.inc
Starting timer sql_queries
Starting timer Hit::get_remote_host
Seite 5
06.02.2007 08:57:06 http://www.adp-site.org/abudhabi/admin.php?ctrl=files&mode=upload
Starting timer plugin_init
vars:
Getting ReqURI from REQUEST_URI
$ReqHost: http://www.adp-site.org
$ReqURI: /abudhabi/admin.php?ctrl=files&mode=upload
$ReqPath: /abudhabi/admin.php
DB
DB queries: 14
Query #1:
SELECT set_name, set_value
FROM evo_settings
Rows: 24 – Time: 0.0006s (4.11%)
Query #2:
SELECT dom_ID, dom_status
FROM evo_basedomains
WHERE dom_name = "adp-site.org"
Rows: 1 – Time: 0.0003s (2.05%)
Query #3:
SELECT agnt_ID
FROM evo_useragents
WHERE agnt_signature = "Opera/9.00 (Windows NT 5.1; U; de)"
AND agnt_type = "browser"
Rows: 1 – Time: 0.0004s (3.04%)
Query #4:
SELECT sess_ID, sess_key, sess_data, sess_user_ID
FROM evo_sessions
WHERE sess_ID = '105'
AND sess_key = 'gDF53MKMCY9Y464GXa7J6eMSiAWo4y3N'
AND UNIX_TIMESTAMP(sess_lastseen) > 1170132797
Rows: 1 – Time: 0.0013s (9.34%)
Query #5: Loading plugin events
SELECT pevt_plug_ID, pevt_event
FROM evo_pluginevents INNER JOIN evo_plugins ON pevt_plug_ID =
plug_ID
WHERE pevt_enabled > 0
Seite 6
06.02.2007 08:57:06 http://www.adp-site.org/abudhabi/admin.php?ctrl=files&mode=upload
AND plug_status = "enabled"
ORDER BY plug_priority, plug_classname
Rows: 8 – Time: 0.0004s (3.07%)
Query #6:
SELECT loc_locale, loc_charset, loc_datefmt, loc_timefmt, loc_
startofweek, loc_name, loc_messages, loc_priority, loc_enabled
FROM evo_locales
ORDER BY loc_priority
Rows: 0 – Time: 0.0004s (2.81%)
Query #7: DataObjectCache::get_by_ID()
SELECT *
FROM evo_users
WHERE user_ID = 4
Rows: 1 – Time: 0.0005s (3.53%)
Query #8:
SELECT *
FROM evo_groups
ORDER BY grp_name
Rows: 4 – Time: 0.0004s (2.84%)
Query #9:
SET NAMES latin1
Rows: 0 – Time: 0.0003s (1.96%)
Query #10:
SELECT uset_user_ID, uset_name, uset_value
FROM evo_usersettings
WHERE uset_user_ID = "4"
Rows: 8 – Time: 0.0004s (2.82%)
Query #11: Get user blog list (T_coll_user_perms)
SELECT bloguser_blog_ID
FROM evo_blogusers
WHERE bloguser_user_ID = 4
AND bloguser_perm_media_browse = 1
Rows: 1 – Time: 0.0016s (11.63%)
Seite 7
06.02.2007 08:57:06 http://www.adp-site.org/abudhabi/admin.php?ctrl=files&mode=upload
Query #12: Get user blog list (T_coll_group_perms)
SELECT bloggroup_blog_ID
FROM evo_bloggroups
WHERE bloggroup_group_ID = 2
AND bloggroup_perm_media_browse = 1
Rows: 2 – Time: 0.0021s (15.22%)
Query #13:
SELECT *
FROM evo_blogs
WHERE blog_ID IN (1,3,4)
Rows: 1 – Time: 0.0038s (27.29%)
Query #14: DataObjectCache::get_by_ID()
SELECT *
FROM evo_blogs
WHERE blog_ID = 3
Rows: 0 – Time: 0.0006s (4.37%)
Total rows: 52

4 Feb 06, 2007 13:47

You seem to have entries in evo_bloggroups and/or evo_blogusers for blog 3 and 4!
You should be able to fix this, by removing the lines related to blog_ID 3 and 4 from evo_bloggroups/evo_blogusers.

Have you manually edited the database? (e.g. removed rows from the evo_blogs table, without using b2evo's admin interface)?

5 Feb 11, 2007 12:43

evo_blogusers has no entries, i think the column bloguser_blog_ID is the important one with 3 or 4; all user are assigned to bloguser_blog_ID = 1

so I deleted all entries in evo_bloggroupsc according to your recommendation with bloggroup_blog_ID different from 1

AND NOW IT WORKS, thanks

:D


Form is loading...