nazrul Posted July 25, 2010 Posted July 25, 2010 Hey Folks, when i upload and configure the oscommerce file then we see that the error in the following link http://mydomain/storedirectory/myadmindirectory/ Warning: include(/opt/lampp/htdocs/storedirectory/myadmindirectory/includes/languages/english) [function.include]: failed to open stream: No such file or directory in /opt/lampp/htdocs/storedirectory/myadmindirectory/includes/application_top.php on line 133 Warning: include() [function.include]: Failed opening 'includes/languages/english/' for inclusion (include_path='.:/opt/lampp/lib/php') in /opt/lampp/htdocs/storedirectory/myadmindirectory/includes/application_top.php on line 133 my admin configuration code is <?php // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://mydomain/'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://mydomain/'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', 'storedirectory/'); // where the pages are located on the server define('DIR_WS_ADMIN', 'storedirectory/myadmindirectory/'); // absolute path required define('DIR_FS_ADMIN', 'storedirectory/myadmindirectory/'); // absolute pate required define('DIR_WS_CATALOG', 'storedirectory/'); // absolute path required define('DIR_FS_CATALOG', 'storedirectory/'); // 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', 'nobodiesbusiness'); define('DB_SERVER_PASSWORD', 'areyouinsanetopostithere'); define('DB_DATABASE', 'whymakeiteasyforhackers'); define('USE_PCONNECT', 'true'); // use persisstent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?> please help me for configure the file
Jan Zonjee Posted July 25, 2010 Posted July 25, 2010 Try changing these settings: define('DIR_FS_DOCUMENT_ROOT', '/opt/lampp/htdocs/storedirectory/'); // where the pages are located on the server define('DIR_FS_ADMIN', '/opt/lampp/htdocs/storedirectory/myadmindirectory/'); // absolute pate required define('DIR_FS_CATALOG', '/opt/lampp/htdocs/storedirectory/'); // absolute path required define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
nazrul Posted August 1, 2010 Author Posted August 1, 2010 thanks but problem not solved through this solution code
Recommended Posts
Archived
This topic is now archived and is closed to further replies.