Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Big screw-up, my fault! configure.php -- admin fatal error


idamay

Recommended Posts

Posted

Hiya,

I tried to install the on the fly image mod, made it to step 7. I cold screwed up. Tried to put everything back the way it was and now I get an error when I go here:

 

http:areyoulivingforreal.com/idamays/admin

 

(in Opera the url shows up as http://areyoulivingforreal.comdir_ws_http_cataloglogin.php/)

 

When I go right to the login.php I get an error:

Call to undefined function: tep_catalog_href_link

areyoulivingforreal.com/idamays/admin/login.php

 

Main catalog seems to be working fine. ( areyoulivingforreal.com/idamays/catalog) Just admin is affected but I didn't alter any files in admin.

 

I speculate it is one of the configure settings but I am baffled after trying many variations.

Can you help before I hyperventilate??? Thank you!!

 

includes/configure.php and admin/includes/configure.php:

includes/configure.php


// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'http://areyoulivingforreal.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'http://areyoulivingforreal.com'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', 'false'); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'www.areyoulivingforreal.com');
 define('HTTPS_COOKIE_DOMAIN', 'www.areyoulivingforreal.com');
 define('HTTP_COOKIE_PATH', '/idamay/catalog/');
 define('HTTPS_COOKIE_PATH', '/idamay/catalog/');
define('DIR_WS_HTTP_CATALOG', '/idamay/catalog/');
 define('DIR_WS_HTTPS_CATALOG', '/idamay/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/webusers/idat/areyoulivingforreal.com/www/idamay/catalog/');
 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', 'username');
 define('DB_SERVER_PASSWORD', 'pass');
 define('DB_DATABASE', 'mydatabase');
 define('USE_PCONNECT', 'false'); // use persistent connections?
 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

admin/includes/configure.php

define('HTTP_SERVER', 'http://areyoulivingforreal.com');
 define('HTTP_CATALOG_SERVER', 'http://areyoulivingforreal.com');
 define('HTTPS_CATALOG_SERVER', 'http://areyoulivingforreal.com');
 define('ENABLE_SSL_CATALOG', 'false');
 define('DIR_FS_DOCUMENT_ROOT', '/home/webusers/idat/areyoulivingforreal.com/www/idamay/catalog/');
 define('DIR_WS_ADMIN', '/idamay/catalog/admin/');
 define('DIR_FS_ADMIN', '/home/webusers/idat/areyoulivingforreal.com/www/idamay/catalog/admin/');
 define('DIR_WS_CATALOG', '/idamay/catalog/');
 define('DIR_FS_CATALOG', '/home/webusers/idat/areyoulivingforreal.com/www/idamay/catalog/');
 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('DB_SERVER', 'localhost');
 define('DB_SERVER_USERNAME', 'username');
 define('DB_SERVER_PASSWORD', 'pass');
 define('DB_DATABASE', 'mydatabase');
 define('USE_PCONNECT', 'false');
 define('STORE_SESSIONS', 'mysql');

Posted

Fixed this problem....lesson learned: don't work when exhausted, know when to quit etc....

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...