Results 1 to 10 of 10
  1. #1
    Join Date
    Jan 2009
    Location
    Sydney Australia
    Posts
    15
    Plugin Contributions
    0

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

    Hi
    Have followed security advice & set 644 for configure.php files via cpanel & confirmed 644 setting
    Refreshed browser emptied cache but demo site still says Warning: I am able to write to the configuration file...
    what else could I have wrong?

  2. #2
    Join Date
    Nov 2006
    Posts
    69
    Plugin Contributions
    0

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

    Hi try 444 should fix your problem

  3. #3
    Join Date
    Jan 2009
    Location
    Sydney Australia
    Posts
    15
    Plugin Contributions
    0

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

    Quote Originally Posted by Mickyelta View Post
    Hi try 444 should fix your problem
    Yes that does it
    Thanks

  4. #4
    Join Date
    Jan 2009
    Location
    Sydney Australia
    Posts
    15
    Plugin Contributions
    0

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

    There is gona be lots of ?'s i think

    Have done as suggested Under Security changing of configure.php files
    [Quote]Renaming the "admin" folder makes it much harder for would-be hackers to get into your admin area.

    (Before making the following changes, make sure to have a current backup of your files and your database.)

    A- Open your admin/includes/configure.php, using a simple text editor like notepad.
    Change all instances of /admin/ to your chosen new admin folder-name.

    Change this section:

    define('DIR_WS_ADMIN', '/admin/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', '/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    And this section:

    define('DIR_FS_ADMIN', '/home/mystore.com/www/public/admin/');
    define('DIR_FS_CATALOG', '/home/mystore.com/www/public/');

    B- Find your Zen Cart /admin/ directory, using your FTP software or your webhost File Manager.
    Rename the directory to match the settings you just made in your admin/includes/configure.php.[quote/]

    NEXT
    To login to your admin system you will now have to visit a new URL that matches the new name used in steps A and B above. For example instead of visiting http://www.example.com/admin/ visit http://www.example.com/NeW_NamE4u/.

    and I get
    Parse error: syntax error, unexpected T_STRING in /home/--------/public_html/zencart/-----_admin/includes/configure.php on line 29

    Which is in this area
    * If you desire your *entire* admin to be SSL-protected, make sure you use a "https:" URL for all 4 of the following:
    */
    define('HTTP_SERVER', 'http://www.drafting.com.au');
    define('HTTPS_SERVER', 'https://www.drafting.com.au');
    define('HTTP_CATALOG_SERVER', 'http://www.drafting.com.au');
    define('HTTPS_CATALOG_SERVER', 'https://www.drafting.com.au');

    // Use secure webserver for catalog module and/or admin areas?
    define('ENABLE_SSL_CATALOG', 'false');
    define('ENABLE_SSL_ADMIN', 'false');

    Is it normal to have this happen

  5. #5
    Join Date
    Nov 2006
    Posts
    69
    Plugin Contributions
    0

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

    i would suggest look to see that the lines you modified all end with a ";" or that all defines are properly enclose in "''

  6. #6
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

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

    You may want to look at the sections that you changed .. it may not be line 29 but might the location that you changed Admin to your new name .. make sure everything is correct in those area .

  7. #7
    Join Date
    Jan 2009
    Location
    Sydney Australia
    Posts
    15
    Plugin Contributions
    0

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

    I did it by find & replace
    Can you see anything wrong here?

    define('DIR_WS_ADMIN', '/zencart/-----_admin/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', '/zencart/-----_admin/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
    define('DIR_FS_ADMIN', '/home/archidra/public_html/zencart/-----_admin/');
    define('DIR_FS_CATALOG', '/home/--------/public_html/public/');

    The only part i did not see change was the page header

    <?php/-----_admin//-----_admin/
    /**

    Thanks

  8. #8
    Join Date
    Jan 2009
    Location
    Sydney Australia
    Posts
    15
    Plugin Contributions
    0

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

    just to clarify here is the php configure file from the folder named
    -----_admin

    configure.txt
    Attached Files Attached Files

  9. #9
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

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

    you have php opening tag in first line of your configure.php with added /-----_admin//.............


    remove that line but keep the <?php opening tag .

  10. #10
    Join Date
    Jan 2009
    Location
    Sydney Australia
    Posts
    15
    Plugin Contributions
    0

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

    Thanks

    I did change the line entry & have tried several other things via my host to no avail
    But seeing it was my first zencart demo (1st mysql 1st cart 1st shop) & there were mysql permission problems at the host end that prevented a clean install & interrupted the zencart install i decided to redo it so am currently working in a new file (not yet changed this part of security) & all seems fine

    I appreciate the help from all of you very much & am sure i will need lots more help yet

    Ps like setting up Australian freight/postage
    Best Regards

 

 

Similar Threads

  1. Warning: I am able to write to the configuration file:
    By 4lex in forum Basic Configuration
    Replies: 11
    Last Post: 6 Aug 2011, 03:59 AM
  2. Warning: I am able to write to the configuration file:
    By dpet102 in forum General Questions
    Replies: 9
    Last Post: 29 Jun 2009, 06:49 PM
  3. Warning: I am able to write to the configuration file
    By milobloom in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 8 Jul 2008, 02:14 PM
  4. Warning: I am able to write to the configuration file
    By snarfy in forum Installing on a Linux/Unix Server
    Replies: 14
    Last Post: 20 Apr 2008, 11:26 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