Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

fix for missing action_recorder


Recommended Posts

Recently I installed the addon to provide featured products to 2.3.3. The existing store was loaded onto a test server to make the mods. Following the changes, neither the store nor admin would log in. I had used a thumb drive to copy the store to the test server, and then made the necessary adjustments to both configuration files in the includes directory. The store solution was to add a directive in the applications_top.php to set the php include_path. Note that /oscommerce is not the root, the root is in the apache directory that it sits under.


set_include_path(get_include_path() . PATH_SEPARATOR . $absolute_path_to_web_root);


That got it working. But it still wasn't possible to log into admin. It complained about action_recorder in the catalog/includes directory. I triple checked that it really was there, and it was.


Illogically, the solution was to hard code the full path to two entries in the admin/includes/configuration file, DIR_FS_ADMIN and DIR_FS_CATALOG. This was discovered by trial and error--lots of it. I can't see any reason why that would matter, but that fixed it.


My admin config file:



define('HTTP_SERVER', 'http://aristotle.us:8080');

define('HTTP_CATALOG_SERVER', 'http://aristotle.us:8080');

define('HTTPS_CATALOG_SERVER', 'http://aristotle.us:8080');

define('ENABLE_SSL_CATALOG', 'false');

define('DIR_FS_DOCUMENT_ROOT', 'D:/tomcat7/webapps/oscommerce/catalog/');

define('DIR_WS_ADMIN', '/oscommerce/catalog/admin/');

define('DIR_FS_ADMIN', 'D:/tomcat7/webapps/oscommerce/catalog/admin/');

define('DIR_WS_CATALOG', '/oscommerce/catalog/');

define('DIR_FS_CATALOG', 'D:/tomcat7/webapps/oscommerce/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('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');



define('DB_SERVER', '[ip here']);

define('DB_SERVER_USERNAME', '[user here]');

define('DB_SERVER_PASSWORD', 'password here');

define('DB_DATABASE', 'oscommerce');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

define('CFG_TIME_ZONE', 'America/New_York');


define('SMTP_MAIL_SERVER','[mail server domain here]');

define('SMTP_MAIL_SERVER_PORT', '25');


Link to comment
Share on other sites

  • 4 weeks later...


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

  • Create New...