Results 1 to 5 of 5

404 - page not found. Database correct. Permission correct.

This is a discussion on 404 - page not found. Database correct. Permission correct. within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; I am a first time user. I use osCommerce on a shared server. I uploaded all te files to my ...

      
  1. #1
    Lurker
    Join Date
    Mar 2003
    Posts
    2
    Rep Power
    0


    Default 404 - page not found. Database correct. Permission correct.

    I am a first time user.
    I use osCommerce on a shared server. I uploaded all te files to my server with FTP.
    The web adres is http://www.futurelinepowercore.com/roy/shop/
    Here are located the directories.
    /admin/
    /catalog/

    After reading the manual i went to the website for configuration:
    http://www.futurelinepowercore.com/r...ll/install.php
    Here a did all the 5 steps and i had no error messages. (permisions en database connection)
    At step 5 there are 2 buttons. No matter what i try i still get the message 404 - page not found. When i look on the server the location where the buttons point to is there.
    (http://www.futurelinepowercore.com/r...og/default.php)

    I had a look in the configuration file but nothing seems to be wrong.
    Code:
      define('HTTP_SERVER', 'http://www.futurelinepowercore.com'); // eg, http://localhost - should not be empty for productive servers
      define('HTTPS_SERVER', 'https://www.futurelinepowercore.com'); // eg, https://localhost - should not be empty for productive servers
      define('ENABLE_SSL', false); // secure webserver for checkout procedure?
      define('DIR_WS_CATALOG', '/roy/shop/catalog/'); // absolute path required
      define('DIR_WS_IMAGES', 'images/');
      define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
      define('DIR_WS_INCLUDES', 'includes/');
      define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
      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_FS_DOCUMENT_ROOT', '/home/sites/site62/web/roy/shop');
      define('DIR_FS_CATALOG', '/home/sites/site62/web/roy/shop/catalog/');
      define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
      define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
    
    // define our database connection
      define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers
      define('DB_SERVER_USERNAME', '******');
      define('DB_SERVER_PASSWORD', '******');
      define('DB_DATABASE', 'futureline');
      define('USE_PCONNECT', 'false'); // use persistent connections?
      define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
    And the admin configuration file to:
    Code:
      define('HTTP_SERVER', 'http://www.futurelinepowercore.com'); // eg, http://localhost or - https://localhost should not be empty for productive servers
      define('HTTP_CATALOG_SERVER', 'http://www.futurelinepowercore.com');
      define('HTTPS_CATALOG_SERVER', 'https://www.futurelinepowercore.com');
      define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
      define('DIR_FS_DOCUMENT_ROOT', '/home/sites/site62/web/roy/shop'); // where the pages are located on the server
      define('DIR_WS_ADMIN', '/roy/shop/admin/'); // absolute path required
      define('DIR_FS_ADMIN', '/home/sites/site62/web/roy/shop/admin/'); // absolute pate required
      define('DIR_WS_CATALOG', '/roy/shop/catalog/'); // absolute path required
      define('DIR_FS_CATALOG', '/home/sites/site62/web/roy/shop/catalog/'); // absolute path required
      define('DIR_WS_IMAGES', 'images/');
      define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
      define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
      define('DIR_WS_INCLUDES', 'includes/');
      define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
      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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');
      define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
      define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
      define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
      define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
    
    // define our database connection
      define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers
      define('DB_SERVER_USERNAME', '******');
      define('DB_SERVER_PASSWORD', '******');
      define('DB_DATABASE', 'futureline');
      define('USE_PCONNECT', 'false'); // use persisstent connections?
      define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
    Why is it i am not getting on the correct pages. I tryed some settings but i can seem to get i right.

    Please help me. I looked on the forum but notthing seems to cover the problem i have.
    TIA

  2. #2
    New Member
    Join Date
    Feb 2003
    Location
    USA
    Posts
    7
    Rep Power
    0


    Default

    I would say double check your https setup. if you are using a shared server you might be pointing it to the wrong location.

    hth, Tony

  3. #3
    Lurker
    Join Date
    Mar 2003
    Posts
    2
    Rep Power
    0


    Default

    As you can see in de config file i am not using any https...
    Code:
     define('ENABLE_SSL', false);
    Or do you NEED a SSL server for this script.....?
    The instalation gave my url with a HTTPS but since i am not using it i guest that i could leave the line in the config file ??

  4. #4
    Member
    Join Date
    Nov 2002
    Location
    Pennsylvania
    Posts
    93
    Rep Power
    0


    Default

    what version of osC are you using?

    also check your file permissions, and your server logs to see if there are any errors listed.
    There\'s something about fireman, day and night they are always fireman!

  5. #5
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default

    404 error usually means that your path is set wrong. Make sure it is correct.
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

Similar Threads

  1. Is this the correct setting?
    By CatieKoch in forum osCmax v2 Installation issues
    Replies: 0
    Last Post: 06-23-2006, 08:59 PM
  2. EasyPopulate 2.72 attributes not correct?
    By Kristine in forum osCMax v1.7 General Mods Discussion
    Replies: 1
    Last Post: 05-10-2004, 01:27 PM
  3. Is this the correct file name? form_check.js.php
    By MintMoney in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 11-04-2003, 05:52 PM
  4. Tax not correct in Admin -> Orders
    By Buzz in forum osCommerce 2.2 Installation Help
    Replies: 0
    Last Post: 02-10-2003, 09:16 AM
  5. setting correct path?
    By rabbit116 in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 01-17-2003, 10:39 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
  •