Freedom Fighter Posted December 16, 2002 Posted December 16, 2002 Hey All, My current URL for my store is http://www.extremealterations.com/catalog/...log/default.php What do I need to do to make it so that the url to the store is just http://www.extremealterations.com Please help me, Alex Extreme Alterations
blueline Posted December 16, 2002 Posted December 16, 2002 Simply use an ftp program, copy the /catalog/catalog files from your server to your hard drive, and from there simply upload them back to your server in your main www folder. From that point simply edit your /configure.php and /admin/configure.php files accordingly. Hope this helps, -Chris Chris Sullivan
Freedom Fighter Posted December 16, 2002 Author Posted December 16, 2002 AWSOME CHRIS!! My only question now is.. Could you tell me exatly what I would need to edit in the /configure.php and the admin/configure.php Thanks, Alex Extreme Alterations
rseigel Posted December 17, 2002 Posted December 17, 2002 Alex Have you ever bothered to read the docs from http://oscdox.com/ ??? Only reason I ask is because you've asked about 100 extremely basic questions here that are very thoroughly explained there. Wouldn't it make more sense (and make it quicker for you) to RTM? :wink:
Freedom Fighter Posted December 17, 2002 Author Posted December 17, 2002 Yes I have read them but I can just ask it on here and get a nice reply with lots of information. Could you tell me exatly what I would need to edit in the /configure.php and the admin/configure.php Thanks, Alex Extreme Alterations
mattice Posted December 17, 2002 Posted December 17, 2002 It's not what your osC community can do for you, but what you can do for your osC community "Politics is the art of preventing people from taking part in affairs which properly concern them"
Freedom Fighter Posted December 17, 2002 Author Posted December 17, 2002 Nice Matt... I might have to change it to that. Alex Extreme Alterations
blueline Posted December 17, 2002 Posted December 17, 2002 Because I am sucj a nice guy, and I was once new to this as well. Your configure.php file will have to be changed to make way for the new catalog folder, and document root. // Define the webserver and path parameters// * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.yoursitehere.com'); // eg, http://localhost - should not be NULL for productive servers define('HTTPS_SERVER', 'https://www.yoursitehere.com'); // eg, https://localhost - should not be NULL for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('DIR_WS_CATALOG', '/'); // absolute path required define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); // If "URL fopen wrappers" are enabled in PHP (which they are in the default configuration), this can be a URL instead of a local pathname 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', DIR_WS_CATALOG . 'pub/'); define('DIR_FS_DOCUMENT_ROOT', 'Whatever your settings/wwwroot'); define('DIR_FS_CATALOG', 'Whatever your settings/wwwroot'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); There ya go. You will need to change this for both /includes/configure.php and /admiin/configure.php I hope this helps, but really....read the oscdox.com manual. It really will teach you a whole lot. -Chris Chris Sullivan
JHouse Posted December 17, 2002 Posted December 17, 2002 Nice Chris, that helped me too. Granted I don't have to make the necessary changes right now, I probably will in the near future. So, this is kinda like a future reference thingy. Okay, I'm gettin' wic wic wacky. I'm out. Peace. JHouse
blueline Posted December 17, 2002 Posted December 17, 2002 Justin, no problem. just remember, http://www.osCdox.com It's a LIFESAVER! Glad to help, Chris Chris Sullivan
Freedom Fighter Posted December 17, 2002 Author Posted December 17, 2002 I changed it just like you said and moved the files.. Now I get this damn error message. Parse error: parse error, unexpected T_STRING in /home/virtual/site4/fst/var/www/html/includes/configure.php on line 30 Fatal error: Failed opening required 'DIR_WS_FUNCTIONSsessions.php' (include_path='.:/php/includes:/usr/share/php') in /home/virtual/site4/fst/var/www/html/includes/application_top.php on line 160 PLEASE HELP! Alex Extreme Alterations
blueline Posted December 17, 2002 Posted December 17, 2002 What does line 30 of your configure.php file say? -Chris Chris Sullivan
Freedom Fighter Posted December 17, 2002 Author Posted December 17, 2002 Hell I dunno.. My store is all screwed up now.. I'm going to have to do a fresh install.. Alex Extreme Alterations
joongpark Posted December 17, 2002 Posted December 17, 2002 I just hope your store was not live when you did this...how come you have to re-install the whole thing? don't you have back ups? anyway...good luck.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.