Forums / Install & configuration / Post upgrade problem 3.8.0

Post upgrade problem 3.8.0

Author Message

Ken Colwell

Thursday 12 October 2006 9:04:21 pm

After upgrading to 3.8.0 some of my folders are generating the following error messages:

Notice: eZMySQLDB::query(0.000 ms) query number per page:0 Oct 12 2006 22:52:59
SET NAMES 'latin1'
Timing: Oct 12 2006 22:52:59
Module start 'content'
Error: eZTemplateDesignResource::overrideArray Oct 12 2006 22:52:59
Custom match file: path 'embed_image.tpl' not found in any resource. Check template settings in settings/override.ini
Error: eZDebug::writeFile Oct 12 2006 22:52:59
Cannot open log file 'var/log/error.log' for writing
The web server must be allowed to modify the file.
File logging for 'var/log/error.log' is disabled.
Error: eZTemplateDesignResource::overrideArray, tried files Oct 12 2006 22:52:59
design/standard/templates/embed_image.tpl, design/standard/override/templates/embed_image.tpl, design/base/override/templates/embed_image.tpl, design/base/templates/embed_image.tpl, design/muc/override/templates/embed_image.tpl, design/muc/templates/embed_image.tpl, extension/education_forms/design/standard/templates/embed_image.tpl, extension/education_forms/design/standard/override/templates/embed_image.tpl, extension/education_forms/design/base/override/templates/embed_image.tpl, extension/education_forms/design/base/templates/embed_image.tpl, extension/education_forms/design/muc/override/templates/embed_image.tpl, extension/education_forms/design/muc/templates/embed_image.tpl, extension/education_forms/design/standard/templates/embed_image.tpl, extension/education_forms/design/standard/override/templates/embed_image.tpl, extension/education_forms/design/base/override/templates/embed_image.tpl, extension/education_forms/design/base/templates/embed_image.tpl, extension/education_forms/design/muc/override/templates/embed_image.tpl, extension/education_forms/design/muc/templates/embed_image.tpl, extension/ezdhtml/design/standard/templates/embed_image.tpl, extension/ezdhtml/design/standard/override/templates/embed_image.tpl, extension/ezdhtml/design/base/override/templates/embed_image.tpl, extension/ezdhtml/design/base/templates/embed_image.tpl, extension/ezdhtml/design/muc/override/templates/embed_image.tpl, extension/ezdhtml/design/muc/templates/embed_image.tpl, extension/auction/design/standard/templates/embed_image.tpl, extension/auction/design/standard/override/templates/embed_image.tpl, extension/auction/design/base/override/templates/embed_image.tpl, extension/auction/design/base/templates/embed_image.tpl, extension/auction/design/muc/override/templates/embed_image.tpl, extension/auction/design/muc/templates/embed_image.tpl, extension/directory/design/standard/templates/embed_image.tpl, extension/directory/design/standard/override/templates/embed_image.tpl, extension/directory/design/base/override/templates/embed_image.tpl, extension/directory/design/base/templates/embed_image.tpl, extension/directory/design/muc/override/templates/embed_image.tpl, extension/directory/design/muc/templates/embed_image.tpl, extension/podcasting/design/standard/templates/embed_image.tpl, extension/podcasting/design/standard/override/templates/embed_image.tpl, extension/podcasting/design/base/override/templates/embed_image.tpl, extension/podcasting/design/base/templates/embed_image.tpl, extension/podcasting/design/muc/override/templates/embed_image.tpl, extension/podcasting/design/muc/templates/embed_image.tpl, extension/campus_events/design/standard/templates/embed_image.tpl, extension/campus_events/design/standard/override/templates/embed_image.tpl, extension/campus_events/design/base/override/templates/embed_image.tpl, extension/campus_events/design/base/templates/embed_image.tpl, extension/campus_events/design/muc/override/templates/embed_image.tpl, extension/campus_events/design/muc/templates/embed_image.tpl, extension/aims/design/standard/templates/embed_image.tpl, extension/aims/design/standard/override/templates/embed_image.tpl, extension/aims/design/base/override/templates/embed_image.tpl, extension/aims/design/base/templates/embed_image.tpl, extension/aims/design/muc/override/templates/embed_image.tpl, extension/aims/design/muc/templates/embed_image.tpl, extension/forms_intranet/design/standard/templates/embed_image.tpl, extension/forms_intranet/design/standard/override/templates/embed_image.tpl, extension/forms_intranet/design/base/override/templates/embed_image.tpl, extension/forms_intranet/design/base/templates/embed_image.tpl, extension/forms_intranet/design/muc/override/templates/embed_image.tpl, extension/forms_intranet/design/muc/templates/embed_image.tpl, extension/alumni_email/design/standard/templates/embed_image.tpl, extension/alumni_email/design/standard/override/templates/embed_image.tpl, extension/alumni_email/design/base/override/templates/embed_image.tpl, extension/alumni_email/design/base/templates/embed_image.tpl, extension/alumni_email/design/muc/override/templates/embed_image.tpl, extension/alumni_email/design/muc/templates/embed_image.tpl, extension/mymodule/design/standard/templates/embed_image.tpl, extension/mymodule/design/standard/override/templates/embed_image.tpl, extension/mymodule/design/base/override/templates/embed_image.tpl, extension/mymodule/design/base/templates/embed_image.tpl, extension/mymodule/design/muc/override/templates/embed_image.tpl, extension/mymodule/design/muc/templates/embed_image.tpl, extension/dining_menu/design/standard/templates/embed_image.tpl, extension/dining_menu/design/standard/override/templates/embed_image.tpl, extension/dining_menu/design/base/override/templates/embed_image.tpl, extension/dining_menu/design/base/templates/embed_image.tpl, extension/dining_menu/design/muc/override/templates/embed_image.tpl, extension/dining_menu/design/muc/templates/embed_image.tpl, extension/job_opportunities/design/standard/templates/embed_image.tpl, extension/job_opportunities/design/standard/override/templates/embed_image.tpl, extension/job_opportunities/design/base/override/templates/embed_image.tpl, extension/job_opportunities/design/base/templates/embed_image.tpl, extension/job_opportunities/design/muc/override/templates/embed_image.tpl, extension/job_opportunities/design/muc/templates/embed_image.tpl, extension/forms/design/standard/templates/embed_image.tpl, extension/forms/design/standard/override/templates/embed_image.tpl, extension/forms/design/base/override/templates/embed_image.tpl, extension/forms/design/base/templates/embed_image.tpl, extension/forms/design/muc/override/templates/embed_image.tpl, extension/forms/design/muc/templates/embed_image.tpl
Error: eZTemplateDesignResource::overrideArray Oct 12 2006 22:52:59
Custom match file: path 'line_view_news_folder.tpl' not found in any resource. Check template settings in settings/override.ini
Error: eZTemplateDesignResource::overrideArray, tried files Oct 12 2006 22:52:59
design/standard/templates/line_view_news_folder.tpl, design/standard/override/templates/line_view_news_folder.tpl, design/base/override/templates/line_view_news_folder.tpl, design/base/templates/line_view_news_folder.tpl, design/muc/override/templates/line_view_news_folder.tpl, design/muc/templates/line_view_news_folder.tpl, extension/education_forms/design/standard/templates/line_view_news_folder.tpl, extension/education_forms/design/standard/override/templates/line_view_news_folder.tpl, extension/education_forms/design/base/override/templates/line_view_news_folder.tpl, extension/education_forms/design/base/templates/line_view_news_folder.tpl, extension/education_forms/design/muc/override/templates/line_view_news_folder.tpl, extension/education_forms/design/muc/templates/line_view_news_folder.tpl, extension/education_forms/design/standard/templates/line_view_news_folder.tpl, extension/education_forms/design/standard/override/templates/line_view_news_folder.tpl, extension/education_forms/design/base/override/templates/line_view_news_folder.tpl, extension/education_forms/design/base/templates/line_view_news_folder.tpl, extension/education_forms/design/muc/override/templates/line_view_news_folder.tpl, extension/education_forms/design/muc/templates/line_view_news_folder.tpl, extension/ezdhtml/design/standard/templates/line_view_news_folder.tpl, extension/ezdhtml/design/standard/override/templates/line_view_news_folder.tpl, extension/ezdhtml/design/base/override/templates/line_view_news_folder.tpl, extension/ezdhtml/design/base/templates/line_view_news_folder.tpl, extension/ezdhtml/design/muc/override/templates/line_view_news_folder.tpl, extension/ezdhtml/design/muc/templates/line_view_news_folder.tpl, extension/auction/design/standard/templates/line_view_news_folder.tpl, extension/auction/design/standard/override/templates/line_view_news_folder.tpl, extension/auction/design/base/override/templates/line_view_news_folder.tpl, extension/auction/design/base/templates/line_view_news_folder.tpl, extension/auction/design/muc/override/templates/line_view_news_folder.tpl, extension/auction/design/muc/templates/line_view_news_folder.tpl, extension/directory/design/standard/templates/line_view_news_folder.tpl, extension/directory/design/standard/override/templates/line_view_news_folder.tpl, extension/directory/design/base/override/templates/line_view_news_folder.tpl, extension/directory/design/base/templates/line_view_news_folder.tpl, extension/directory/design/muc/override/templates/line_view_news_folder.tpl, extension/directory/design/muc/templates/line_view_news_folder.tpl, extension/podcasting/design/standard/templates/line_view_news_folder.tpl, extension/podcasting/design/standard/override/templates/line_view_news_folder.tpl, extension/podcasting/design/base/override/templates/line_view_news_folder.tpl, extension/podcasting/design/base/templates/line_view_news_folder.tpl, extension/podcasting/design/muc/override/templates/line_view_news_folder.tpl, extension/podcasting/design/muc/templates/line_view_news_folder.tpl, extension/campus_events/design/standard/templates/line_view_news_folder.tpl, extension/campus_events/design/standard/override/templates/line_view_news_folder.tpl, extension/campus_events/design/base/override/templates/line_view_news_folder.tpl, extension/campus_events/design/base/templates/line_view_news_folder.tpl, extension/campus_events/design/muc/override/templates/line_view_news_folder.tpl, extension/campus_events/design/muc/templates/line_view_news_folder.tpl, extension/aims/design/standard/templates/line_view_news_folder.tpl, extension/aims/design/standard/override/templates/line_view_news_folder.tpl, extension/aims/design/base/override/templates/line_view_news_folder.tpl, extension/aims/design/base/templates/line_view_news_folder.tpl, extension/aims/design/muc/override/templates/line_view_news_folder.tpl, extension/aims/design/muc/templates/line_view_news_folder.tpl, extension/forms_intranet/design/standard/templates/line_view_news_folder.tpl, extension/forms_intranet/design/standard/override/templates/line_view_news_folder.tpl, extension/forms_intranet/design/base/override/templates/line_view_news_folder.tpl, extension/forms_intranet/design/base/templates/line_view_news_folder.tpl, extension/forms_intranet/design/muc/override/templates/line_view_news_folder.tpl, extension/forms_intranet/design/muc/templates/line_view_news_folder.tpl, extension/alumni_email/design/standard/templates/line_view_news_folder.tpl, extension/alumni_email/design/standard/override/templates/line_view_news_folder.tpl, extension/alumni_email/design/base/override/templates/line_view_news_folder.tpl, extension/alumni_email/design/base/templates/line_view_news_folder.tpl, extension/alumni_email/design/muc/override/templates/line_view_news_folder.tpl, extension/alumni_email/design/muc/templates/line_view_news_folder.tpl, extension/mymodule/design/standard/templates/line_view_news_folder.tpl, extension/mymodule/design/standard/override/templates/line_view_news_folder.tpl, extension/mymodule/design/base/override/templates/line_view_news_folder.tpl, extension/mymodule/design/base/templates/line_view_news_folder.tpl, extension/mymodule/design/muc/override/templates/line_view_news_folder.tpl, extension/mymodule/design/muc/templates/line_view_news_folder.tpl, extension/dining_menu/design/standard/templates/line_view_news_folder.tpl, extension/dining_menu/design/standard/override/templates/line_view_news_folder.tpl, extension/dining_menu/design/base/override/templates/line_view_news_folder.tpl, extension/dining_menu/design/base/templates/line_view_news_folder.tpl, extension/dining_menu/design/muc/override/templates/line_view_news_folder.tpl, extension/dining_menu/design/muc/templates/line_view_news_folder.tpl, extension/job_opportunities/design/standard/templates/line_view_news_folder.tpl, extension/job_opportunities/design/standard/override/templates/line_view_news_folder.tpl, extension/job_opportunities/design/base/override/templates/line_view_news_folder.tpl, extension/job_opportunities/design/base/templates/line_view_news_folder.tpl, extension/job_opportunities/design/muc/override/templates/line_view_news_folder.tpl, extension/job_opportunities/design/muc/templates/line_view_news_folder.tpl, extension/forms/design/standard/templates/line_view_news_folder.tpl, extension/forms/design/standard/override/templates/line_view_news_folder.tpl, extension/forms/design/base/override/templates/line_view_news_folder.tpl, extension/forms/design/base/templates/line_view_news_folder.tpl, extension/forms/design/muc/override/templates/line_view_news_folder.tpl, extension/forms/design/muc/templates/line_view_news_folder.tpl

This repeats for every single template that I have created.

But this only happens on some folders... most are working fine?

Any ideas?

Thanks
Ken Colwell

Kenneth Colwell

Friday 13 October 2006 8:06:52 am

Also related to this problem:

PHP errors:

[Fri Oct 13 11:03:36 2006] [error] PHP Fatal error:  Call to a member function on a non-object in /var/www/pub3/kernel/classes/datatypes/ezimage/ezimagealiashandler.php on line 1053
[Fri Oct 13 11:05:20 2006] [error] PHP Fatal error:  Call to a member function on a non-object in /var/www/pub3/kernel/classes/datatypes/ezimage/ezimagealiashandler.php on line 1053
[Fri Oct 13 11:05:59 2006] [error] PHP Fatal error:  Call to a member function on a non-object in /var/www/pub3/kernel/classes/datatypes/ezimage/ezimagealiashandler.php on line 1053
[Fri Oct 13 11:06:07 2006] [error] PHP Fatal error:  Call to a member function on a non-object in /var/www/pub3/kernel/classes/datatypes/ezimage/ezimagealiashandler.php on line 1053

Claudia Kosny

Friday 13 October 2006 10:56:49 am

Hi Kenneth

First of check the permissions of your var folder. It looks like EZ does not have write permission. Once you have done that, clear the cache and try again.

