Results 1 to 8 of 8
  1. #1
    Join Date
    Oct 2009
    Posts
    62
    Plugin Contributions
    0

    Default Make files on Server Writebale?

    Error Error: I can not write to this file. Please set the right user permissions on: ...define_main_page.php

    How can I do this?

    Thanks.

  2. #2
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Make Server Writebale

    via ftp
    then set file permissions/ch mod to 777

  3. #3
    Join Date
    Oct 2009
    Posts
    62
    Plugin Contributions
    0

    Default Re: Make Server Writebale

    Should I do that for the whole store directory?

  4. #4
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Make Server Writebale

    Quote Originally Posted by site View Post
    Should I do that for the whole store directory?
    NO!

    If fact you should immediately;y return the permissions to un-writable after making your changes or you leave a big security hole in your shop.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  5. #5
    Join Date
    Oct 2009
    Posts
    62
    Plugin Contributions
    0

    Default Re: Make Server Writebale

    Quote Originally Posted by Kim View Post
    NO!

    If fact you should immediately;y return the permissions to un-writable after making your changes or you leave a big security hole in your shop.
    Oh, so I should always change it. Better for me to just edit it from my admin cpanel instead of zencart then. Easier, unless I need to keep some as 777 or 755 for other things.

  6. #6
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Make Server Writebale

    Quote Originally Posted by site View Post
    Oh, so I should always change it. Better for me to just edit it from my admin cpanel instead of zencart then. Easier, unless I need to keep some as 777 or 755 for other things.
    NEVER edit php files with the editor in cpanel! Either use the facility in Zen Cart or download the file to your local computer, make your changes with a good text editor and then upload the changed file back to your site. In order for that to work, you'll have to change the permission and then change it back for security reasons. 755 will probably do the trick.

    php files should be edited with a good text editor like Notepad++ or Crimson Editor which are both available free on the net. Filezilla is a good, free FTP client.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  7. #7
    Join Date
    Oct 2009
    Posts
    62
    Plugin Contributions
    0

    Default Re: Make Server Writebale

    Quote Originally Posted by afo View Post
    NEVER edit php files with the editor in cpanel! Either use the facility in Zen Cart or download the file to your local computer, make your changes with a good text editor and then upload the changed file back to your site. In order for that to work, you'll have to change the permission and then change it back for security reasons. 755 will probably do the trick.

    php files should be edited with a good text editor like Notepad++ or Crimson Editor which are both available free on the net. Filezilla is a good, free FTP client.
    Oh, why is that not a good idea? I have always been doing that. Oops.

  8. #8
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Make Server Writebale

    Quote Originally Posted by site View Post
    Oh, why is that not a good idea? I have always been doing that. Oops.
    The Cpanel editor can add extra "white space" to php files which can cause all sorts of problems with the website (such as blank screens).
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

 

 

Similar Threads

  1. Replies: 0
    Last Post: 2 Sep 2013, 02:11 AM
  2. Replies: 5
    Last Post: 8 Oct 2009, 07:50 AM
  3. upload testing server files to online server
    By robert4442 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 3 Jul 2009, 04:35 PM
  4. Files need to Make Language Pack?
    By godspeed27 in forum Addon Language Packs
    Replies: 3
    Last Post: 1 May 2007, 03:53 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg