Jason Lyrics Posted August 26, 2006 Posted August 26, 2006 Hi everyone, i hope some here can help me with this issue, I've had my store for months in the root/ directory of my site and now i need to move it to /shop directory. i backed up my database, downloaded the site reuploaded it to the shop directory and modified /includes/configure.php and admin/includes/configure.php. now i'm getting errors Warning: main(DIR_WS_LANGUAGES/FILENAME_DEFAULT): failed to open stream: No such file or directory in /home/worldfla/public_html/index.php on line 33 Warning: main(DIR_WS_LANGUAGES/FILENAME_DEFAULT): failed to open stream: No such file or directory in /home/worldfla/public_html/index.php on line 33 Fatal error: main(): Failed opening required 'DIR_WS_LANGUAGES/FILENAME_DEFAULT' (include_path='.:/usr/local/lib/php') in /home/worldfla/public_html/index.php on line 33 I then reuploaded the files back to the root directory and i'm still getting the same error. can anyyone figgure out where the error lies or what happen during ftp? thanks Jason
Jason Lyrics Posted August 26, 2006 Author Posted August 26, 2006 Hi everyone, i hope some here can help me with this issue, I've had my store for months in the root/ directory of my site and now i need to move it to /shop directory. i backed up my database, downloaded the site reuploaded it to the shop directory and modified /includes/configure.php and admin/includes/configure.php. now i'm getting errorsWarning: main(DIR_WS_LANGUAGES/FILENAME_DEFAULT): failed to open stream: No such file or directory in /home/worldfla/public_html/index.php on line 33 Warning: main(DIR_WS_LANGUAGES/FILENAME_DEFAULT): failed to open stream: No such file or directory in /home/worldfla/public_html/index.php on line 33 Fatal error: main(): Failed opening required 'DIR_WS_LANGUAGES/FILENAME_DEFAULT' (include_path='.:/usr/local/lib/php') in /home/worldfla/public_html/index.php on line 33 I then reuploaded the files back to the root directory and i'm still getting the same error. can anyyone figgure out where the error lies or what happen during ftp? thanks Jason this is my configure.php file // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.worldflavas.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'worldflavas.com'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', ''); 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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
Recommended Posts
Archived
This topic is now archived and is closed to further replies.