facswife Posted May 28, 2004 Share Posted May 28, 2004 I moved the contents of my catalog folder to my root directory. Now is you go to my website you get nothing but a list of my directories. I have made the change to both my configure.php files. What on earth have I done wrong. Here is my configure files just in case that helps. /includes/configure.php <?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://rainphotography.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://st01.startlogic.com/~rainphot'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'rainphotography.com'); define('HTTPS_COOKIE_DOMAIN', 'st01.startlogic.com/~rainphot'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_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/rainphot/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'XXXX'); define('DB_SERVER_PASSWORD', 'XXXXXXXXX'); define('DB_DATABASE', 'rainphot_p_os1'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> /admin/includes/configure.php <?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://rainphotography.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://rainphotography.com'); define('HTTPS_CATALOG_SERVER', 'https://rainphotography.com'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/rainphot/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/rainphot/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/'); // absolute path required define('DIR_FS_CATALOG', '/home/rainphot/'); // 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'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'XXXXXXX'); define('DB_SERVER_PASSWORD', 'XXXXXXXXXXX'); define('DB_DATABASE', 'rainphot_p_os1'); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> Please someone help me with this. I tried to go by what I read in some of the posts, it seems so simple. I'm sure I made a simple mistake or huge...... Thanks for everything, Shar Contribution: Disable Image Toolbar Link to comment Share on other sites More sharing options...
AlanR Posted May 28, 2004 Share Posted May 28, 2004 You didn't moved the contents of the catalog folder on the secure side up one level. https://st01.startlogic.com/~rainphot Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management) Link to comment Share on other sites More sharing options...
Guest Posted May 28, 2004 Share Posted May 28, 2004 what happens if you specify http://yourdomain.com/index.php (as opposed to http://yourdomain.com) ? -jared Link to comment Share on other sites More sharing options...
facswife Posted May 28, 2004 Author Share Posted May 28, 2004 Alan..... How do I do that? I thought all I needed to do was move the contents of the catalog folder up. Can you give me step by step on what I need to do? I'm sorry but i'm just not very familiar with the directory structure. Thank you for your help. Shar :( Contribution: Disable Image Toolbar Link to comment Share on other sites More sharing options...
facswife Posted May 28, 2004 Author Share Posted May 28, 2004 please someone..............can you make a suggestion for me to start at???? HELPP ! ! ! Contribution: Disable Image Toolbar Link to comment Share on other sites More sharing options...
ozcsys Posted May 28, 2004 Share Posted May 28, 2004 Alan..... How do I do that? I thought all I needed to do was move the contents of the catalog folder up. Can you give me step by step on what I need to do? I'm sorry but i'm just not very familiar with the directory structure. Thank you for your help. Shar :( Are you sure that you have moved your files to the root directory? I do not see any files or directories that should be showing if you had when I go to your site. The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right?? Link to comment Share on other sites More sharing options...
facswife Posted May 28, 2004 Author Share Posted May 28, 2004 maybe I don't know what my root directory is........ I used an FTP program and moved it to just plain / . It is in line with my public_html folder. Is this correct? Shar Contribution: Disable Image Toolbar Link to comment Share on other sites More sharing options...
chrome orange Posted May 28, 2004 Share Posted May 28, 2004 you need to put your files into the public_html directory. Link to comment Share on other sites More sharing options...
facswife Posted May 28, 2004 Author Share Posted May 28, 2004 okay then i'm really confused. I had it like this public_html/catalog . but when I typed www.mysite.com/catalog is when I got to my site. so now what do i need to do? Contribution: Disable Image Toolbar Link to comment Share on other sites More sharing options...
Guest Posted May 28, 2004 Share Posted May 28, 2004 do you have shell access to your server? if so, then piece of cake, if not, then have to use ftp. of course your cpanel may allow you to 'move' a folder. else send a support ticket to your host and ask them to move your folder level up one. Link to comment Share on other sites More sharing options...
facswife Posted May 28, 2004 Author Share Posted May 28, 2004 i don't think i have shell access considering that isn't familiar to me. I do have the ability to move a directory in my cpanel, but i don't know where, what, or how to move it up. I thought I had using FTP, but then I screwed everything up. I don't know what to do at this point. I'm getting so discouraged. Thanks for all your help. Shar Contribution: Disable Image Toolbar Link to comment Share on other sites More sharing options...
facswife Posted May 29, 2004 Author Share Posted May 29, 2004 Well....I have set everything back to the way it was. I will do more research to find out what I did wrong or try a different avenue. I'm just thankful for backups ! ! Shar Contribution: Disable Image Toolbar Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.