Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Feb 2008
    Posts
    30
    Plugin Contributions
    0

    Default Upgrading no index.php found

    Hi, I am trying to upgrade from version 1.3.7 to 1.3.9e. I have proceeded according to "3 easy steps to upgrade Zen Cart". The system says upgrade was OK but at the end when I choose "go to store" the system says "index.php was not found on this server, the same when go to admin , no index.php found. The two index.php files are there as I have copied them from my running store.

    I can log in to admin via _new/admin/login.php and everything looks OK.

    When I go to my store I see only texts no layout or pictures. Something wrong in the config.php files ??

    Is there something wrong inside the index.php files?? Need some help!

    Thanks, Per

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Upgrading no index.php found

    trying to upgrade from version 1.3.7 to 1.3.9e

    The two index.php files are there as I have copied them from my running store.
    Why would you use old files when upgrading???

    These files are part of the 1.3.9 distribution
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Feb 2008
    Posts
    30
    Plugin Contributions
    0

    Default Re: Upgrading no index.php found

    Hi, I have replaced the index files with the ones from downloaded 1.3.9e but still not working. Please check http://swedenshop.biz/swedenstore_new/

    As I "upgraded" not "installed" the new version the index.php files perhaps need some manual upgrading??

    Many thanks for tips how to solve my problem.

    Regards, Per

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Upgrading no index.php found

    Index.php is loading ok but your stylesheet in /custom is not being found
    Code:
    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>404 Not Found</title>
    </head><body>
    <h1>Not Found</h1>
    <p>The requested URL /includes/templates/CUSTOM/css/stylesheet.css was not found on this server.</p>
    <p>Additionally, a 404 Not Found
    error was encountered while trying to use an ErrorDocument to handle the request.</p>
    <hr>
    <address>WebServerX Server at swedenshop.biz Port 80</address>
    </body></html>
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Feb 2008
    Posts
    30
    Plugin Contributions
    0

    Default Re: Upgrading no index.php found

    I have now checked that the stylesheet.css is there but for some reason the system doesn't find it. Why??

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Upgrading no index.php found

    Check that the folder is all caps as that is what/where it is looking
    CUSTOM
    Zen-Venom Get Bitten

  7. #7
    Join Date
    Feb 2008
    Posts
    30
    Plugin Contributions
    0

    Default Re: Upgrading no index.php found

    I have copied the whole CUSTOM folder from our running store so the spelling of folder CUSTOM is correct. The only files I have changed compared to our running store are the two config.php files as I have our new upgraded store in a new directory.

    Something wrong with permissions? In admin tools/template selection we got this message when pressing preview CUSTOM template: "Forbidden You don't have permission to access /swedenstore_new/includes/templates/CUSTOM/images/ on this server." Permission is 0755.

    Many thanks for all help.
    /Per

  8. #8
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Upgrading no index.php found

    Paste your configure.php file contents here - omit the DB details
    Try using the code tag
    Zen-Venom Get Bitten

  9. #9
    Join Date
    Feb 2008
    Posts
    30
    Plugin Contributions
    0

    Default Re: Upgrading no index.php found

    Here is the configure.php file /include.

    <?php
    /**
    *
    * @package Configuration Settings
    * @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
    */


    /*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/
    /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/

    // 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://swedenshop.biz');
    define('HTTPS_SERVER', 'https://swedenshop.biz');

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

    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', '/');

    // * 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', '/home/XX/public_html/swedenstore_new/');

    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_');
    define('DB_SERVER', 'localhost');
    define('DB_SERVER_USERNAME', 'XX');
    define('DB_SERVER_PASSWORD', 'XX');
    define('DB_DATABASE', 'XX');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    define('STORE_SESSIONS', 'db'); // use 'db' for best support, or '' for file-based storage

    // 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', 'database');
    define('DIR_FS_SQL_CACHE', '/home/XX/public_html/swedenstore_new/cache');

    ?>

  10. #10
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Upgrading no index.php found

    You have
    Code:
    // 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', '/swedenstore_new');
    define('DIR_WS_HTTPS_CATALOG', '/swedenstore_new');
    Please take note of the following
    // 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', '/swedenstore_new/');
    define('DIR_WS_HTTPS_CATALOG', '/swedenstore_new/');
    Zen-Venom Get Bitten

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 5
    Last Post: 20 Jul 2011, 02:24 PM
  2. No index.php found in home link
    By fairy in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 7 Feb 2011, 08:01 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