Class, Section, Priority GONE. Can't publish anything. Infecting multiple sites.

Author Message

Kagen Tres

Friday 16 April 2004 7:24:32 am

Somehow though I'm not sure how, one of my ezpublish sites (3.2-4) does not show the Class, Section, or Priority of content objects while logged into the admin interface.

Some objects say they're no longer available when I try to edit. Any of the other objects give this error:

Location did not validate
No main node selected, please select one.

To top matter off, I logged into another EZ site this morning to find that it also is showing the exact same problem (3.3-4). I've tried all the obvious and am completely lost as to where to go next.

Here is my server configuration:

Apache 1.3.29
PHP 4.3.3
Latest MySQL
Athlon 2000, 512MB
Redhat 9
Ez sites are run in secure vhost mode.

Lazaro Ferreira

Friday 16 April 2004 9:45:32 am

Hi,

you should enable EZP debug output at admin settings/siteaccess/admin/site.ini.append

[DebugSettings]
DebugOutput=enabled

You should get useful information on what is going on

Regards
Lazaro

Lazaro
http://www.mzbusiness.com

Kagen Tres

Friday 16 April 2004 9:58:08 am

Here is the debug output, please advise if you see something that could resolve my problem. In the meantime I'll continue to read over it and try some troubleshooting.

