Forums / Templates, Stylesheets, Page Layout / Setting file permissions for main page

Setting file permissions for main page

Locked

Views: 768

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
27 Feb 2009, 6:28 AM
#1
webartist avatar

webartist

New Zenner

Join Date:
Feb 2009
Posts:
3
Plugin Contributions:
0

Setting file permissions for main page

How do I change file permission for the main page? Do I have to do this on my hosting site?

When trying to change the main page, I get this error: Error: I can not write to this file. Please set the right user permissions on: /home/collecti/public_html/products/includes/languages/english/html_includes/define_main_page.php

Thanks, Chris

27 Feb 2009, 7:54 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Setting file permissions for main page

You need to make the file writable. The correct setting depends on how your hosting company has configured your server. If you installed Zen Cart using the provided installation process, it would have explained the permissions issues to you and instructed you to set them appropriately.
Related FAQs: https://www.zen-cart.com/tutorials/index.php?article=9 and https://www.zen-cart.com/tutorials/index.php?article=148

You should also be using an override folder to store your customized files. Related FAQs: https://www.zen-cart.com/tutorials/index.php?category=4

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.