sigzag Posted March 3, 2004 Share Posted March 3, 2004 I uploaded an old includes/configure.php file by accident to my server. I went back in and tweaked the file afterwords for all the required information but must be missing something because now the site is not loading properly and the text that does show is in german...my site is written in english. Go to www.countryherbstore.com to see the problem. Listed below is my configure file...with the login, database and password x'd out for security reasons. Any ideas would be appreciated. Thanks, :o <?php /* $Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 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.countryherbstore.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', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.countryherbstore.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', '/home/countryherbstore/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', 'xxxx'); define('DB_SERVER_PASSWORD', 'xxxx'); define('DB_DATABASE', xxxx'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?> Link to comment Share on other sites More sharing options...
ptrau Posted March 3, 2004 Share Posted March 3, 2004 try removing "public_html/" from the following line: define('DIR_FS_CATALOG', '/home/countryherbstore/public_html/'); "Aliiiiive, it's alive, it's ALIIIIIIIIIIIIIVE!!!" Link to comment Share on other sites More sharing options...
sigzag Posted March 4, 2004 Author Share Posted March 4, 2004 Thanks Paul but no fix...my catalog is actually in the public_html folder. Deleted that portion but have the same error. Really baffles me the warning comes up in German. Joe Link to comment Share on other sites More sharing options...
user99999999 Posted March 4, 2004 Share Posted March 4, 2004 Check your apache error log you will see some messages. Link to comment Share on other sites More sharing options...
sigzag Posted March 5, 2004 Author Share Posted March 5, 2004 Here is the error I am getting each time I try to access the site. [Thu Mar 4 20:32:50 2004] [error] PHP Fatal error: main(): Failed opening required 'DIR_WS_LANGUAGES/FILENAME_DEFAULT' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/marty/public_html/index.php on line 33 [Thu Mar 4 20:32:50 2004] [error] PHP Warning: main(DIR_WS_LANGUAGES/FILENAME_DEFAULT): failed to open stream: No such file or directory in /home/marty/public_html/index.php on line 33 Link to comment Share on other sites More sharing options...
♥kymation Posted March 5, 2004 Share Posted March 5, 2004 The error message shows that DIR_WS_LANGUAGES has not been defined, which means that configure.php is not being read (or at least part of it is not). It looks like the file may be corrupt. Try uploading the file again. Also, includes/local/configure.php will override includes/configure.php if both exist. Regards Jim See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
bijugopinath Posted March 17, 2004 Share Posted March 17, 2004 try to set the file permission to rwxr--r-- for configure.php Link to comment Share on other sites More sharing options...
241 Posted March 17, 2004 Share Posted March 17, 2004 according to your apache error log the absolute path is /home/marty/public_html/ and not /home/countryherbstore/public_html/ <?php /* $Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright ? 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.countryherbstore.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', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.countryherbstore.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', '/home/marty/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', 'xxxx'); define('DB_SERVER_PASSWORD', 'xxxx'); define('DB_DATABASE', xxxx'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?> No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
sigzag Posted March 27, 2004 Author Share Posted March 27, 2004 Thanks for all the replies. I found that an image contribution I had added caused all the problems. It was an automatic thumbnail creator contribution. It worked for a month or two then crashed the site. When I tried to reinstall the contribution it gave me the same german text errors. Very odd. I deleted the contribution otherwise I would post the name here for your review. Anyone know of a good working image contribution that sizes thumbnails down so they aren't such a large file size? Thanks to all who helped. Joe Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.