Forums / Setup & design / I am able to edit templates in "base" directory, but can't edit templates in "shop" directory. Why?

I am able to edit templates in "base" directory, but can't edit templates in "shop" directory. Why?

Author Message

Ulrich L.

Friday 26 November 2004 1:11:52 pm

Hi,
my install "out of the box" created the following entry in the siteaccess sit.ini.append.php:

[DesignSettings]
SiteDesign=shop
AdditionalSiteDesignList[]=base

As I understand this, design/shop/override/templates will override design/base/override/templates will override design/standard/templates. Right?

However, the ezpublish install doesn't give me access to the template files in the shop directory (no write rights on a shared host), but I do have access to the files in the base directory (which are mostly overridden...).
Why behaves ezpublish like this? Can I change this behaviour?

Felix Laate

Tuesday 30 November 2004 6:13:50 am

Hi Ulrich!

It could be because ez was installed with one user and apache runs on another.

When you run the online setup, the design for e.g. the shop is extracted by the webserver (or rather the user than runs the apache server - often apache), and so your user wouldn't have the right permissions.

I run a

chown -R me:me /myezdir/design/

after running the online setup.

Prost!

felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Ulrich L.

Saturday 04 December 2004 9:12:19 am

Yes, that was the reason.
Without direct access to the root these things can get a little bit complicated.
So it's not possible for ezpublish install wizard to take care of such demands for shared host users?
Or is there even a general advice not to use a shared host? I'm already thinking of changing to a VP server.