ricktbo Posted November 27, 2009 Share Posted November 27, 2009 Hello, I need help changing permissions on my configure.php file. i use godaddy for hosting and it allows me to change permissions on folders but not individual files. Any ideas? Thanks! Link to comment Share on other sites More sharing options...
Guest Posted November 27, 2009 Share Posted November 27, 2009 Rick, If you use your FTP program to access godaddy you can change the permissions very easily by right clicking on the file you wish to change. In the godaddy control panel, go to your hosting control center, click on My Files (file manager)......select the folder that your store is in, select catalog. select includes> select configure.php and click the Permissions Icon at the top of your page to see and edit the current permissions. Chris Link to comment Share on other sites More sharing options...
ricktbo Posted November 27, 2009 Author Share Posted November 27, 2009 yea thats what I thought too... permissions box is not there when I choose the config.php file. When I use my FTP program and try to set permissions with that it says command not understood..... Any ideas would be great. Thanks! Link to comment Share on other sites More sharing options...
germ Posted November 27, 2009 Share Posted November 27, 2009 yea thats what I thought too... permissions box is not there when I choose the config.php file. When I use my FTP program and try to set permissions with that it says command not understood..... Any ideas would be great. Thanks! Sounds like you're on a Windowz server where "numbered" permissions don't apply. If that is so, it should be set as "read only". If you can't figure out how to do it via your cPanel start a support ticket with your host. :thumbsup: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
ricktbo Posted November 27, 2009 Author Share Posted November 27, 2009 ok just talked to godaddy and they do not have an option to change permissions in control panel. they said I have to set permissions with code.... any ideas??? Link to comment Share on other sites More sharing options...
germ Posted November 27, 2009 Share Posted November 27, 2009 <?php // configure.php chmod utility ?> <HTML> <HEAD> <TITLE></TITLE> <LINK REV="made" HREF="mailto:"> <META NAME="generator" CONTENT="NoteTab Light 4.95"> <META NAME="author" CONTENT=""> <META NAME="description" CONTENT=""> <META NAME="keywords" CONTENT=""> </HEAD> <BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#800080" ALINK="#FF0000"> <?php echo 'Attempting chmod......<br><br>'; if ( chmod('includes/configure.php', 0444) ) { echo 'SUCCESS!!!!<br><br>'; } else { echo 'FAILURE!!!!<br><br>'; } ?> </BODY> </HTML> Copy the text in the code box into Wordpad. Save it as junk.php (a text file not RTF) Upload it to the catalog folder on your site. Access it via your browser like: http://www.yourdomain,com/catalog/junk.php I know I said numbered permissions don't work but I found some info that leads me to believe this would work even on a Windowz server. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
BryceJr Posted November 28, 2009 Share Posted November 28, 2009 --OR You could contact your host and ask them to witch you to a Linux server. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.