You say that you get the messages for each of your created templates so it seems that EZ cannot find your template folder. Make sure your design directory is set correctly in the site.ini. Also make sure that your override.ini is correct. Make sure to check the files in the settings/override directory as well.
If you don't see any obvious problems there please post
- whether your design is in a design extension or in the main design folder
- the path of one of your templates
- the block [DesignSettings] of the site.ini of your siteaccess
- the relevant block of your override.ini for this template.
- the PHP version you use
- any other interesting info you think might be related to this problem

The problem with the pictures might be related to the missing permissions for the var directory, so try that first.

By the way: Any special reason why you upgraded to EZ 3.8.0 and not 3.8.4?

Greetings from Luxembourg

Claudia

Kenneth Colwell

Friday 13 October 2006 11:41:36 am

Hi Claudia,

Thanks for the reply but the really strange thing is that the vast majority of my site is functionally normally.

This folder: http://www.muc.edu/vistors is broken and generates both the php error and the ezpublish template related errors.

This folder: http://www.muc.edu/vistors/about_mount works just fine?

I'm thinking that it's some sort of database corruption caused by the upgrade.

Any additional thoughts?

PHP 4.4.2, mysql 4.1.20, php 3.8.0

I'm at a partial stop from 3.7.3 to 3.8.0 to 3.8.4

