Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Mar 2006
    Posts
    4
    Plugin Contributions
    0

    application error cant chmod configure.php

    Hi all,

    im having a problem getting shut of the error message:

    Warning: I am able to write to the configuration file: /user/htdocs/store/includes/configure.php. This is a potential security risk - please set the right user permissions on this file (read-only, CHMOD 644 or 444 are typical). You may need to use your webhost control panel/file-manager to change the permissions effectively. Contact your webhost for assistance.

    I have tried setting it to 644, 444, 400 in my host CP and using ws_ftp and still with no luck.
    I sent a message to my hosting company explaining the problem and they said i should use SSH, so i setup a SSH account and logged in with putty and CHMOD the configure.php from there.
    And to my supprise the error message is still coming up, can anyone help, i tried the tutorial and FAQ with no success

    Thanks

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: cant chmod configure.php


  3. #3
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: cant chmod configure.php

    Try winscp. I use cuteftp and has the same problem as well. Or you can try to use sftp instead of ftp and see if that works.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  4. #4
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: cant chmod configure.php

    Since you have Shell accees, here's the big question, "Did you verify the change?"


    As many people don't have Shell access but run into this problem, if changing permissions using your Hosting Control Panel doesn't work this seems to work for all.


    Make a blank file and inside put the following code:

    <?php
    chmod("includes/configure.php", 0444);
    chmod("admin/includes/configure.php", 0444);
    echo 'Completed'
    ?>


    Note: if you renamed the 'admin' directory then change "admin" to whatever you renamed it to and you're good to go.

    Save the file as chmod.php and upload it to the same directory where these files are:
    index.php - ipn_main_handler.php - nddbc.html

    Now load this URL into your Browser: http://yoursite.com/chmod.php
    (adjust URL accordingly if Zen Cart is in a sub-directory)

    You will see the 'Completed' msg. and can then load your Zen Cart "index" page to verify Error msg. is gone.

    Any Admin login problem(s) should also be gone.

    Now delete the 'chmod.php' page.

  5. #5
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,511
    Plugin Contributions
    126

    Default Re: cant chmod configure.php

    Some hosts have applications such as "File Manager" in their Control Panel (CPanel) suite that you need to use to do this sort of thing.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  6. #6
    Join Date
    Mar 2006
    Posts
    4
    Plugin Contributions
    0

    Default Re: cant chmod configure.php

    Hi guys

    Thanks for the quick responses, ftp appz didnt do it, neither did the hosts CP file manager.
    When using putty i verified the changes with the same results, how ever i did spend a bit more time on putty messing around with it and somehow managed to change change it.
    So that problem is solved now and have to try and deal with the next problem of the htaccess file not allowing the images to to be viewed in the shop and in admin unless i delete them out.
    Thank you for your help and will keep thia info in mind for the next time.

 

 

Similar Threads

  1. Getting configure.php CHMOD Warning
    By rfresh in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 10 Jan 2009, 06:24 PM
  2. configure.php CHMOD to what?
    By magicfun in forum General Questions
    Replies: 4
    Last Post: 16 Apr 2007, 04:36 AM
  3. CHMOD - Change Includes folder or Configure.php?
    By mlm2005 in forum Installing on a Linux/Unix Server
    Replies: 8
    Last Post: 1 Jul 2006, 10:31 AM

Posting Permissions

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