Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin section config


aerosmith

Recommended Posts

Posted

Anyone able to assist in fixing the pictures and headings on my admin section.

 

http://www.herbothecary.com/catalog/admin/login.php

 

im guessing the language location is not correct.

Because its not reading the file correctly, all i see is

 

http://www.herbothecary.com/catalog/admin/login.php

 

 

HEADING_TITLE

 

 

TEXT_USERNAME

 

TEXT_PASSWORD

 

 

 

 

includes

 

<?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://herbothecary.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', 'herbothecary.com');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '/catalog/');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '/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/content/h/e/r/herbothecary/html/catalog/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

 

 

 

 

 

 

 

admin

 

define('HTTP_SERVER', 'http://www.herbothecary.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers

define('HTTP_CATALOG_SERVER', 'http://www.herbothecary.com');

define('HTTPS_CATALOG_SERVER', '');

define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', '/home/content/h/e/r/herbothecary/html/catalog/'); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)

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

define('DIR_FS_ADMIN', '/home/content/h/e/r/herbothecary/html/catalog/admin/');

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

define('DIR_FS_CATALOG', '/home/content/h/e/r/herbothecary/html/catalog/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_CATALOG_IMAGES','images/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', 'boxes/');

define('DIR_WS_FUNCTIONS','functions/');

define('DIR_WS_CLASSES','classes/');

define('DIR_WS_MODULES', 'modules/');

define('DIR_WS_LANGUAGES','languages/');

define('DIR_WS_CATALOG_LANGUAGES','includes/languages/');

define('DIR_FS_CATALOG_LANGUAGES','includes/languages/');

define('DIR_FS_CATALOG_IMAGES','images/');

define('DIR_FS_CATALOG_MODULES','includes/modules/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

Posted

Make this change

 

admin - configure.php

 

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

 

 

 

Also, your admin/includes/languages/english/ login.php should have ...

 

<?php

/*

$Id: login.php 1739 2007-12-20 00:52:16Z hpdl $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2007 osCommerce

 

Released under the GNU General Public License

*/

 

define('HEADING_TITLE', 'Administrator Login');

 

define('TEXT_USERNAME', 'Username:');

define('TEXT_PASSWORD', 'Password:');

 

define('TEXT_CREATE_FIRST_ADMINISTRATOR', 'No administrators exist in the database table. Please fill in the following information to create the first administrator. (A manual login is still required after this step)');

 

define('ERROR_INVALID_ADMINISTRATOR', 'Error: Invalid administrator login attempt.');

 

define('BUTTON_LOGIN', 'Login');

define('BUTTON_CREATE_ADMINISTRATOR', 'Create Administrator');

?>

Posted

the last 5 lines (except the backup line) of your admin configure.php is wrong, you should use the backup line as example to fix them.

 

an example below:

 

define('HTTP_SERVER', 'http://...);
 define('HTTP_CATALOG_SERVER', 'http://...);
 define('HTTPS_CATALOG_SERVER', 'http://...);
 define('ENABLE_SSL_CATALOG', 'false');
 define('DIR_FS_DOCUMENT_ROOT', .../catalog/');
 define('DIR_WS_ADMIN', '/osc-rc2a/catalog/admin/');
 define('DIR_FS_ADMIN', '.../catalog/admin/');
 define('DIR_WS_CATALOG', '/catalog/');
 define('DIR_FS_CATALOG', '/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/');

 

Ken

commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile).

over 20 years of computer programming experience.

Posted

still same problem

 

define('HTTP_SERVER', 'http://www.herbothecary.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers

define('HTTP_CATALOG_SERVER', 'http://www.herbothecary.com');

define('HTTPS_CATALOG_SERVER', '');

define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', '/home/content/h/e/r/herbothecary/html/catalog/'); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)

define('DIR_WS_ADMIN', '/home/content/h/e/r/herbothecary/html/catalog/admin/');

define('DIR_FS_ADMIN', '/catalog/admin/');

define('DIR_WS_CATALOG', '/home/content/h/e/r/herbothecary/html/catalog/');

define('DIR_FS_CATALOG', '/catalog/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', 'icons/');

define('DIR_WS_CATALOG_IMAGES','images/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', 'boxes/');

define('DIR_WS_FUNCTIONS','functions/');

define('DIR_WS_CLASSES','classes/');

define('DIR_WS_MODULES', 'modules/');

define('DIR_WS_LANGUAGES','languages/');

define('DIR_WS_CATALOG_LANGUAGES','includes/languages/');

define('DIR_FS_CATALOG_LANGUAGES','includes/languages/');

define('DIR_FS_CATALOG_IMAGES','images/');

define('DIR_FS_CATALOG_MODULES','includes/modules/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

Archived

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

×
×
  • Create New...