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