Results 1 to 8 of 8
  1. #1
    Join Date
    Jul 2006
    Posts
    3
    Plugin Contributions
    0

    Default New install on dreamhost, Need Help

    Hi I'm completely new to all of this, and I mean new.
    I give a lot of credit to anybody who can sit in front of a computer all day without there eyes going nuts. I have been searching for answers both here and elsewhere

    Here the problem
    I installed Zen Cart from the Dreamhost site I know some of the complaints with them but that what I have to work with right now

    Step1 Install Zen Cart
    2 open everything up
    3 Followed the directions fron the Dreamhost site
    4 was able to open up a sample store but was not able to open Administration

    Now the fun part, and this is where I get real confused
    using ftp went in and deleated the zc_install
    Changed the admin/includes/configure.php and
    includes/configure.php files to 440

    cannot get access to my site
    Next following Zen Cart directions
    Renamed includes/dist-confiqure.php to confiqure.php
    renamed admin/includes/dist-confiqure.php to confiqure.php
    Changed chmod value to 777 or 440 or 640?
    Change everything back and forth
    all i get is one or all

    Warning: main(/includes/autoload_func.php): failed to open stream: No such file or directory in /home/.devi/mglass2/dpglassblowing.com/zencart/admin/includes/application_top.php on line 145

    Warning: main(/includes/autoload_func.php): failed to open stream: No such file or directory in /home/.devi/mglass2/dpglassblowing.com/zencart/admin/includes/application_top.php on line 145

    Fatal error: main(): Failed opening required '/includes/autoload_func.php' (include_path='.:/usr/local/lib/php') in /home/.devi/mglass2/dpglassblowing.com/zencart/admin/includes/application_top.php on line 145


    ERROR: admin/includes/configure.php file not found. Suggest running zc_install/index.php?

    Should I trash the entire folder and start over
    Thank You for the help
    PS if you need mor info let me know just don"t get to technical
    let me know where to find it
    dpglassblowing.com/zencart

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

    Default Re: New install on dreamhost, Need Help

    please post the contents of your includes/configure.php file, without the passwords.
    .

    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
    Jul 2006
    Posts
    3
    Plugin Contributions
    0

    Default Re: New install on dreamhost, Need Help

    I think the list below is what you need
    Several things I have discovered
    if I use Fetch as my ftp the zen cart does not show up
    I have to use my dreamhost ftp panel????

    Should I just start over and reinstall from a zen download?
    Thanks for the help DP

    This is a copy paste asis. I could not find any passwords ect

    <?php
    /**
    * dist-configure.php
    *
    * @package initSystem
    * @copyright Copyright 2003-2006 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: dist-configure.php 3071 2006-02-27 23:09:54Z drbyte $
    * @private
    */
    // Define the webserver and path parameters
    // HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
    // HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
    define('HTTP_SERVER', 'http://localhost');
    define('HTTPS_SERVER', 'https://localhost');

    // Use secure webserver for checkout procedure?
    define('ENABLE_SSL', 'false');

    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!

    // * DIR_WS_* = Webserver directories (virtual/URL)
    // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_INCLUDES', 'includes/');
    define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
    define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
    define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
    define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
    define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
    define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

    define('DIR_WS_PHPBB', '/phpBB2/');

    // * DIR_FS_* = Filesystem directories (local/physical)
    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
    define('DIR_FS_CATALOG', '/');

    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
    define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
    define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', 'zen_'); // prefix for database table names
    define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty
    define('DB_SERVER_USERNAME', 'root');
    define('DB_SERVER_PASSWORD', '');
    define('DB_DATABASE', '');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db' or optionally 'mysql' in some cases

    // The next 2 "defines" are for SQL cache support.
    // For SQL_CACHE_METHOD, you can select from: none, database, or file
    // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
    // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
    // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
    define('SQL_CACHE_METHOD', 'none');
    define('DIR_FS_SQL_CACHE', '/enter/your/path/to/public_html_or_htdocs/and/zencart/here/zen/cache');

    ?>

  4. #4
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: New install on dreamhost, Need Help

    Don't use Fetch, Cute or Smart FTP to upload files to your website. Use a good FTP programme like FileZilla or WS FTP.

    Download the latest version of Zen Cart from this site, upload to the root of your domain using a good FTP programme, create a blank database, and then run the install.

    Vger

  5. #5
    Join Date
    Jul 2006
    Posts
    3
    Plugin Contributions
    0

    Default Re: New install on dreamhost, Need Help

    I found the answer.
    On the dreamhost one click download.
    I clicked YES to the part "Enable SSL and Enadle SSL in Admin Area".
    Unless you have a Secure https this should be NO.

    To solve the problem.
    Go to admin/includes/configure.php and chmod back to 644
    and includes/configure.php and chmod back to 644.

    Open admin/includes/configure php . about a third of the way down look fo
    // Use secure webserver for checkout procedure?
    define("Enable_SSL', 'true');
    Set this to 'false'

    On the admin/ includes/configure
    look for
    // Use secure wedserver for catalog module amd/or admin areas?
    define('ENABLE_SSL_CATALOG' 'true');
    define (ENADLE_SSL_ADMIN', 'true')
    set both to 'false'

    chmod both back to 440
    I am now able to open the admin page and start working.
    Hope this helps
    Dave

  6. #6
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: New install on dreamhost, Need Help

    Agh yes, that would be the famous "Enable SSL when you don't have SSL" bug.

    Vger

  7. #7
    Join Date
    May 2006
    Posts
    16
    Plugin Contributions
    0

    Default Re: New install on dreamhost, Need Help

    Quote Originally Posted by Vger View Post
    Don't use Fetch, Cute or Smart FTP to upload files to your website. Use a good FTP programme like FileZilla or WS FTP.

    Download the latest version of Zen Cart from this site, upload to the root of your domain using a good FTP programme, create a blank database, and then run the install.

    Vger
    Is there a reliable FTP program for the MAC? I uploaded using Fetch and all I get is a file not found error when i attempt the install.

  8. #8
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: New install on dreamhost, Need Help

    What does this one say ?

    http://osx.iusethis.com/app/yummyftp

    ;)

 

 

Similar Threads

  1. Finish install... DreamHost 1-click-install- admin not working
    By sodalime in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 27 Feb 2011, 05:18 PM
  2. Dreamhost Screwed My Page, need help.
    By Jimmythebarrel in forum General Questions
    Replies: 1
    Last Post: 14 Jun 2009, 06:02 AM
  3. New Install - Need Help!
    By RyanH1980 in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 7 Nov 2007, 07:34 AM
  4. zen-cart-v1.3.0.2 new test install - I need a little help
    By stray77 in forum Installing on a Linux/Unix Server
    Replies: 11
    Last Post: 16 Aug 2006, 02:04 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