starmakersandy Posted February 12, 2007 Share Posted February 12, 2007 I started out with not being able to access the Database and Nate pointed me in the right direction to change the information at the bottom of my admin/includes/configuration.php Now I can access the Admin home page but when I try to access any of the options, I get a message that says the file is not the server... but it is. So, maybe my configuration page is wrong? Could someone look over my settings and tell me if they see anything wrong? In particular, at the bottom (line 46), should "define STORE SESSIONS" be set to 'mysql'? or my database? (although I did try changing it to asylett2_asylettbooks and it didn't do any good) Lines 40-46 are set the same in my catalog/includes/configuration.php 13 // define our webserver variables 14 // FS = Filesystem (physical) 15 // WS = Webserver (virtual) 16 define('HTTP_SERVER', 'https://www.asylett.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers 17 define('HTTP_CATALOG_SERVER', 'https://www.asylett.com'); 18 define('HTTPS_CATALOG_SERVER', 'https://www.asylett.com'); 19 define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module 20 define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) 21 define('DIR_WS_ADMIN', '/admin/'); 22 define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); 23 define('DIR_WS_CATALOG', '/catalog/'); 24 define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); 25 define('DIR_WS_IMAGES', 'images/'); 26 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); 27 define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); 28 define('DIR_WS_INCLUDES', 'includes/'); 29 define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); 30 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); 31 define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); 32 define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); 33 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); 34 define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); 35 define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); 36 define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); 37 define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); 38 define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); 39 40 // define our database connection 41 define('DB_SERVER', 'localhost.asylett.com'); 42 define('DB_SERVER_USERNAME', 'asylett2_username'); 43 define('DB_SERVER_PASSWORD', 'mypassword'); 44 define('DB_DATABASE', 'asylett2_asylettbooks'); 45 define('USE_PCONNECT', 'false'); 46 define('STORE_SESSIONS', 'mysql'); If the problem isn't with this file, what file should I be looking at? Any help anyone could give would help save the rest of my hair... Thanks! Sandra Link to comment Share on other sites More sharing options...
jonquil Posted February 12, 2007 Share Posted February 12, 2007 16 define('HTTP_SERVER', 'https://www.asylett.com'); // 17 define('HTTP_CATALOG_SERVER', 'https://www.asylett.com'); Remove the s :) jon It's all just ones and zeros.... Link to comment Share on other sites More sharing options...
starmakersandy Posted February 12, 2007 Author Share Posted February 12, 2007 16 define('HTTP_SERVER', 'https://www.asylett.com'); // 17 define('HTTP_CATALOG_SERVER', 'https://www.asylett.com'); Remove the s :) jon Thanks Jon. Unfortunately, just tried it and I'm still getting the same error... it says the files are not on the server. But they are. *sigh* Do I have to reinstall everything? Sandra Link to comment Share on other sites More sharing options...
jonquil Posted February 12, 2007 Share Posted February 12, 2007 I have a silly question: You posted your config file (one of them) with line numbers. Is this what's actually in the file, or did you add them for convenience when posting? jon It's all just ones and zeros.... Link to comment Share on other sites More sharing options...
starmakersandy Posted February 13, 2007 Author Share Posted February 13, 2007 I have a silly question: You posted your config file (one of them) with line numbers. Is this what's actually in the file, or did you add them for convenience when posting? jon Those are actually what are in the file. I noticed in some other posts that advice was given based on changing items on "line such-and-such", so I wanted to provide as accurate and detailed information as I could when presenting my problem... which, unfortunately, persists... :) Sandra Link to comment Share on other sites More sharing options...
jonquil Posted February 13, 2007 Share Posted February 13, 2007 Wow :) I had no idea the store would even function with line numbers physically IN the files. Here is the stock catalog/admin/includes/configure.php with your information inserted. You need to find out your actual "path". This is my best shot at trying to help. If you get another error, please copy it from the screen & post it exactly :): jon <?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://asylett.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://asylett.com'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/public_html/catalog/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/public_html/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/public_html/catalog/'); // absolute path required 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 our database connection define('DB_SERVER', 'localhost.asylett.com'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'asylett2_username'); define('DB_SERVER_PASSWORD', 'password'); define('DB_DATABASE', 'asylett2_asylettbooks'); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> It's all just ones and zeros.... Link to comment Share on other sites More sharing options...
starmakersandy Posted February 18, 2007 Author Share Posted February 18, 2007 Wow :) I had no idea the store would even function with line numbers physically IN the files. Here is the stock catalog/admin/includes/configure.php with your information inserted. You need to find out your actual "path". This is my best shot at trying to help. If you get another error, please copy it from the screen & post it exactly :):z jon Thank you for taking the time to fill this out for me, Jon. Unfortunately, it didn't work. I'm really beginning to believe it's a glitch. All of this started right after my webhost migrated the files to a new server. The first problem I encountered was all of my database username/passwords having disappeared from the control panel. And even after reinstalling them, the Admin controls can't find the files. It says they're not on the server when they are -- we can see them sitting there just waiting to be accessed. LOL! So I guess it's going to have to be a total reinstall. Fortunately, I have copies of all the files I updated. Wish me luck for a quick and painless event! Afterward I'll see if I can glue back on some of this hair... :D Sandra Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.