kitchenniche Posted February 15, 2005 Share Posted February 15, 2005 Hi there, My site worked properly since about 3 months... my site always had the name www.kitchenniche.ca/osCommerce i asked my provider to change the name to www.kitchenniche.ca , so they just had to cut the "/osCommerce" if you go to www.kitchenniche.ca there is just a part of my index, but no oscommerce shopping cart ... and if you go to www.kitchenniche.ca/osCommerce (my site worked on this domain name) there is just "index of /osCommerce ... I am asking and asking and asking my provider to fix that problem and to help me but their "tips" do not help me Is there somebody who could help me with this? i am really lost and it isn't even my fault, i did not change anything on the page. thank you sandra HIM - Dark Light - Out on 26/09/05 Link to comment Share on other sites More sharing options...
boxtel Posted February 15, 2005 Share Posted February 15, 2005 Hi there, My site worked properly since about 3 months... my site always had the name www.kitchenniche.ca/osCommerce i asked my provider to change the name to www.kitchenniche.ca , so they just had to cut the "/osCommerce" if you go to www.kitchenniche.ca there is just a part of my index, but no oscommerce shopping cart ... and if you go to www.kitchenniche.ca/osCommerce (my site worked on this domain name) there is just "index of /osCommerce ... I am asking and asking and asking my provider to fix that problem and to help me but their "tips" do not help me Is there somebody who could help me with this? i am really lost and it isn't even my fault, i did not change anything on the page. thank you sandra <{POST_SNAPBACK}> you adjusted your configure.php files accordingly ? Treasurer MFC Link to comment Share on other sites More sharing options...
kitchenniche Posted February 15, 2005 Author Share Posted February 15, 2005 you adjusted your configure.php files accordingly ? <{POST_SNAPBACK}> hi, thanks for reply no i didn't do anything, the guys from the provider told me they could change the name from www.kitchenniche.ca/osCommerce to www.kitchenniche.ca and they did not tell me to do anything. so what do i have to do on the configure.php file? HIM - Dark Light - Out on 26/09/05 Link to comment Share on other sites More sharing options...
bobg7 Posted February 15, 2005 Share Posted February 15, 2005 I went to www.kitchenniche.ca/osCommerce and it lists the files but it looks like there may be some files missing like index.php for 1. I can only hope the you or your host did a complete backup before making any moves and restore it for now. Also do a search in the forum on how to do what you are trying to do. Installed Contributions: CCGV, Close Popup, Dynamic Meta Tags, Easy Populate, Froogle Data Feeder, Google Position, Infobox Header Entire Row, Live Support for OSC, PayPal Seal with CC images, Report_m Sales, Shop by Price Revised, SQL Updater, Who's Online Enhancement, Footer, GNA EP Assistant and still going. Link to comment Share on other sites More sharing options...
boxtel Posted February 15, 2005 Share Posted February 15, 2005 hi, thanks for reply no i didn't do anything, the guys from the provider told me they could change the name from www.kitchenniche.ca/osCommerce to www.kitchenniche.ca and they did not tell me to do anything. so what do i have to do on the configure.php file? <{POST_SNAPBACK}> well, it depends on what your host actually did. did they move your directory structure from /oscommerce to / ? what is your configure.php saying now and where is your index.php located now ? Treasurer MFC Link to comment Share on other sites More sharing options...
kitchenniche Posted February 15, 2005 Author Share Posted February 15, 2005 well, it depends on what your host actually did. did they move your directory structure from /oscommerce to / ? what is your configure.php saying now and where is your index.php located now ? <{POST_SNAPBACK}> I do not now what my host acutally did. index.php is in public_html configure.php says: <?php /* $Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $ 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://kitchenniche.ca'); define('HTTPS_SERVER', 'https://kitchenniche.ca'); define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'http://kitchenniche.ca'); define('HTTPS_COOKIE_DOMAIN', 'https://kitchenniche.ca'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/osCommerce/'); define('DIR_WS_HTTPS_CATALOG', '/osCommerce/'); define('DIR_WS_IMAGES', '/osCommerce/images/'); define('DIR_WS_ICONS', '/osCommerce/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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME'])); 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'); define('DB_SERVER_USERNAME', 'kitchenn_osc2'); define('DB_SERVER_PASSWORD', 'LgvepHwh5f'); define('DB_DATABASE', 'kitchenn_osc2'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); ?> HIM - Dark Light - Out on 26/09/05 Link to comment Share on other sites More sharing options...
boxtel Posted February 15, 2005 Share Posted February 15, 2005 I do not now what my host acutally did. index.php is in public_html configure.php says: <?php /* $Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $ 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://kitchenniche.ca'); define('HTTPS_SERVER', 'https://kitchenniche.ca'); define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'http://kitchenniche.ca'); define('HTTPS_COOKIE_DOMAIN', 'https://kitchenniche.ca'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/osCommerce/'); define('DIR_WS_HTTPS_CATALOG', '/osCommerce/'); define('DIR_WS_IMAGES', '/osCommerce/images/'); define('DIR_WS_ICONS', '/osCommerce/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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME'])); 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'); define('DB_SERVER_USERNAME', 'kitchenn_osc2'); define('DB_SERVER_PASSWORD', 'LgvepHwh5f'); define('DB_DATABASE', 'kitchenn_osc2'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); ?> <{POST_SNAPBACK}> given this configure.php your root directory (where index.php should be) is located in your domain name/oscommerce/ is it still in that directory ? if your host moved those files into the / directory (your domain name/) then you need to make sure they moved it correctly and change : define('DIR_WS_HTTP_CATALOG', '/osCommerce/'); define('DIR_WS_HTTPS_CATALOG', '/osCommerce/'); define('DIR_WS_IMAGES', '/osCommerce/images/'); define('DIR_WS_ICONS', '/osCommerce/icons/'); to define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', 'icons/'); Treasurer MFC Link to comment Share on other sites More sharing options...
kitchenniche Posted February 15, 2005 Author Share Posted February 15, 2005 given this configure.php your root directory (where index.php should be) is located in your domain name/oscommerce/ is it still in that directory ? if your host moved those files into the / directory (your domain name/) then you need to make sure they moved it correctly and change : define('DIR_WS_HTTP_CATALOG', '/osCommerce/'); define('DIR_WS_HTTPS_CATALOG', '/osCommerce/'); define('DIR_WS_IMAGES', '/osCommerce/images/'); define('DIR_WS_ICONS', '/osCommerce/icons/'); to define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', 'icons/'); <{POST_SNAPBACK}> configure.php is in /public_html/osCommerce/includes so i am not quite sure what to do HIM - Dark Light - Out on 26/09/05 Link to comment Share on other sites More sharing options...
boxtel Posted February 15, 2005 Share Posted February 15, 2005 configure.php is in /public_html/osCommerce/includes so i am not quite sure what to do <{POST_SNAPBACK}> so your index.php is still in /public_html/oscommerce/ ? If that is the case, I have no idea what your host actually did then because that is how your configure.php is setup. your server name always was : define('HTTP_SERVER', 'http://kitchenniche.ca'); (not sure why you removed the www though.) and your root directory always was : define('DIR_WS_HTTP_CATALOG', '/osCommerce/'); Treasurer MFC Link to comment Share on other sites More sharing options...
kitchenniche Posted February 15, 2005 Author Share Posted February 15, 2005 so your index.php is still in /public_html/oscommerce/ ? If that is the case, I have no idea what your host actually did then because that is how your configure.php is setup. your server name always was : define('HTTP_SERVER', 'http://kitchenniche.ca'); (not sure why you removed the www though.) and your root directory always was : define('DIR_WS_HTTP_CATALOG', '/osCommerce/'); <{POST_SNAPBACK}> No my index.php is in /public_html (not in /public_html/osCommerce) could that be the problem? so would i have to put the index.php in /public_html/osCommerce instead of /public_html ? HIM - Dark Light - Out on 26/09/05 Link to comment Share on other sites More sharing options...
boxtel Posted February 15, 2005 Share Posted February 15, 2005 No my index.php is in /public_html (not in /public_html/osCommerce)could that be the problem? so would i have to put the index.php in /public_html/osCommerce instead of /public_html ? <{POST_SNAPBACK}> well, that depends on what they did. normally you had this structure : public_html/oscommerce/index.php etc... public_html/oscommerce/includes/configure.php etc.... so your oscommerce directory was your root with the index.php and all the other pages and underneath that your would have the includes directory where configure.php should be and more directories. now, if your host moved EVERYTHING 1 level up then you could just remove the oscommerce/ part out of the directory tree. that means that index.php is now in public_html/ directory but it also means that configure.php should be in the public_html/includes/ directory. If they did all that right, then you need to change the configure.php files to remove the oscommerce/ from the paths so that OSC knows that now your root is / and no longer oscommerce/ Treasurer MFC Link to comment Share on other sites More sharing options...
kitchenniche Posted February 15, 2005 Author Share Posted February 15, 2005 If they did all that right, then you need to change the configure.php files to remove the oscommerce/ from the paths so that OSC knows that now your root is / and no longer oscommerce/ <{POST_SNAPBACK}> so i would need to change: (in configure.php) define('DIR_WS_HTTP_CATALOG', '/osCommerce/'); define('DIR_WS_HTTPS_CATALOG', '/osCommerce/'); define('DIR_WS_IMAGES', '/osCommerce/images/'); define('DIR_WS_ICONS', '/osCommerce/icons/'); to: define('DIR_WS_HTTP_CATALOG', ); define('DIR_WS_HTTPS_CATALOG', ); define('DIR_WS_IMAGES', '/images/'); define('DIR_WS_ICONS', '/icons/'); ? i am not actually used to do things like that so i just do not want to make any errors... and thanks for your help anyways. guess you should be my host HIM - Dark Light - Out on 26/09/05 Link to comment Share on other sites More sharing options...
boxtel Posted February 15, 2005 Share Posted February 15, 2005 so i would need to change: (in configure.php) define('DIR_WS_HTTP_CATALOG', '/osCommerce/'); define('DIR_WS_HTTPS_CATALOG', '/osCommerce/'); define('DIR_WS_IMAGES', '/osCommerce/images/'); define('DIR_WS_ICONS', '/osCommerce/icons/'); to: define('DIR_WS_HTTP_CATALOG', ); define('DIR_WS_HTTPS_CATALOG', ); define('DIR_WS_IMAGES', '/images/'); define('DIR_WS_ICONS', '/icons/'); ? i am not actually used to do things like that so i just do not want to make any errors... and thanks for your help anyways. guess you should be my host <{POST_SNAPBACK}> to : define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_WS_IMAGES', '/images/'); define('DIR_WS_ICONS', '/icons/'); but make sure that wat was in your oscommerce/includes/ directory is now in your includes/ directory because if configure.php is still in oscommerce/includes/ directory then they did not do it right. Treasurer MFC Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.