error: The template can not be edited.

Author Message

Greg McAvoy-Jensen

Sunday 08 January 2006 11:54:42 am

In the administartion interface, I was used to accessing a product's template by clicking on Classes, then Products, then down at the bottom, hitting the edit button by the override template I needed (product full).

Now however, I I get this error:

The template can not be edited.

The requested template does not exist or is not being used as an override.
Edit <design/shop/override/templates/full/product.tpl> [Template]
Requested template: design/shop/override/templates/full/product.tpl
Siteaccess:

This did happen after I did two things:
1. I changed the website address, as we now have a specific domain name.
2. I changed permissions. I made all things that were't specifically supposed to be Apache's (www-data:www-data in Debian) belong to root (it had been 500:500). Then I ran bin/modfix.sh, and made the recommended chmod and chown to var.

Suggestions? Even if you don't know how this happened, any ideas on how to fix it? The override template is still used when you view the website; the administration interface just thinks it does not exist or is not being used. Here's what the file looks like:

$ ls -la design/shop/override/templates/full/product.tpl
-rw-rw-rw-  1 www-data www-data 3375 2006-01-08 09:55 design/shop/override/templates/full/product.tpl 

Granite Horizon, Certified Developer of eZ Publish Web Solutions
Provider of the SaaS Solution Granite Horizon In The Cloud | http://granitehorizon.com/cloud
http://granitehorizon.com | +1 916 647 6350 | California USA | @granitegreg
Blog: http://granitehorizon.com/blog

Arran Price

Sunday 08 January 2006 4:00:39 pm

Hi Greg,
if it is a permission issue, I would check the directory permissions (make sure the www-data group has read permission into it - although from your testing it looks to be ok). Also to rule it out as being a unix permission error consider changing to a user with the correct permissions and try editting the file manually. At least that way you determine if its a unix permission issue or something to do with ezpublish).

hope thats of some help.

Arran

Greg McAvoy-Jensen

Sunday 08 January 2006 9:55:23 pm

Yes, I had been able to edit it with vi no problem.

Weird. Now when I go there it works, perhaps because I accessed it through the override list. I'm confused, but the problem is solved.

Granite Horizon, Certified Developer of eZ Publish Web Solutions
Provider of the SaaS Solution Granite Horizon In The Cloud | http://granitehorizon.com/cloud
http://granitehorizon.com | +1 916 647 6350 | California USA | @granitegreg
Blog: http://granitehorizon.com/blog

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