Timing: Apr 16 2004 11:56:16
Script start
Error: eZINI Apr 16 2004 11:56:16
Couldn't create cache file 'var/cache/ini/fbc8fa5be4f21b7be1ebab8c9eb9afb3.php', perhaps wrong permissions
Timing: Apr 16 2004 11:56:16
Module start 'content'
Warning: eZModuleOperationInfo::execute Apr 16 2004 11:56:16
Missing main operation memento for key: 3c0ce8de8483e80cf3d47fe658b21ee6
Timing: Apr 16 2004 11:56:16
Module end 'content'
Notice: Apr 16 2004 11:56:16
eZTemplate: Loading template "pagelayout.tpl" with resource "design"
Notice: Apr 16 2004 11:56:16
eZTemplate: Loading template "page_head.tpl" with resource "design"
Error: eZTemplate @ design/standard/templates/page_head.tpl:15[0] Apr 16 2004 11:56:16
Unknown template variable 'reverse_path' in namespace 'Path'
Notice: Apr 16 2004 11:56:16
eZTemplate: Loading template "link.tpl" with resource "design"
Warning: ezi18n Apr 16 2004 11:56:16
No translation for file(translation.ts) in context(design/standard/layout): '%sitetitle front page' with comment()
Error: eZTSTranslator::loadTranslationFile Apr 16 2004 11:56:16
Could not load translation file: share/translations/eng-US/translation.ts
Warning: eZTranslationCache::setContextCache Apr 16 2004 11:56:16
Translation cache for context 'cachecontexts' already exists
Warning: ezi18n Apr 16 2004 11:56:16
No translation for file(translation.ts) in context(design/standard/layout): 'Search %sitetitle' with comment()
Error: eZTSTranslator::loadTranslationFile Apr 16 2004 11:56:16
Could not load translation file: share/translations/eng-US/translation.ts
Warning: eZTranslationCache::setContextCache Apr 16 2004 11:56:16
Translation cache for context 'cachecontexts' already exists
Warning: ezi18n Apr 16 2004 11:56:16
No translation for file(translation.ts) in context(design/standard/layout): 'Printable version' with comment()
Error: eZTSTranslator::loadTranslationFile Apr 16 2004 11:56:16
Could not load translation file: share/translations/eng-US/translation.ts
Warning: eZTranslationCache::setContextCache Apr 16 2004 11:56:16
Translation cache for context 'cachecontexts' already exists
Warning: ezi18n Apr 16 2004 11:56:16
No translation for file(translation.ts) in context(design/standard/layout): 'Search' with comment()
Error: eZTSTranslator::loadTranslationFile Apr 16 2004 11:56:16
Could not load translation file: share/translations/eng-US/translation.ts
Warning: eZTranslationCache::setContextCache Apr 16 2004 11:56:16
Translation cache for context 'cachecontexts' already exists
Warning: ezi18n Apr 16 2004 11:56:16
No translation for file(translation.ts) in context(design/standard/node/view): 'New' with comment()
Error: eZTSTranslator::loadTranslationFile Apr 16 2004 11:56:16
Could not load translation file: share/translations/eng-US/translation.ts
Warning: eZTranslationCache::setContextCache Apr 16 2004 11:56:16
Translation cache for context 'cachecontexts' already exists
Warning: ezi18n Apr 16 2004 11:56:16
No translation for file(translation.ts) in context(design/standard/layout): 'Logout' with comment()
Error: eZTSTranslator::loadTranslationFile Apr 16 2004 11:56:16
Could not load translation file: share/translations/eng-US/translation.ts
Warning: eZTranslationCache::setContextCache Apr 16 2004 11:56:16
Translation cache for context 'cachecontexts' already exists
Warning: ezi18n Apr 16 2004 11:56:16
No translation for file(translation.ts) in context(design/admin/layout): 'Content' with comment()
Notice: Apr 16 2004 11:56:16
eZTemplate: Loading template "page_menuheadselected.tpl" with resource "design"
Error: eZTSTranslator::loadTranslationFile Apr 16 2004 11:56:16
Could not load translation file: share/translations/eng-US/translation.ts
Warning: eZTranslationCache::setContextCache Apr 16 2004 11:56:16
Translation cache for context 'cachecontexts' already exists
Warning: ezi18n Apr 16 2004 11:56:16
No translation for file(translation.ts) in context(design/admin/layout): 'Media' with comment()
Notice: Apr 16 2004 11:56:16
eZTemplate: Loading template "page_menuheadgray.tpl" with resource "design"
Error: eZTSTranslator::loadTranslationFile Apr 16 2004 11:56:16
Could not load translation file: share/translations/eng-US/translation.ts
Warning: eZTranslationCache::setContextCache Apr 16 2004 11:56:16
Translation cache for context 'cachecontexts' already exists
Warning: ezi18n Apr 16 2004 11:56:16
No translation for file(translation.ts) in context(design/admin/layout): 'Shop' with comment()
Notice: Apr 16 2004 11:56:16
eZTemplate: Loading template "page_menuheadgray.tpl" with resource "design"
Error: eZTSTranslator::loadTranslationFile Apr 16 2004 11:56:16
Could not load translation file: share/translations/eng-US/translation.ts
Warning: eZTranslationCache::setContextCache Apr 16 2004 11:56:16
Translation cache for context 'cachecontexts' already exists
Warning: ezi18n Apr 16 2004 11:56:16
No translation for file(translation.ts) in context(design/admin/layout): 'Users' with comment()
Notice: Apr 16 2004 11:56:16
eZTemplate: Loading template "page_menuheadgray.tpl" with resource "design"
Error: eZTSTranslator::loadTranslationFile Apr 16 2004 11:56:16
Could not load translation file: share/translations/eng-US/translation.ts
Warning: eZTranslationCache::setContextCache Apr 16 2004 11:56:16
Translation cache for context 'cachecontexts' already exists
Warning: ezi18n Apr 16 2004 11:56:16
No translation for file(translation.ts) in context(design/admin/layout): 'Set up' with comment()
Notice: Apr 16 2004 11:56:16
eZTemplate: Loading template "page_menuheadgray.tpl" with resource "design"
Error: eZTSTranslator::loadTranslationFile Apr 16 2004 11:56:16
Could not load translation file: share/translations/eng-US/translation.ts
Warning: eZTranslationCache::setContextCache Apr 16 2004 11:56:16
Translation cache for context 'cachecontexts' already exists
Warning: ezi18n Apr 16 2004 11:56:16
No translation for file(translation.ts) in context(design/admin/layout): 'Personal' with comment()
Notice: Apr 16 2004 11:56:16
eZTemplate: Loading template "page_menuheadgray.tpl" with resource "design"
Notice: Apr 16 2004 11:56:16
eZTemplate: Loading template "parts/content/menu.tpl" with resource "design"
Error: eZTSTranslator::loadTranslationFile Apr 16 2004 11:56:16
Could not load translation file: share/translations/eng-US/translation.ts
Warning: eZTranslationCache::setContextCache Apr 16 2004 11:56:16
Translation cache for context 'cachecontexts' already exists
Warning: ezi18n Apr 16 2004 11:56:16
No translation for file(translation.ts) in context(design/admin/layout): 'Frontpage' with comment()
Error: eZTSTranslator::loadTranslationFile Apr 16 2004 11:56:16
Could not load translation file: share/translations/eng-US/translation.ts
Warning: eZTranslationCache::setContextCache Apr 16 2004 11:56:16
Translation cache for context 'cachecontexts' already exists
Warning: ezi18n Apr 16 2004 11:56:16
No translation for file(translation.ts) in context(design/admin/layout): 'Sitemap' with comment()
Error: eZTSTranslator::loadTranslationFile Apr 16 2004 11:56:16
Could not load translation file: share/translations/eng-US/translation.ts
Warning: eZTranslationCache::setContextCache Apr 16 2004 11:56:16
Translation cache for context 'cachecontexts' already exists
Warning: ezi18n Apr 16 2004 11:56:16
No translation for file(translation.ts) in context(design/admin/layout): 'Trash' with comment()
Error: eZTSTranslator::loadTranslationFile Apr 16 2004 11:56:16
Could not load translation file: share/translations/eng-US/translation.ts
Warning: eZTranslationCache::setContextCache Apr 16 2004 11:56:16
Translation cache for context 'cachecontexts' already exists
Warning: ezi18n Apr 16 2004 11:56:16
No translation for file(translation.ts) in context(design/admin/layout): 'Bookmarks' with comment()
Error: eZTSTranslator::loadTranslationFile Apr 16 2004 11:56:16
Could not load translation file: share/translations/eng-US/translation.ts
Warning: eZTranslationCache::setContextCache Apr 16 2004 11:56:16
Translation cache for context 'cachecontexts' already exists
Warning: ezi18n Apr 16 2004 11:56:16
No translation for file(translation.ts) in context(design/admin/layout): 'History' with comment()
Notice: Apr 16 2004 11:56:16
eZTemplate: Loading template "page_toppath.tpl" with resource "design"
Notice: Apr 16 2004 11:56:16
eZTemplate: Loading template "page_mainarea.tpl" with resource "design"
Notice: Apr 16 2004 11:56:16
eZTemplate: Loading template "page_warning.tpl" with resource "design"
Timing: Apr 16 2004 11:56:16
End

