Guest Posted February 20, 2004 Posted February 20, 2004 :( Please help me, I just downloaded this wonderful program, then i uploaded it to my site useing cuteftp. Now i was looking at the stores on this site, using this program and noticed that they have changed it. Now i was wondering, how to change the look and feel of my catalog. Can i use frontpage or photoshop,etc? Then i was wondering for people to access my cataolg can i change it from www.mydomain.com/catalog to www.mydomain.com/whateveriwanthere? Is there any tutorials for this program. I was reading it and it seems like such a wonderful one. Also i was wondering about using paypal, i am a memeber and have an account so how do i intergrate that into my site. I'm so sorry for all the questions but i really need some help!!!!! If you can give me old forums which discussed this or something, PLEASE!!!!
241 Posted February 20, 2004 Posted February 20, 2004 Yes you can customise but not using frontpage, there are a number of choices for customising. 1. The catalog/stylesheet.css 2. BTS contribution (Basic Template system) 3. STS contribution (Simple Template System) 4. adding contributions and modifications to the code You can install the osc to the root if you want and then have it as www.yourdomain.com or rename the catalog directory to whatever and change the catalog/includes/configure.php and admin/includes/configure.php files accordingly to match the name change or path change. Paypal can be used, however some would advise the contribution PayPal IPN for paypal payments. Information can be found via the links in my signature and searching the Forum prior to asking the forum No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
Guest Posted February 20, 2004 Posted February 20, 2004 I would like to remove the languages and currencies sections from my OSC. How can I do that safely? Can I turn them off in the admin somewhere? :ph34r:
Guest Posted February 20, 2004 Posted February 20, 2004 So where are these BST and STS contributions????I really am i beginer and so when u say intall osc to the root what does that mean??? I went through doteasy's installation process and so now i'm stuck. Can you guide me from there????? PLEASE!!!!
241 Posted February 20, 2004 Posted February 20, 2004 redzonne First you should really post a new thread as it is not related to this topic and hijacking someones topic is not the done thing, however I will answer for you. catalog/includes/column_right.php find theis code if (substr(basename($PHP_SELF), 0, 8) != 'checkout') { ? ?include(DIR_WS_BOXES . 'languages.php'); ? ?include(DIR_WS_BOXES . 'currencies.php'); ?} and change it to this /* ?if (substr(basename($PHP_SELF), 0, 8) != 'checkout') { ? ?include(DIR_WS_BOXES . 'languages.php'); ? ?include(DIR_WS_BOXES . 'currencies.php'); ?} */ meshawn98 you will find a link to the contributions area in my signature. If you wish to move the cart to the root first move all the files from within the catalog directory to the root then alter the two configure.php files the ones in includes/configure.php and admin/includes/configure.php to reflect the changed paths No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
Guest Posted February 21, 2004 Posted February 21, 2004 ok so i did that then i read the install and it told me to insert under line 22 those things then i tried to access my website catalog on Parse error: parse error in /var/www/html/catalog/includes/configure.php on line 29 Warning: main(DIR_WS_INCLUDESfilenames.php): failed to open stream: No such file or directory in /var/www/html/catalog/includes/application_top.php on line 53 Fatal error: main(): Failed opening required 'DIR_WS_INCLUDESfilenames.php' (include_path='.:/php/includes:/usr/share/php') in /var/www/html/catalog/includes/application_top.php on line 53 appeared????What am i doing wrong???
241 Posted February 21, 2004 Posted February 21, 2004 you are showing this 'DIR_WS_INCLUDESfilenames.php' which has a missing / if you post both configure.php files but xxx out the database info then we can take a look at the files paths for you No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
Guest Posted February 21, 2004 Posted February 21, 2004 here is first configure.php sorry so late 5<?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', ''); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', ''); 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_TEMPLATES', 'templates/') define('DIR_WS_CONTENT', DIR_WS_TEMPLATES . 'content/') define('DIR_WS_JAVASCRIPT', DIR_WS_INCLUDES . 'javascript/') 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', ''); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', ''); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'osCommerce'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?> And here is the 2nd <?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://www.xxxxxxxxxxxxxxxx.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.xxxxxxxxxxxxxxxx.com'); define('HTTPS_CATALOG_SERVER', 'https://www.xxxxxxxxxxxxxxxx.com'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/var/www/html/catalog/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/var/www/html/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/var/www/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', 'xxxxxxxxx'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'xxxxxxxxx'); define('DB_SERVER_PASSWORD', 'xxxxxxxxxx'); define('DB_DATABASE', 'xxxxxxxxxxxxxxxx_com_-_db'); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> Thanks for all your help!!!!
241 Posted February 21, 2004 Posted February 21, 2004 you have xxxxx out some of the relevant info and other parts are blank catalog/includes/configure.php <?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://www.xxxxxxxxxxxxxxxx.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.xxxxxxxxxxxxxxxx.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.xxxxxxxxxxxxxxxx.com'); define('HTTPS_COOKIE_DOMAIN', 'www.xxxxxxxxxxxxxxxx.com'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_TEMPLATES', 'templates/') define('DIR_WS_CONTENT', DIR_WS_TEMPLATES . 'content/') define('DIR_WS_JAVASCRIPT', DIR_WS_INCLUDES . 'javascript/') 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', 'var/www/html/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', ''); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', ''); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'osCommerce'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // 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://www.xxxxxxxxxxxxxxxx.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.xxxxxxxxxxxxxxxx.com'); define('HTTPS_CATALOG_SERVER', 'https://www.xxxxxxxxxxxxxxxx.com'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/var/www/html/catalog/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/var/www/html/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/var/www/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', 'xxxxxxxxx'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'xxxxxxxxx'); define('DB_SERVER_PASSWORD', 'xxxxxxxxxx'); define('DB_DATABASE', 'xxxxxxxxxxxxxxxx_com_-_db'); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> you seem to have a few more defines than standard in your configure.php for the catalog No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
Guest Posted February 21, 2004 Posted February 21, 2004 so i just take this information and copy and past it???? do u want me to send it without the xxxxxx
241 Posted February 21, 2004 Posted February 21, 2004 How come the information for this part is different in both files // define our database connection define('DB_SERVER', 'xxxxxxxxx'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'xxxxxxxxx'); define('DB_SERVER_PASSWORD', 'xxxxxxxxxx'); define('DB_DATABASE', 'xxxxxxxxxxxxxxxx_com_-_db'); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' they should read the same in both files No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
Guest Posted February 21, 2004 Posted February 21, 2004 I wish i knew why both are different. Should i just copy and paste to make both say the samething????? I just downloaded osc and then changed the configure.php like doteasy.com said in their tutorials. Then I went to WIKI and went to and did this Rename the catalog/install folder or delete it. Reset the permissions on /catalog/includes/configure.php to 644 (if you are still getting the warning message at the top set configure.php to 444 which is read only - this happens on some servers that have been updated for security reasons). Set the permissions on /catalog/images directory to 777 Reset the permissions on /admin/includes/configure.php to 644 Create the dir /admin/backups and set the permissions to 777 Set the permissions on /admin/images/graphs directory to 777 Then i downloaded BTS and followed what it said in the instructions?? did i do anything wrong???
241 Posted February 21, 2004 Posted February 21, 2004 Ok I was under the impression that this was a clean install, but you have installed BTS. yes copy from the file with the information above to the other file, but obviously replace the xxxxx with the relevant data No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
Guest Posted February 21, 2004 Posted February 21, 2004 ok so i did what you have told me, copying it, and then when i went to vikinternational.com/catalog it still said Parse error: parse error in /var/www/html/catalog/includes/configure.php on line 29 Warning: main(DIR_WS_INCLUDESfilenames.php): failed to open stream: No such file or directory in /var/www/html/catalog/includes/application_top.php on line 53 Fatal error: main(): Failed opening required 'DIR_WS_INCLUDESfilenames.php' (include_path='.:/php/includes:/usr/share/php') in /var/www/html/catalog/includes/application_top.php on line 53
241 Posted February 21, 2004 Posted February 21, 2004 I do not have BTS installed so cannot determine if it is a change caused by the install of BTS. What is the code for catalog/includes/application_top.php on line 53 it should be this require(DIR_WS_INCLUDES . 'filenames.php'); make sure that there is a space then a . then a space between INCLUDES and 'filenames No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
Guest Posted February 22, 2004 Posted February 22, 2004 Ok I Finally firgured out was was going wrong. Looks like i was downloading the old version of BTS onto my site. So i have found the BTS V1.2 version and uploaded it. Then i had this fatal error message that i corrected reading the rest and then i also uploaded the other files. Now i am back to the beging??? I have the templates from BTS and how do i change things???? Thanksso much 241 for your help, it is greatly appreciated.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.