osCmax v2.5 User Manual
Page 1 of 3 123 LastLast
Results 1 to 10 of 29

Warning: I am able to write to the configuration file

This is a discussion on Warning: I am able to write to the configuration file within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; Code: Warning: I am able to write to the configuration file: /services/webpages/j/a/jarononline.com/public/store/catalog/includes/configure.php. This is a potential security risk - please ...

      
  1. #1
    New Member
    Join Date
    Dec 2002
    Posts
    19
    Rep Power
    0


    Default Warning: I am able to write to the configuration file

    Code:
    Warning: I am able to write to the configuration file: /services/webpages/j/a/jarononline.com/public/store/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.
    I chmoded both configure.php files to 644 and the include directories to 755. So why am I getting this error? I read it might have something to do with file ownership? Could someone give me details on how to fix this. I have never used the chown command before and have only chmoded using WS_ftp.

  2. #2
    Active Member
    Join Date
    Oct 2002
    Location
    Arkansas
    Posts
    149
    Rep Power
    0


    Default

    I posted the solution for you on the osc forum.

    wsftp will not work trying to chmod.

    You can download cuteftp which will set the permissions correctly or, if you have a server admin area like cpanel, you can set file permissions in file manager.
    Sincerely,
    Melinda

    www.designhosting.biz

  3. #3
    New Member
    Join Date
    Dec 2002
    Posts
    19
    Rep Power
    0


    Default

    Cuteftp didn't make any difference. same error.

  4. #4
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default

    how about chmodding from the shell... Login using an ssh client, navigate to the correct directory, and at the command prompt type : chmod 644 configure.php

    If that doesn't work, contact your host and have them do it for you. This sounds like a server issue to me.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  5. #5
    New Member
    Join Date
    Dec 2002
    Posts
    19
    Rep Power
    0


    Default

    I don't think its a servers issue, because after browsing the forums, I found allot of people having the same error.

    That's the second time I have heard the word ssh. For all us noobs reading this forum, what is a ssh client and where do I get one?

  6. #6
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default

    ssh = secure shell

    Do a search on google for SSH or SecureCRT and you will find a bunch of clients. I use SecureCRT by vandyke software. It is trialware.

    This is a direct command line connection to your server. Once logged in, you can issue text commands that directly effect the server. This is the most direct way to chmod. If it doesn't work, it is most definitely a server issue and you should talk to your host and find out the correct procedure for your server to set permissions.

    The reason I say it is a server issue is because in over a year of installing oscommerce on various (linux,solaris,win98,winxp) different servers, and doing well over 150 installs, I have never come across this problem. I do about 10 installs a week for clients and never have a chmod problem.

    Try ssh and see if that gets it for you.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  7. #7
    New Member
    Join Date
    Dec 2002
    Posts
    19
    Rep Power
    0


    Default

    Well I didn't think I was a total moron, but now I'm starting to wonder. I cant connect to the server using SecureCRT. Probably because i have no idea whatsoever what im doing. I just plugged in the same info i used to ftp, but it wont connect.
    I assume SSH is something completely different and I need more info.
    I do take instructions well if you assume I have absolutely no experience with SSH.
    I can ftp all day and chmoding from ftp clients has always worked until now.

  8. #8
    New Member
    Join Date
    Dec 2002
    Posts
    19
    Rep Power
    0

  9. #9
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default

    Your login info should be the same as your main account login, unless your host does something different.

    Check to see if your host even allows shell access on your account, as many hosts do not. Then check to see if they support ssh or telnet.

    Also, is your server linux based?
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  10. #10
    New Member
    Join Date
    Dec 2002
    Posts
    19
    Rep Power
    0


    Default

    yes linux.
    haven't been able to find any info on SSH on my Hosts site. vmsol.com

Page 1 of 3 123 LastLast

Similar Threads

  1. Able to write to config file - after a few months I get this
    By ozstar in forum osCmax v2 Installation issues
    Replies: 3
    Last Post: 10-16-2005, 10:27 AM
  2. Warning: No file uploaded. (for my products)
    By trout in forum osCommerce 2.2 Installation Help
    Replies: 4
    Last Post: 06-04-2004, 04:25 AM
  3. problem with configuration file
    By galil in forum osCommerce 2.2 Installation Help
    Replies: 2
    Last Post: 03-04-2004, 09:08 AM
  4. Warning: I am able to write to the configuration file
    By Lefuneste in forum osCommerce 2.2 Installation Help
    Replies: 0
    Last Post: 12-26-2003, 04:15 PM
  5. Error: I can not write to this file.
    By angie201 in forum osCommerce 2.2 Installation Help
    Replies: 0
    Last Post: 05-25-2003, 02:15 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •