Jump to content
stevanio007

index.php & config issue

Recommended Posts

Hello all. This morning i created a new domain and installed phoenix, so pleased to find it after using oscommerce from scratch many moons ago. Any how i cleared the usual config errors at the start and started customize the site via the admin module. all well and good, refreshing the front end as you go to check changes etc. then i got a 404 error, after some deliberation and back and forth in my browser history i realised that index.php was missing when i checked in file manager. 

i can access the admin page no problem (although now even though i fixed it this morning i am getting the following) I am able to write to the configuration file: /home/hillandm/plants4gardens.co.uk/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

Now this is where it is interesting as now index.php is back however unlike all the other files in there has a completley different modified date. So i thought i would install pheonix again but on a different unused domain and low and behold the date of index.php is the same as all the other files. 

As of now i cant access the index (home page) of the site but i find this really weird. 

Any advice for a newbie please. Thansk in advance Steve

Share this post


Link to post
Share on other sites

I have copied the index.php from a new install and back up and running. very weird i must say. Once i get going i will be keen to start to look at some add ons. 

Share this post


Link to post
Share on other sites
3 hours ago, stevanio007 said:

I am able to write to the configuration file: /home/hillandm/plants4gardens.co.uk/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

It's a common problem for all oscommerce shops. You just need to change the permissions settings for the configure files. If you use this format on google, you can find answers to many of your questions, which may be faster than posing here:

site:forums.oscommerce.com "search term here"

Here is the result of the above search.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×