Lazaro Ferreira

Friday 16 April 2004 10:22:48 am

Hi,

This debug output says that you have problems with permissions, it means EZP can't access the /var/cache/..... dir, so if your are using the cache it should not be functioning OK, please try to fix it, after fixing it, please clear all the cache

Everything under var, including itself, should have read/write/execute permission for the web server user and group (may be apache:apache is your using apache)

The other problem in your output, is that EZP can't open the translation file at share/translations, is it there ?, can you checked up ?, the permissions all over the site are ok ?

Regards
Lazaro

Lazaro
http://www.mzbusiness.com

Kagen Tres

Friday 16 April 2004 10:26:56 am

Lazaro,

Thanks for your continued help.

Here is what I have done.

I ran modfix and set the cache folders to the proper permissions.

I changed site.ini.append to use eng-GB for the translation file.

Now I'm getting: "Object is unavailable" when attempting to view the Content area of the admin site (node ID:2).

Here is the new debug output:

eZ debug
Timing: Apr 16 2004 12:26:37
Script start
Timing: Apr 16 2004 12:26:37
Module start 'content'
Warning: eZModuleOperationInfo::execute Apr 16 2004 12:26:37
Missing main operation memento for key: 3c0ce8de8483e80cf3d47fe658b21ee6
Warning: PHP Apr 16 2004 12:26:37
Undefined index: object in /home/xray/public_html/ezpublish-3.2-3/kernel/content/view.php on line 179
Timing: Apr 16 2004 12:26:37
Module end 'error'
Error: eZTemplate @ design/standard/templates/page_head.tpl:15[0] Apr 16 2004 12:26:37
Unknown template variable 'reverse_path' in namespace 'Path'
Error: eZTemplate @ design/admin/templates/parts/content/menu.tpl:38[19] Apr 16 2004 12:26:37
Cannot retrieve attribute of a NULL
Error: eZTemplate @ design/admin/templates/parts/content/menu.tpl:38[47] Apr 16 2004 12:26:37
Cannot retrieve attribute of a NULL
Timing: Apr 16 2004 12:26:37
End

Björn Dieding@xrow.de

Tuesday 27 April 2004 4:25:37 pm

Did you also change the setting

site.ini
ContentObjectLocale?

That will mean you changed you your data in the db... Your current db might still hold data in eng-US and not eng-GB

that could explain the object is not avialable

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

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