Thanks,
Ken Colwell

Claudia Kosny

Friday 13 October 2006 11:57:43 am

Hi Kenneth

Well - if it is the database I don't know what to do so for now I will assume that the database is ok ;-)

Do both folders turn up as folders (meaning having the same classid) in the admin page? Also make sure that your cache was totally emptied at least once. If necessary clean the cache manually (be careful not to delete any of the other folders in var directory).

If that does not help I would test a few things with one of the nodes that cause problems. Create a special override template for one of these nodes and set the override condition to the node id and place the override at the beginning of the override.ini. Start with the template just displaying the name orid of the node. Does that cause any errors? If not, add a bit more attributes each time and check what is happening.

If the simple template already causes the errors switch the override to one of the nodes that usually work. Does it work there?

I don't think that the error with the missing permissions for the var directory is node dependent. Could you please make sure of that?

Claudia

Kenneth Colwell

Friday 13 October 2006 12:47:09 pm

Hello,

Actually I have more information now.... It wasn't actually a problem with the folder but a problem with the image that was embedded inside the folder.

I moved the image to the trash and now the folder is visible. I can't view that particular image in either the admin system or the normal view. It is also not editable, since the edit screen returns the errors.

This image itself can be viewed here:
http://www.muc.edu/var/storage/storage/images-versioned/69172/1-eng-US/student_outside_khic1_medium.jpg

