Results 1 to 4 of 4

configure.php problems...ugh

This is a discussion on configure.php problems...ugh within the osCMax v1.7 Installation forums, part of the osCmax v1.7 Forums category; afternoon all, hope i get this situation sorted out somewhat soon. ive had a working osc setup on a server ...

      
  1. #1
    Lurker
    Join Date
    Nov 2004
    Posts
    2
    Rep Power
    0


    Default configure.php problems...ugh

    afternoon all, hope i get this situation sorted out somewhat soon.
    ive had a working osc setup on a server we use for a little bit, while i tweaked it, built a template, etc. just got the dns changed yesterday, and no matter what i change in the config.php files i keep getting errors. im pretty sure it has to do with paths, heres the error i get on the index page

    Code:
    Warning: main(includes/configure.php): failed to open stream: No such file or directory in /home/dv/public_html/includes/application_top.php on line 29
    
    Warning: main(includes/configure.php): failed to open stream: No such file or directory in /home/dv/public_html/includes/application_top.php on line 29
    
    Fatal error: main(): Failed opening required 'includes/configure.php' (include_path='/usr/local/lib/php:/usr/lib/php') in /home/dv/public_html/includes/application_top.php on line 29
    looks like that include path is wrong on the bottom line, but no matter what i do this thing insists on being a pain...i think its funny how you can spend a month pulling your hair out tweaking things that seem next to impossible...then run into a roadblock of a single config file being a pain

    heres a copy of my /inc/conf.php file

    Code:
    
    <?php
    /*
      osCommerce, Open Source E-Commerce Solutions
      http://www.oscommerce.com
    
      Copyright (c) 2003 osCommerce
    
      Released under the GNU General Public License
    */
    
    // Define the webserver and path parameters
    // * DIR_FS_* = Filesystem directories (local/physical)
    // * DIR_WS_* = Webserver directories (virtual/URL)
      define('HTTP_SERVER', 'http://www.website.com'); // eg, http://localhost - should not be empty for productive servers
      define('HTTPS_SERVER', 'https://www.website.com'); // eg, https://localhost - should not be empty for productive servers
      define('ENABLE_SSL', true); // secure webserver for checkout procedure?
      define('HTTP_COOKIE_DOMAIN', 'www.website.com');
      define('HTTPS_COOKIE_DOMAIN', 'www.website.com');
      define('HTTP_COOKIE_PATH', 'www.website.com/');
      define('HTTPS_COOKIE_PATH', 'www.website.com/');
      define('DIR_WS_HTTP_CATALOG', '/');
      define('DIR_WS_HTTPS_CATALOG', '/');
      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', 'pub/');
      define('DIR_FS_CATALOG', '/home/username/public_html/');
      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', 'dbuser');
      define('DB_SERVER_PASSWORD', 'dbpass');
      define('DB_DATABASE', 'dbname');
      define('USE_PCONNECT', 'false'); // use persistent connections?
      define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
      // CLR 020605 defines needed for Product Option Type feature.
      define('PRODUCTS_OPTIONS_TYPE_SELECT', 0);
      define('PRODUCTS_OPTIONS_TYPE_TEXT', 1);
      define('PRODUCTS_OPTIONS_TYPE_RADIO', 2);
      define('PRODUCTS_OPTIONS_TYPE_CHECKBOX', 3);
      define('TEXT_PREFIX', 'txt_');
      define('PPRODUCTS_OPTIONS_VALUE_TEXT_ID', 0); //Must match id for user defined "TEXT" value in db table TABLE_PRODUCTS_OPTIONS_VALUES
    ?>
    any help with this would be greatly apriticated

  2. #2
    Lurker
    Join Date
    Nov 2004
    Posts
    2
    Rep Power
    0


    Default

    Hi!

    I'm new here, I just made a clean new install of ms2-max 1.7 and i have a similar problem. When I try to open admin area, I get something like this:

    Warning: main(includes/languages/german/login.php): failed to open stream: No such file or directory in /home/28/d97160684/htdocs/webshop/admin/login.php on line 58

    Fatal error: main(): Failed opening required 'includes/languages/german/login.php' (include_path='.:/usr/local/lib/php') in /home/28/d97160684/htdocs/webshop/admin/login.php on line 58
    Does somebody know the solution?

    TYA, Gio

  3. #3
    Lurker
    Join Date
    Nov 2004
    Posts
    2
    Rep Power
    0


    Default

    @gio

    After reading a few more threads I've found the solution myself

  4. #4
    New Member
    Join Date
    Sep 2004
    Location
    Australia
    Posts
    13
    Rep Power
    0


    Default going to share the solution?

    hi,

    what was the solutions?

Similar Threads

  1. Configure.php???
    By ltldoc in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 03-20-2006, 09:58 PM
  2. Help configure SSL
    By paulchow2k in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 10-18-2004, 08:06 PM
  3. Configure.php problems
    By h4ppy_girl in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 10-14-2004, 04:48 AM
  4. How to configure SSL?
    By brucek in forum osCommerce 2.2 Installation Help
    Replies: 3
    Last Post: 03-31-2004, 02:30 PM
  5. Configure.php and SSL
    By judoka in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 05-29-2003, 10:14 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
  •