Results 1 to 6 of 6
  1. #1
    Join Date
    Nov 2005
    Location
    France
    Posts
    579
    Plugin Contributions
    8

    Default dist_configure.php error on logs directory path

    In the dist-configure files you have

    define('DIR_FS_CATALOG', '/');

    //the following path is a COMPLETE path to the /logs/ folder eg: /var/www/vhost/accountname/public_html/store/logs ... and no trailing slash
    define('DIR_FS_LOGS', DIR_FS_CATALOG . '/logs');

    Entering the full path in 'DIR_FS_CATALOG with the trailing / creates a double slash in the logs directory path.

    define('DIR_FS_LOGS', DIR_FS_CATALOG . '/logs');

    should be

    define('DIR_FS_LOGS', DIR_FS_CATALOG . 'logs');

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: dist_configure.php error on logs directory path

    Thanks. We'll fix that in a future release.

    But, you really should never use dist-configure.php directly. You should ALWAYS let zc_install build the correct configure.php file contents for you.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Nov 2005
    Location
    France
    Posts
    579
    Plugin Contributions
    8

    Default Re: dist_configure.php error on logs directory path

    If i'm doing upgrades i don't run the installer through the steps where it builds the configure.php files though. I run zc_install just to update the database and then copy the dist-configure.php file and copy in the details from the clients original configure.php files, so in this circumstance, the error could catch the unwary out.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: dist_configure.php error on logs directory path

    So, you never stage your clients' upgrades in a safe place first?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Nov 2005
    Location
    France
    Posts
    579
    Plugin Contributions
    8

    Default Re: dist_configure.php error on logs directory path

    Did i say that?
    All upgrades are done from a clone of the clients site and database on a local server, then uploaded to the client server in a sub directory for them to test prior to go live.
    Personally, i find it just as easy and probably quicker to manually edit the configure.php files as the site is moved from local, to dev, and finally to live. I've done 500+ upgrades in the same way and never once had an issue doing it this way. :)

  6. #6
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: dist_configure.php error on logs directory path

    Fair enough. Just checking ;)
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Replies: 1
    Last Post: 10 May 2013, 01:35 PM
  2. error in path (function.session-save-path) after switching servers
    By stitch in forum Installing on a Linux/Unix Server
    Replies: 7
    Last Post: 16 Feb 2010, 09:37 AM
  3. sessions.php error in SSL directory
    By nathmeister in forum Installing on a Linux/Unix Server
    Replies: 13
    Last Post: 12 May 2007, 02:22 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR