Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin login page and images not showing up


dru312

Recommended Posts

Could anyone take a look and let me know what I am doing wrong. Thx!!! I cannot login to the admin section and a couple images on the homepage are not showing up.

here is my /includes/config.php file.

 

 

<?php

 

define('HTTP_SERVER', 'http://www.ellasbubbles.com');

define('HTTPS_SERVER', 'https://www.ellasbubbles.com');

define('ENABLE_SSL', true);

define('HTTP_COOKIE_DOMAIN', 'www.ellasbubbles.com');

define('HTTPS_COOKIE_DOMAIN', 'www.ellasbubbles.com');

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

define('HTTPS_COOKIE_PATH', '/store/');

define('DIR_WS_HTTP_CATALOG', '/store/');

define('DIR_WS_HTTPS_CATALOG', '/store/');

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/');

// Documents Manager

 

define('DIR_WS_DOCUMENTS', 'documents/');

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/home/ebubbles/public_html/store/');

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

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

define('DIR_FS_CATALOG_DOCUMENTS', DIR_FS_CATALOG . 'documents/');

define('DB_SERVER', '127.0.0.1');

define('DB_SERVER_USERNAME', '******');

define('DB_SERVER_PASSWORD', '******');

define('DB_DATABASE', '*******');

define('USE_PCONNECT', 'true');

define('STORE_SESSIONS', 'mysql');

 

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

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

define('DIR_FS_ADMIN', '/home/ebubbles/public_html/admin/');

 

define('DIR_FS_DOCUMENT_ROOT', '/home/ebubbles/public_html/store/');

 

 

 

?>

Link to comment
Share on other sites

Could anyone take a look and let me know what I am doing wrong. Thx!!! I cannot login to the admin section and a couple images on the homepage are not showing up.

here is my /includes/config.php file.

 

 

<?php

 

define('HTTP_SERVER', 'http://www.ellasbubbles.com');

define('HTTPS_SERVER', 'https://www.ellasbubbles.com');

define('ENABLE_SSL', true);

define('HTTP_COOKIE_DOMAIN', 'www.ellasbubbles.com');

define('HTTPS_COOKIE_DOMAIN', 'www.ellasbubbles.com');

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

define('HTTPS_COOKIE_PATH', '/store/');

define('DIR_WS_HTTP_CATALOG', '/store/');

define('DIR_WS_HTTPS_CATALOG', '/store/');

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/');

// Documents Manager

 

define('DIR_WS_DOCUMENTS', 'documents/');

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/home/ebubbles/public_html/store/');

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

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

define('DIR_FS_CATALOG_DOCUMENTS', DIR_FS_CATALOG . 'documents/');

define('DB_SERVER', '127.0.0.1');

define('DB_SERVER_USERNAME', '******');

define('DB_SERVER_PASSWORD', '******');

define('DB_DATABASE', '*******');

define('USE_PCONNECT', 'true');

define('STORE_SESSIONS', 'mysql');

 

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

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

define('DIR_FS_ADMIN', '/home/ebubbles/public_html/admin/');

 

define('DIR_FS_DOCUMENT_ROOT', '/home/ebubbles/public_html/store/');

 

 

 

?>

 

I had some problems with the admin login but need to refer back to my notes to find the solution that was suggested to me. Homepage looks good. How did you do the scrolling feature??

 

Best,

 

Chris

Link to comment
Share on other sites

Don't you think

 

the path should be

 

define('DIR_FS_ADMIN', '/home/ebubbles/public_html/store/admin/');

 

instead of

 

define('DIR_FS_ADMIN', '/home/ebubbles/public_html/admin/');

 

i think, in oscommerce the admin directory is in the catalog directory

 

and how do you call the image in slideshow

 

it showing me path like

 

http://www.ellasbubbles.com/images/image_name

 

thats not a correct path

 

you should try tep_image to call the image

Please take backup of your files before do changes suggested by me

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...