oscommerce error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Andy
    Senior Member
    • Mar 2004
    • 257

    oscommerce error

    Hey guys

    I am getting the error

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

    I am know there is a file you create to run, but I lost mind and can not see mto find it on oscommerce.org forums.

    Anyone have that file.
    thanks
    Andy
  • Andy
    Senior Member
    • Mar 2004
    • 257

    #2
    Ok, i found it

    <?php
    chmod('includes/configure.php', 0444);
    ?>
    Andy

    Comment

    • Eric
      Junior Member
      • Mar 2004
      • 22

      #3
      Hi,

      FYI, another option is to use Cpanel to alter permissions.

      Eric

      Comment

      • rod
        Member
        • Mar 2004
        • 65

        #4
        I tried to make it with my ftp client and doesnt work, go to cpanel filemanager and doesnt work either! why is this happening?


        edit:

        well It accept 466

        hope that works

        Comment

        • hyperrev
          Junior Member
          • Apr 2005
          • 1

          #5
          oscommerce configure.php permissions

          I've moved my site over to dathorn and had Andrew copy all the files over, but the permissions isn't correct? I've tried change it using cPanel and an ftp program, no change. I tried having cPanel install a fresh cart to see what would happen and it has the same problem. They both report:

          Warning Warning: I am able to write to the configuration file: /home/xxxxxx/public_html/store/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

          Any ideas anyone? 466 doesn't do it for me... Any advice would be greatly appreciated.

          Comment

          • timg
            Member
            • Feb 2005
            • 84

            #6
            Ummm...

            Andy made it work with 444, not 466....
            ~ Tim Gallant ~ http://www.pactumweb.com

            Comment

            • james
              Senior Member
              • Mar 2004
              • 183

              #7
              AFAIK, for some reason the only solution was to chmod the configure file using the above php script. It's something to do with the servers running PHPSuExec.

              James

              Comment

              • w3it
                Member
                • Feb 2005
                • 32

                #8
                If you are really into supporting osCommerce then SSH is a must have. Using the chmod command at the command line will never fail.
                Last edited by w3it; 10-14-2005, 05:17 AM.

                Comment

                • Buddha
                  Senior Member
                  • Mar 2004
                  • 825

                  #9
                  Originally posted by w3it
                  If you are really into supporting osCommerce then SSH is a must have. Using the chmod command at the command line will never fail.
                  Yes, SSH does come in useful. Wish all my hosts offered it.
                  Last edited by Buddha; 10-14-2005, 06:37 AM.
                  "Whatcha mean I shouldn't be rude to my clients?! If you want polite then there will be a substantial fee increase." - Buddha

                  Comment

                  Working...