Piercing Posted June 7, 2010 Posted June 7, 2010 OK Firstly I will admit I am totally new to this game and if anybody answers with take it to the HTML codec line 4 with twin overheads and chevron inserts I will not know what's what Two immediate issus. 1. When I log into site as an administrator it keeps logging me out at each command. That is I go to add product and add 1 then I have to log in again each time. Tis cannot be right 2. When I look at my site under IE and Firefox it is completely different. Even the cart contents will hold in firefox but in IE the site just takes me back to my dummy customer name I have created OK great Gurus of the Net what can I do?? Besides leave it to experts. :rolleyes:
burt Posted June 7, 2010 Posted June 7, 2010 1. Is not right. SOunds like a session problem. Make sure the admin/includes/configure.php file is correct. 2. Again, could be problematic includes/configure.php file. Or a design that is broken.
Piercing Posted June 7, 2010 Author Posted June 7, 2010 So how do I check the admin/includes/configure.php file is correct?? Thanks for your reply so far
kelagedart Posted June 8, 2010 Posted June 8, 2010 So how do I check the admin/includes/configure.php file is correct?? Mind you that I am basically a noobie here too, and know little about programming the site, but my configure.php file looks like this: <?php define('HTTP_SERVER', 'http://website'); define('HTTP_CATALOG_SERVER', 'http://website'); define('HTTPS_CATALOG_SERVER', 'http://website'); define('ENABLE_SSL_CATALOG', 'false'); define('DIR_FS_DOCUMENT_ROOT', 'C:/xampp/htdocs/catalog//'); define('DIR_WS_ADMIN', '/catalog/admin/'); define('DIR_FS_ADMIN', 'C:/xampp/htdocs/catalog//admin/'); define('DIR_WS_CATALOG', '/catalog/'); define('DIR_FS_CATALOG', 'C:/xampp/htdocs/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', 'root'); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'mybookshop'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); ?> A few points to note: In the above at the top 'website' should be 'localhost'. This machine's temporary name is WEBSITE, so I put that there so I can access the site from across the network. Set it to localhost for now. As a test system I am using DB_SERVER as 'root' with no password. That makes dealing with scripts and things easier. This setup is VERY insecure so it is best to back everything up regularly. Shut down XAMPP and rar or zip up the entire XAMPP tree on a regular basis. You need to create a database in PHPMyadmin and NAME it. Mine is 'mybookshop'. Names yours anything you like. DONT do as I originally did and name it PHPMYADMIN. Boy, that screwed things up! Another thing. This is presuming you are using XAMPP on a Windows system. I believe using the *LATEST* version of XAMPP can cause problems. You need an older version, or at least I did for mine. Mine is running 1.6.6a. Hopefully others will advise here on the best combination to use.
Piercing Posted June 9, 2010 Author Posted June 9, 2010 So how do I check the admin/includes/configure.php file is correct??
Recommended Posts
Archived
This topic is now archived and is closed to further replies.