Problem: "Object is unavailable" / Kernel error 3 ..

Author Message

Jørgen Skogstad

Sunday 24 April 2005 1:23:51 am

Hi!

I have installed v3.5.0 and today upgraded to v3.5.1 and was hoping this error would go away, but it didn't! Basically what I have done is to have a standard Ez install with "blog" as the one I base my design on. I have done no changes to permissions or done any code changes etc. The only thing I have done is to create some standard template overrides etc ..

.. but I keep getting the "Object is unavailable / Kernel error 3" for my "File" section. IE I want to upload files that I want to share into that folder and have people download and view them if they want, but it does not work. When I access the same files from the admin interface it works like a charm!

Check:
http://www.skogstad.com/ez/index.php/skogstad/files

Here you can see all files listed as 0 bytes.

Click on one and you get the error. Like:
http://www.skogstad.com/ez/index.php/skogstad/content/download/184/729/file/itSMF-2004-Redusere-gapet-virksomhet-prosess.pdf

I cannot figure out what to do. I need this function and am crossing my fingers someone knows what to do! ;)

I have the Site: www.skogstad.com/ez/index.php,
Version: 3.5.1 (3.5.1), SVN revision: 10652, Extensions: Not in use. .. version of Ez now.

Everything else seems to be working fine.

Have anyone else seen this??

Thanks in advance!

With respect,
Jørgen Skogstad

Kristian Hole

Monday 25 April 2005 2:37:29 am

Hey.

Normally the anonymous users does not have access to any other section than standard.

To give anonymous users access to the Media Section. Do the following:

Click "User accounts" -> "Roles and policies".
Edit anonymous role
Edit the line which says "Content Read Section( Standard )"
Select Standard _and_ Media (usually hold Ctrl to select more). -> ok

Ok again to store the role.

Now you should be able to see the files. :)

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute

Jørgen Skogstad

Monday 25 April 2005 1:10:23 pm

Hey!

Thanks for the swift reply! Tried it, but I could not see the files. Get the same error. Here is what is configured as anonymous policy:

Module Function Limitation
content read Section( Standard , Media )
content pdf Section( Standard )
rss read No limitations
user login SiteAccess( skogstad )
content read No limitations

The result of that even you can see when directing the browser to:

http://www.skogstad.com/ez/index.php/skogstad/content/download/184/729/file/itSMF-2004-Redusere-gapet-virksomhet-prosess.pdf

Any ideas on how to make this work? The files are in the database and it all works just fine from the administration interface! Strange huh!?!

Thanks in advance!

With respect,
Jørgen

Kristian Hole

Tuesday 26 April 2005 12:40:22 am

Hi

Have you changed the locale of your user site?

Check the settings in settings/siteaccess/blah/site.ini.append.php and in blah_admin. Are the following settings different?

[RegionalSettings]
ContentObjectLocale=nor-NO

If so.. change the userside (blah) to the same as the admin siteaccess (blah_admin)

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute

Jørgen Skogstad

Tuesday 26 April 2005 6:22:17 am

Well; you were correct in that the user and admin side differed. The user side was configured to be nor-NO and the admin to be eng-GB. I changed to user side to be eng-GB, but the error remains the same.

Hmm ..

Any chance you could have a look at it if you had access?

Apreciate your help!!

Thanks!

/Jørgen

Kristian Hole

Wednesday 27 April 2005 4:56:15 am

Usually the problem goes away once you change it. Did you clear all the cache after changing the settings?

It shows up correctly on your admin page yes?

Can you connect to the database and run the following query:

select distinct(language_code) from ezcontentobject_attribute;

What is the output?

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute

Jørgen Skogstad

Wednesday 27 April 2005 11:58:08 pm

Hey,

Ran the query and got:

eng-GB

.. which is updated into the public config.

Hmm .. as usual I am at a loss! ;)

I'll buy you a beer if we manage to solve this!

/Jørgen

Kristian Hole

Thursday 28 April 2005 4:16:32 am

Hmm.. Thats strange.

Have you tried to turn on the debug output?

Add the following to settings/override/site.ini.append.php (or settings/override/site.ini.append). Create settings/override/site.ini.append.php if it does not exist.

[DebugSettings]
DebugOutput=enabled

Clear the cache. Are there any errors in the debugoutput?

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute

Jørgen Skogstad

Thursday 28 April 2005 12:54:13 pm

Tries it and yes; there is an error .. not sure what it means though:

--

[ Apr 28 2005 21:44:36 ] [213.145.166.210] Timing Point: Module end 'error'
[ Apr 28 2005 21:44:36 ] [213.145.166.210] No such attribute for array(7): node_id
Choose one of following: content, path, is_default_navigation_part,
                         navigation_part, ui_context, ui_component,
                         uri
[ Apr 28 2005 21:44:37 ] [213.145.166.210] Cannot retrieve attribute of a boolean
[ Apr 28 2005 21:44:37 ] [213.145.166.210] Cannot retrieve attribute of a boolean
[ Apr 28 2005 21:44:37 ] [213.145.166.210] Cannot retrieve attribute of a boolean

---

Or something similar .. ??!

/Jørgen

Kristian Hole

Friday 29 April 2005 12:22:03 am

Can you try to delete the file and then upload it again?

If that does not work. Can you create a user under administrator users in admin, and send me the login info (kh curly-a ez dott no), and I will take a look at it.

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute

Kristian Hole

Monday 02 May 2005 9:34:00 pm

I am really sorry, but I have unfortunately not had time to look on this yet (I just travelled to the US). But I will try to take a look at it tonight.

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute

Jørgen Skogstad

Tuesday 03 May 2005 6:22:21 am

No worries! No hurry! I would rather go around doing other stuff than checking out this... expecially if I was in the states!

Anytime you get around to it .. and have a really nice trip!

Thanks in advance, though!

/Jørgen

Jørgen Skogstad

Saturday 14 May 2005 1:42:33 pm

Hepp! You had any chance to look at it? Would love your comments. If you need I can also grant you access through ssh.

;)

(Crossing my fingers!)

/Jørgen

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 15:14:57
Script start
Timing: Jan 18 2025 15:14:57
Module start 'layout'
Timing: Jan 18 2025 15:14:57
Module start 'content'
Timing: Jan 18 2025 15:14:58
Module end 'content'
Timing: Jan 18 2025 15:14:58
Script end

Main resources:

Total runtime0.8713 sec
Peak memory usage4,096.0000 KB
Database Queries87

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 589.1563152.6406
Module start 'layout' 0.00560.0049 741.796939.4766
Module start 'content' 0.01060.8592 781.2734678.7656
Module end 'content' 0.86970.0015 1,460.039132.1250
Script end 0.8712  1,492.1641 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3917160.0002
Check MTime0.00140.1567160.0001
Mysql Total
Database connection0.00090.100510.0009
Mysqli_queries0.772988.7045870.0089
Looping result0.00090.0991850.0000
Template Total0.831095.420.4155
Template load0.00190.222820.0010
Template processing0.829195.157120.4145
Template load and register function0.00010.011110.0001
states
state_id_array0.00110.126210.0011
state_identifier_array0.00170.194420.0008
Override
Cache load0.00190.21641120.0000
Sytem overhead
Fetch class attribute can translate value0.00060.067720.0003
Fetch class attribute name0.00140.1585150.0001
XML
Image XML parsing0.00100.119620.0005
class_abstraction
Instantiating content class attribute0.00000.0052260.0000
General
dbfile0.00100.1159220.0000
String conversion0.00000.001040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
13content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
13content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
24content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
7content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
4content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 63
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs