I can't create a template :? :? :?

Author Message

Daniele Cacace

Saturday 02 July 2005 3:06:45 am

I have a small problem with site! After to have formatted the machine on which it turned the site I have copied the Db the pages and I have given the permissions to the customer of Apache (chown -R wwwrun.www .....). Hour the site works correctly but it does not allow me to modify the template ones or to create some of new because it says that the customer of Apache does not have the writing permissions! But I glie give it to it!

Arran Price

Sunday 03 July 2005 4:09:38 pm

Hi Daniele,
from a unix point of view, it sounds like the file permissions are still wrong.
Things to check:
the actual webuser from the apache httpd.conf file.
Make sure that the user in there is actually wwwrun.
also go into the design/site_name/override/templates directory and check the files in there to make sure they are the right permissions. Test the permissions by becoming the user and creating a file. eg "su - wwwrun" and "touch foo"
Also check your apache logs, the error log may tell you whats wrong.

Arran

Daniele Cacace

Tuesday 05 July 2005 12:43:50 am

example of dir: -r--rwxrwx 1 wwwrun www 870 2005-07-02 11:55 new_path.tpl

ez:
The server web does not have the permissions of writing for the template ones demanded.

if i send command chown -R wwwrun.www new_path.tpl or chown wwwrun.www new_path.tpl the result is:

dir:
-r--rwxrwx 1 wwwrun www 870 2005-07-02 11:55 new_path.tpl

ez:
The server web does not have the permissions of writing for the template ones demanded.

Apache user is wwwrun group www! :| Help me!

Nabil Alimi

Tuesday 05 July 2005 4:18:55 am

Are you sure this is the right user ? I dont know much about this, but on the server I'm working on, by setting the rights to www-data, it works fine.

Maybe it can help.

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

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 19 2025 11:50:31
Script start
Timing: Jan 19 2025 11:50:31
Module start 'layout'
Timing: Jan 19 2025 11:50:31
Module start 'content'
Timing: Jan 19 2025 11:50:32
Module end 'content'
Timing: Jan 19 2025 11:50:32
Script end

Main resources:

Total runtime1.0504 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 589.1563152.6250
Module start 'layout' 0.00470.0019 741.781339.4453
Module start 'content' 0.00661.0422 781.2266589.7656
Module end 'content' 1.04880.0015 1,370.992212.1563
Script end 1.0503  1,383.1484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3099160.0002
Check MTime0.00130.1193160.0001
Mysql Total
Database connection0.00070.067610.0007
Mysqli_queries0.991494.3851620.0160
Looping result0.00070.0694600.0000
Template Total1.017296.820.5086
Template load0.00380.364120.0019
Template processing1.013496.473320.5067
Template load and register function0.00020.021010.0002
states
state_id_array0.00230.218810.0023
state_identifier_array0.00110.102320.0005
Override
Cache load0.00270.2561290.0001
Sytem overhead
Fetch class attribute can translate value0.00060.061030.0002
Fetch class attribute name0.00160.147860.0003
XML
Image XML parsing0.00280.270930.0009
class_abstraction
Instantiating content class attribute0.00000.001670.0000
General
dbfile0.00320.3046220.0001
String conversion0.00000.000740.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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 20
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs