Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19
  1. #11
    Join Date
    Aug 2006
    Posts
    254
    Plugin Contributions
    0

    Default Re: Stopped before I could start, index.php not found

    Gulp! Tried so many things but I'll try.

    Basically I looked at the URL that was being generated and noticed the front part was essentially being duplicated.

    Since it appeared that the URLs were being derived from a combination of, for example, "HTTP_SERVER plus DIR_WS_ADMIN" and the default install (I used a "one click" automatic installation) set the HTTP_SERVER to the full actual path.

    So I edited these down the follwoing in the Admin/Include/config.php (and also the /Includes/config.php file to fix catalog link problems):

    define('HTTP_SERVER', '');

    define('HTTP_CATALOG_SERVER', '');

    So that nothing is added to the already valid path in Dir_WS_ADMIN.

    Think that's it but take it with a grain of salt. What I do know is those are the two files to tweek when your URL path looks screwy.

    This is as technical as I get folks and, frankly, looks confusing to me and I did it! Hope it helps someone in the future.

  2. #12
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Stopped before I could start, index.php not found

    Jeffrey,

    You still might want to post your configure files, normally if you have installed in the root directory you would have a slash (/) in those defines.

    PHP Code:
    // * 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''/'); 
    Note- the lines above those I just posted should not end with the slash.

    PHP Code:
    // 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://YOUR_URL');
    define('HTTPS_SERVER''https://YOUR_URL'); 

  3. #13
    Join Date
    Aug 2006
    Posts
    254
    Plugin Contributions
    0

    Default Re: Stopped before I could start, index.php not found

    As long as it's working should I worry about that? Could it just be a case of relative vs. absolute paths?
    Not sure how ot post a whole file yet but here is applicable sections:
    ADMIN PHP FILE:
    define('HTTP_SERVER', '');
    define('HTTPS_SERVER', 'https://www.mydomain.com');
    define('HTTP_CATALOG_SERVER', '');
    define('HTTPS_CATALOG_SERVER', 'https://www.mydomain.com');

    // Use secure webserver for catalog module and/or admin areas?
    define('ENABLE_SSL_CATALOG', 'false');
    define('ENABLE_SSL_ADMIN', '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_ADMIN', '/zencart/admin/');
    define('DIR_WS_CATALOG', '//www.mydomain/zencart/');
    define('DIR_WS_HTTPS_ADMIN', '/zencart/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/zencart/');

    INCLUDES PHP FILE:
    define('HTTP_SERVER', '');
    define('HTTPS_SERVER', 'https://www.mydomain.com');

    Zencart folder is in mydomain.com/zencart

    Thanks!

  4. #14
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Stopped before I could start, index.php not found

    First, I have no idea why it didn't work right away without having to make edits.
    Granted, I also have no idea how much Dreamhost may have altered the distributed Zen Cart files in order to work in their one-click setup.
    I also don't know how much they automated vs asked you to supply information, etc.
    You probably should ask *them* what's wrong.

    Regardless, you will likely regret leaving some of those configure.php settings blank. Specifically:
    Code:
    define('HTTP_SERVER', '');
    define('HTTP_CATALOG_SERVER', '');
    define('DIR_WS_CATALOG', '//www.mydomain/zencart/');
    In the master distribution files (which you can, and should, download via the link on the Downloads page, accessible from the top of this page), you'll find "dist-configure.php" files in the same folder as your current configure.php files. They are examples you can follow for setting proper information.
    .

    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. #15
    Join Date
    Aug 2006
    Posts
    254
    Plugin Contributions
    0

    Default Re: Stopped before I could start, index.php not found - Dreamhost Problem

    Thanks Dr; Byte. Now that you've scared me do you have a suggestion regarding the fields I had to blank out to get things working?

    I'll certainly get the files and take a look but any directions are appreciated since it seems you know why I would regret leaving them blank.

    Thanks.

  6. #16
    Join Date
    Aug 2006
    Posts
    254
    Plugin Contributions
    0

    Default Re: Stopped before I could start, index.php not found - Dreamhost Problem

    OK, these work too. Better?

    Admin/includes/config.php:
    define('HTTP_SERVER', 'http://mydomain.com');
    define('HTTPS_SERVER', 'https://www.mydomain.com');
    define('HTTP_CATALOG_SERVER', 'http://mydomain.com');
    define('HTTPS_CATALOG_SERVER', 'https://www.mydomain.com');

    // Use secure webserver for catalog module and/or admin areas?
    define('ENABLE_SSL_CATALOG', 'false');
    define('ENABLE_SSL_ADMIN', '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_ADMIN', '/zencart/admin/');
    define('DIR_WS_CATALOG', '/zencart/');
    define('DIR_WS_HTTPS_ADMIN', '/zencart/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/zencart/');

    Admn/config.php:
    define('HTTP_SERVER', 'http://www.mydomain.com');
    define('HTTPS_SERVER', 'https://www.mydomain.com');

    // 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', '/zencart/');
    define('DIR_WS_HTTPS_CATALOG', '/zencart/');

    Thanks everyone. Good news is I'll have to put this on the back burner for a short time so I can dedicate some real time to getting everything up and running. Probably should never have loaded it up but had a wild hair and should have realized that this kind of stuff is addictive. It's going to be hard to not work on it....like today!

  7. #17
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Stopped before I could start, index.php not found - Dreamhost Problem

    Yes ... much better
    .

    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.

  8. #18
    Join Date
    Aug 2006
    Posts
    254
    Plugin Contributions
    0

    Default Re: Stopped before I could start, index.php not found - Dreamhost Problem

    Sweeeet! Thanks for the head nod.

    Whether you like it or not, I'll be back!

  9. #19
    Join Date
    Aug 2006
    Location
    Singapore
    Posts
    167
    Plugin Contributions
    1

    Default Re: Stopped before I could start, index.php not found - Dreamhost Problem

    Currently Dreamhost offer v 1.3.01 from their one-click-install.
    I have installed many shops and never encounter your problem, perhaps you could try to remove and install again... I mean if you face future problem again.

    By the way did you read the email instcruction from Dreamhost for their installation procedure, its quite standard, but with some home dir location you should put in you zencart setup config, if you follow that one I guess there wont be a problem.

    One more thing Dreamhost recommending 'recreate session' -> false

    I found out that if you upgraded to v.1.3.0.2 leave it to 'true' instead which better and problem free.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. The document name you requested (/index.php) could not be found on this server
    By Heather Ghillyer in forum Built-in Shipping and Payment Modules
    Replies: 8
    Last Post: 25 Jul 2013, 08:49 AM
  2. Replies: 5
    Last Post: 20 Jul 2011, 02:24 PM
  3. /admin/zc_install/index.php not found - erased!
    By bwoodsdesign in forum General Questions
    Replies: 1
    Last Post: 26 Mar 2009, 10:51 PM
  4. Help: Index.php not found message
    By layoyo in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 21 Oct 2008, 07:17 AM
  5. zc_install/index.php not found
    By nate in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 18 Nov 2007, 10:42 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