puzzlezone Posted August 3, 2006 Share Posted August 3, 2006 Hello all, I'm pretty new to OsCommerce, but with the help of these boards I've been able to get everything working on my own, but now I have a problem I can't seem to figure out. Here's the deal: I have oscommerce hosted by another company, and that all works fine. I wanted to be able to work on the php files locally, so I have installed all of the server software for php, apache, and sql on my home PC. I have been able to install and use a local copy of oscommerce. Everything appears to work, database and all. I can access the local versions of the control panel and such. Now, I wanted to start editing the main page index.php, but I am unable to view it before or after making changes to it. You don't have permission to access /oscommerce/catalog/includes/languages/english/index.php on this server. The actual address is http://localhost/oscommerce/catalog/includ...glish/index.php I AM able to run PHP scripts from the www directory of easyPHP, and it's subdirectories, so this all appears to be working. I went in and made sure all of the folders at the above address are read/write enabled, but I can't seem to get rid of this error. I've now run out of ideas. Any help is appreciated! Thanks, Jeff Link to comment Share on other sites More sharing options...
brianstorm Posted August 3, 2006 Share Posted August 3, 2006 is there an equivalent of chmod on a windows install? might be that... with ten thousand dollars we'll all be millionaires Link to comment Share on other sites More sharing options...
puzzlezone Posted August 3, 2006 Author Share Posted August 3, 2006 is there an equivalent of chmod on a windows install? might be that... Well, that's what I was hoping someone could tell me. I know how to use chmod, and change permissions on a webserver, but I'm not sure what to do with this local installation. I'm convinced that is the problem, as I'm able to run other PHP scripts from the same directory tree with no problems. Still hoping for a cure :) Jeff Link to comment Share on other sites More sharing options...
puzzlezone Posted August 3, 2006 Author Share Posted August 3, 2006 Well, I did some more work on it, and I think I've found the problem, but I'm still not sure how to fix it. I can access some of the files and directories under localhost, but once I start going to the 'includes' directory, i get the forbidden message. I checked, and sure enough, read only was enabled for that folder and all the files under it. Problem is, after changing it back to R/W, if I open the menu again, it still has a check mark in the read only box. My setting changes aren't sticking for some reason... Any ideas folks? Jeff Link to comment Share on other sites More sharing options...
starcad Posted August 4, 2006 Share Posted August 4, 2006 Well, I did some more work on it, and I think I've found the problem, but I'm still not sure how to fix it. I can access some of the files and directories under localhost, but once I start going to the 'includes' directory, i get the forbidden message. I checked, and sure enough, read only was enabled for that folder and all the files under it. Problem is, after changing it back to R/W, if I open the menu again, it still has a check mark in the read only box. My setting changes aren't sticking for some reason... Any ideas folks? Jeff Jeff check the .htaccess file in that directory it may be causing your problems. Link to comment Share on other sites More sharing options...
choosealogin Posted August 4, 2006 Share Posted August 4, 2006 starcad made a good point. There is an .htaccess file in /includes ...but, I can't think of a single file that is in /includes/ that you can view in a browser. Those are just language files, modules, function /class definitions...nothing that works all by itself in a browser window. You can edit the code, then when you want to see the change open the associated TOP level file (*http://localhost/catalog/oscommerce/index.php) in your browser. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.