Zen Cart Logo
Forums / Upgrading from 1.3.x to 1.3.9 / public_html or www?

public_html or www?

Locked

Views: 1,748

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
1 Jan 2007, 8:31 AM
#1
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

public_html or www?

Post upgrade (to 1.3.6) I now have two copies of my store in two folders at the root level: public_html and www.
What is the difference between the two and in which folder do I make changes such as adding new product photos, new modules etc.?

And another related question - Now when I'm working in the admin, I'm receiving error messages such as the following:

Error: I can not write to this file. Please set the right user permissions on: /public_html/shop/includes/languages/english/html_includes/define_main_page.php

While I can certainly set and re-set the permissions, is it necessary to do this all the time? I realize that this is a security issue but is there a happy medium where I can be mostly secure but also not have to bounce back and forth setting permissions? If so, which main folders should be set and to what? 777? (and in which file: public_html or www?)

Oww - my head hurts :wacko: But it is nice to be on this end of the upgrade!

Thanks for any help you can give.

Tim

1 Jan 2007, 9:03 AM
#2
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: public_html or www?

Post upgrade (to 1.3.6) I now have two copies of my store in two folders at the root level: public_html and www.
What is the difference between the two
No difference, they are same.. I usually stick to one or
the other..
HTH :smile:

1 Jan 2007, 9:19 AM
#3
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: public_html or www?

Hi Tim,
the www. is a sym of the public_html.

there really is no happy medium,
upi need 777 on the images folder and the define pages folder,
these are the only ones that you really have to change and then only when you make changes.

1 Jan 2007, 4:04 PM
#4
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Re: public_html or www?

Thanks for your responses - Question: I have all of my modified "define" pages (define_main_page.php etc.) in my template override folder. However, when I access these pages via the admin to make changes I'm still getting the following error: Error: I can not write to this file. Please set the right user permissions on: etc.

I can avoid this error by changing permissions of each .php page individually but shouldn't I be able to have permissions set for the folder?

1 Jan 2007, 5:08 PM
#5
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: public_html or www?

Yes you need to set the permissions for each file but you need to change the folders as well.