Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Able to write to Config.php


juniorprg

Recommended Posts

Hey all

 

I had a fresh installation of OSC2 after the installation its showing this msg

 

" Warning: I am able to write to the configuration file: /services/webpages/c/a/marketing.com/public/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file."

 

I did as per instructed in oscommerce.info and the user permissions are set still the same msg is shown.

 

Will this msg in my customers page too or only on my IP address

 

secondly how can i remove this msg?

 

Please help

l8ter

Link to comment
Share on other sites

If you have installed osCommerce on a Windows server then the CHMOD command used in FTP won't work. You either need to change the file permission in your web hosting control panel (not the osCommerce control panel), or by accessing your site using SSH or Telnet.

 

Yes, everyone will see this message.

 

Vger

Link to comment
Share on other sites

thanks rhea,

 

now im more worried, i did goto web server control panel and changed the permission settings.. still its showing this warning...

 

pls have alook at the attached screenshot of the permission settings of config.php

 

is there any thing the hosting company can do regarding this

 

img.jpg

l8ter

Link to comment
Share on other sites

I did that too ...still showing that warning...

 

Like I said before in another topic ... this has happened to me. Changing the file permission wouldn't work using any FTP program like CuteFTP or LeapFTP. It did work however under cPanel which my host supplies as a part of my hosting package.

 

I would contact your host provider to find out the problem.

Remember what the Bible says: He who is without sin, cast the first rock. And I shall smoketh it.

Link to comment
Share on other sites

Young Tae Byun - Sarath has already tried changing it via the web hosting control panel.

 

Sarath - Just in case - check to see if you have a folder called 'local' with another configure.php file inside it. If it is there then it has the permission to overrule any other configure.php file and the application_top.php file.

 

If it's not there then try one more time to reset the permission to 400 (Owner - Read Only), and if that doesn't work contact your hosting company and get them to set the permission for you.

 

Vger

Link to comment
Share on other sites

There are no local folder , there is a configure.php in admin/includes but its permission also set to read only for all 3 groups.

 

Well im sick of Bell Canada, they have issued a "ticket" for problem after explaining everything..

 

and they got the worst DB manager in control panel, its like teaching kids 1..2...3

 

I tried installing PhPMyADmin but Im not gaining access to OSC DB, which they wont help coz its a "third party"

 

Any one has good knowledge in setting up PhpMyAdmin please help... I have set all the host name, user name and password.

 

When i give the DB name it says Access Denied but without giving DBname I have no privelage to create DB but I can get into host server...

 

Sorry Im taking this forum to explain abt pHpMyadmin....If anyone please can help me ...thanks

l8ter

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...