because the publishing system ignores the var directory.

Thanks,
Ken Colwell

Kenneth Colwell

Friday 13 October 2006 1:29:32 pm

I've manually cleared the caches, and I did see a couple of files that were owned by root in the cache directory.

But the cache clearing didn't help. I wouldn't think that it would be an overide.ini issues since other images work fine.

Some example URLS:

Folder examples:

Works great
http://www.muc.edu/media/image_folder/news_and_events/graduation_2006

Broken:
http://www.muc.edu/media/image_folder/news_and_events/theme_baskets

Individual images:
Works:
http://www.muc.edu/media/image_folder/news_and_events/graduation_2006/graduation_2006__19

Broken:
http://www.muc.edu/media/image_folder/news_and_events/theme_baskets/group_image2

Any more ideas?

Thanks,
Ken Colwell

Claudia Kosny

Friday 13 October 2006 2:18:25 pm

Yes, I don't think that overrides are an issue here either. What I wanted to test in my previous post was whether it is any specific attribute that causes the problem. But it seems like you limited it to the images anyway so there should be no need for that.

The problem actually might be solved in EZ 3.8.1:
http://ez.no/community/bugs/image_upload_in_3_8_doesn_t_work

Maybe check the original pictures whether they contain any additional data (EXIF or so) which might cause problems.

Otherwise I don't know what to do - seeing your timeconstraint it might be better to contact EZ systems (although I don't know whether anyone is there at this time)

Good luck

Claudia

Claudia Kosny

Friday 13 October 2006 2:44:31 pm

Actually I have just seen that the original of the image you posted before has EXIF data so this looks like a possible problem source.

I am talking about this image:
http://www.muc.edu/var/storage/storage/images-versioned/69172/1-eng-US/student_outside_khic1_medium.jpg
and its original:
http://www.muc.edu/var/storage/storage/images-versioned/69172/1-eng-US/student_outside_khic1.jpg

So first try to update one more step and alternatively try to remove the additional data from some example pics to see whether they work then.

My partner just suggested using irfanview to resize the pics to 100% by 100% which removes the exif data in an easy way for a lot of pics. I haven't tried this but maybe it helps you.

Claudia

Kenneth Colwell

Monday 16 October 2006 8:22:36 am

Claudia, Thank you for your guidance!

The key to solving this problem was to just keep upgrading. My thoughts were that since the upgrade process involved taking two steps, first to 3.8.0 and then on to 3.8.4 that I should make sure that everything was working when I got to 3.8.0. As it turns out that wasn't such a good idea.

So, if you are having problems after upgrading to 3.8.0... just keep on upgrading until you get to 3.8.4 or whatever is current at the time.

Thanks,
Ken Colwell