Talinc Posted October 4, 2006 Posted October 4, 2006 Finally got an installations with little or no errors and admin seems to work fin. But when I go to the root folder I got this error: Fatal error: main() "application_top.php on line 29" This seem to happen the first session I make to the site, but after I have been to the admin folder I get this error. Fatal error: Call to undefined function: tep_customer_greeting() in e:\inetpub\shop.talinc.no\www\index.php on line 301 I have checked and double checked the file locations and I cant find anything wrong. I have also done a number of changes but no luck. The file rights is set tu full access for all files to be sure that this makes no problem. I have spent all night googleing the forum for people having the same problem and I have found quite a few but no solution :'( This is a demo site to test out osCommerce so there is no security set for the site. The site name is shop.talinc.no
♥Vger Posted October 4, 2006 Posted October 4, 2006 This is what I see when I go to your website. Warning: main(includes/configure.php) [function.main]: failed to open stream: No such file or directory in e:\inetpub\shop.talinc.no\www\includes\application_top.php on line 29 I'm afraid that Windows is notorious for not writing data to the two includes/configure.php files - so I'd check them out to see what data is missing. Vger
Talinc Posted October 5, 2006 Author Posted October 5, 2006 This is the /includes/configure.php <?php /* 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://shop.talinc.no'); // 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', 'talinc.no'); 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', 'E:/inetpub/shop.talinc.no/www/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'E:/inetpub/shop.talinc.no/www/download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'E:/inetpub/shop.talinc.no/www/pub/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'talinc'); define('DB_SERVER_PASSWORD', '**********'); define('DB_DATABASE', 'talinc_osCommerce'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> This is the /admin/includes/configure.php <?php /* 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://shop.talinc.no'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://shop.talinc.no'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', 'E:/inetpub/shop.talinc.no/www/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/admin/'); // absolute path required define('DIR_FS_ADMIN', 'E:/inetpub/shop.talinc.no/www/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/'); // absolute path required define('DIR_FS_CATALOG', 'E:/inetpub/shop.talinc.no/www/'); // 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 . 'E:/inetpub/shop.talinc.no/www/includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'E:/inetpub/shop.talinc.no/www/images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'E:/inetpub/shop.talinc.no/www/includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'E:/inetpub/shop.talinc.no/www/backups/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'talinc'); define('DB_SERVER_PASSWORD', '**********'); define('DB_DATABASE', 'talinc_osCommerce'); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> How do I see if anyting is missing? :-"
Recommended Posts
Archived
This topic is now archived and is closed to further replies.