ggrant3 Posted June 14, 2010 Posted June 14, 2010 Okay I have never used OsCommerce before so this will probably sound newb'ish. I have built about 3-4 websites so I am not blind when it comes to website construction, but I certainly don't fully understand a lot of it still. I have the installation complete to the point where the demo site appears on my domain. I had an error displayed pertaining to the permissions on the catalog/includes/configure.php - the error said I needed to change the permissions for the file. Now I went to the file manager for my site (I use GoDaddy, if it matters) and I went to that file and clicked on "Permissions" and it said "Web user permissions" - "Read" "Write" "Execute" and only "Read" was checked. It also has a section called "Owner Permissions" Read and Write were checked. I unchecked Write under the Owner Permissions and reloaded the page and the error message went away. Is that the correct way to do it? As the "Owner" shouldn't I be able to leave "Write" checked? I don't have any numerical settings I see a lot of information in the documentation about changing permissions to 777, 644, 444, etc. I have no idea what those mean or where to do it.
ggrant3 Posted June 14, 2010 Author Posted June 14, 2010 Wait a second. I was just playing around with the admin section of the site and found a file manager section, where it allows me to edit code. Is this where I should be making these changes? And not through the file manager on my hosting account?
BryceJr Posted June 14, 2010 Posted June 14, 2010 Wait a second. I was just playing around with the admin section of the site and found a file manager section, where it allows me to edit code. Is this where I should be making these changes? And not through the file manager on my hosting account? Avoid the "file manager" in oscommerce like the plague. Remove it, because hackers will use it to have their way with your website. Also, remove the "define languages". How? See >>this. If you want to edit code, ftp the file to your computer, use notepad++, crimson editor, jedit, pspad, or your preferred text editor(not ms word) to edit, upload it back. Godaddy has FTP in their file manager. If you want to know more about those numbers, type "chmod permission" as a search query in google, bing, yahoo, etc. All folders 755 permission. All files 644 with exception to the two configure.php files which should be 444. ****Always a good practice to backup prior to editing files.****
ggrant3 Posted June 15, 2010 Author Posted June 15, 2010 Avoid the "file manager" in oscommerce like the plague. Remove it, because hackers will use it to have their way with your website. Also, remove the "define languages". How? See >>this. If you want to edit code, ftp the file to your computer, use notepad++, crimson editor, jedit, pspad, or your preferred text editor(not ms word) to edit, upload it back. Godaddy has FTP in their file manager. If you want to know more about those numbers, type "chmod permission" as a search query in google, bing, yahoo, etc. All folders 755 permission. All files 644 with exception to the two configure.php files which should be 444. ****Always a good practice to backup prior to editing files.**** Okay thank you for the info. I took care of the file manager and define languages items you mentioned. And I did the search on the chmod info and learned what the numbers mean and how they are determined. But.... I still have an issue with setting permissions. In Godaddy when I click on a file/folder and hit the permissions option I only have 2 categories Owner & Web User. That's it, there is no third option, no all, group, other, etc... So what do I do? Also, I am using Dreamweaver as my ftp, I will not be using GoDaddy to upload or edit files, so do I even need to worry about this? Could I just set every folder on my GoDaddy file manager to "read" only and upload the files with dreamweaver? Or would I need to do something in dreamweaver to classify them as read only too? Is that what the "write" option is for in the hosting account file manager? To allow me to log in to that account and make changes?
ggrant3 Posted June 15, 2010 Author Posted June 15, 2010 Are the 2nd and 3rd digit or permissions always the same? If so, then I would be fine with only having 2 options through GoDaddy, right? I could make a 644 into a 64 basically or a 755 into a 75, right?
Guest Posted June 15, 2010 Posted June 15, 2010 Greg, Use filezilla to access the godaddy server and you will see the permissions in the proper format. Chris
ggrant3 Posted June 16, 2010 Author Posted June 16, 2010 Greg, Use filezilla to access the godaddy server and you will see the permissions in the proper format. Chris Thank you. That made it easy.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.