Guest Posted June 1, 2003 Posted June 1, 2003 people i need some help here - i installed oscommerce to ROOT and everything is working fine, but many of my pages are having trouble finding the images folder in my languages folders... nio images from those directories are showing up... also on checkout my shipping address isn't showing up there where it's supposed to... i installed this the same way on another site and it all shows up fine. i don't know what i did differently this time. can someone help? here --> www.the-kingsmusic.net thanks, glenn nall
Guest Posted June 1, 2003 Posted June 1, 2003 is this hard to understand? is there something i need to explain better? can someone please offer a hand here? this is the only means of support offered by OSC? thanks very much, glenn
♥olby Posted June 1, 2003 Posted June 1, 2003 Try changing this line in configure.php: define('DIR_WS_INCLUDES', 'includes/'); to this: define('DIR_WS_INCLUDES', '<your domain/catalog/>includes/'); Some times it helps to change <your domain> to the actual physical path. HTH Best Regards olby
Guest Posted June 1, 2003 Posted June 1, 2003 thanks - i took it all out of the catalog directory and installed it to ROOT - i attempted your suggestion: define('DIR_WS_INCLUDES', 'www.the-kingsmusic.com/includes/'); define('DIR_WS_INCLUDES', 'the-kingsmusic.com/includes/'); and define('DIR_WS_INCLUDES', 'home/username/public_html/includes/'); nothing worked, it gave me a parse error. i don't want to have to reinstall this - i thank you for your help, glenn
♥olby Posted June 1, 2003 Posted June 1, 2003 define('DIR_WS_INCLUDES', 'www.the-kingsmusic.com/includes/'); Change that to: define('DIR_WS_INCLUDES', 'http://www.the-kingsmusic.com/includes/'); HTH Best Regards olby
rseigel Posted June 1, 2003 Posted June 1, 2003 That's horrible advice. That will NEVER work. Glenn Post your entire configure.php here so someone can see the problem.
Guest Posted June 1, 2003 Posted June 1, 2003 yes, it has messed me up quite considerably, in fact. damn. it has now begun giving me problems with this: '/home/theking/public_html' ] ); // as well... thanks for your help... <?php /* $Id: configure.php,v 1.13 2003/02/10 22:30:51 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('DIR_WS_CATALOG', '/'); // absolute path required 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', DIR_WS_CATALOG . 'pub/'); define('DIR_FS_DOCUMENT_ROOT', '/home/theking/public_html']); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_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', 'mysql'); 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' ?>
rseigel Posted June 1, 2003 Posted June 1, 2003 Is there a reason you've left this blank? define('HTTP_SERVER', ''); // eg, http://localhost - should not be empty for productive servers It should be: define('HTTP_SERVER', 'http://yourdomain.com'); // eg, http://localhost - should not be empty for productive servers
Guest Posted June 1, 2003 Posted June 1, 2003 it was left blank in the configuration, i s'pose. it's blank on my other identical installation that is functioning properly...
rseigel Posted June 1, 2003 Posted June 1, 2003 Try putting your actual domain in there. That's the way it's designed to work.
Guest Posted June 1, 2003 Posted June 1, 2003 ok - my site is back up now, but my images in the languages folder are not appearing still... here's my conigure.php file: <?php /* $Id: configure.php,v 1.13 2003/02/10 22:30:51 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.the-kingsmusic.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'http://www.the-kingsmusic.com'); // eg, https://localhost - should not be empty 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/'); 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', '/home/theking/public_html'); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) define('DIR_FS_CATALOG', '/home/theking/public_html/'); 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', 'tonymas_tony'); define('DB_SERVER_PASSWORD', '******'); define('DB_DATABASE', 'tonymas_cart'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?>
♥olby Posted June 1, 2003 Posted June 1, 2003 Hi Glenn. Your path to the language icon is correct: http://www.the-kingsmusic.com/includes/lan...images/icon.gif If you enter this URL into the browser, it comes up with this: Internal Server ErrorThe server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. -------------------------------------------------------------------------------- Apache/1.3.27 Server at www.the-kingsmusic.com Port 80 Check to make sure the icon.gif is there. If it is - contact your ISP Best Regards olby
belleliu Posted July 14, 2003 Posted July 14, 2003 I ran into the same problem with a fresh install version 2.2 MS2, so I checked the web server error logs and found out that the missing language images were caused by a .htaccess file here: /catalog/includes/.htaccess I removed the .htaccess file and all images show up properly. The codes of the .htaccess file: # $Id: .htaccess,v 1.4 2001/04/22 20:30:03 dwatkins Exp $ # # This is used with Apache WebServers # The following blocks direct HTTP requests in this directory recursively # # For this to work, you must include the parameter 'Limit' to the AllowOverride configuration # # Example: # #<Directory "/usr/local/apache/htdocs"> # AllowOverride Limit # # 'All' with also work. (This configuration is in your apache/conf/httpd.conf file) # # This does not affect PHP include/require functions # # Example: http://server/catalog/includes/application_top.php will not work <Files *.php> Order Deny,Allow Deny from all </Files> Would anyone tell me that what are the possible risks of leaving out this file and is there any fix to the apache error (see below) without having to disable that .htaccess file? [Tue Jul 15 03:14:43 2003] [alert] [client 219.76.XX.X] /home/xxxx/public_html/catalog/includes/.htaccess: order not allowed here
Guest Posted July 14, 2003 Posted July 14, 2003 thank you very much, belleliu - that did the trick - i wonder why that was such a difficult task for the authors of this script to look into this - because of the lack of support on this issue i've found reason to find and use other commerce software for my future clients; my client with OSC already installed thanks you for caring enough to reply... thanks again, glenn
belleliu Posted July 15, 2003 Posted July 15, 2003 You're welcome, glennn. I think it is due to the fact that not many users (including the author) has access to the web server error logs, it is common for many hosting services to offer access log analysis, but not error logs, say, of Apache. It comes to the issue of having your own server and making sure that you know every settings and have the ability to adjust them. Rather than beg and wait for "system administrators" to trouble-shoot situations like this, I got my own little server to run OsCommerce. It is afterall a very interesting and challenging process to solve problems and help others. Spirit of open source :-)
Guest Posted July 15, 2003 Posted July 15, 2003 spirit of open source indeed. i thank you... and good initiative. well done.
Zuber Posted July 15, 2003 Posted July 15, 2003 Just Installed osCommerce for the first time and getting same problem. Hopefully, this will fix it. In terms of functionality, it looks like some of the most powerful software out there... Zuber
Guest Posted July 15, 2003 Posted July 15, 2003 it's an overall brilliant piece of work; just hope you don't need any support or help...
Zuber Posted July 15, 2003 Posted July 15, 2003 Yes, I do have that concern as well. Hence I intend to continue to subscribe to a more "basic" shopping cart service and maintain it with key products as a backup... Zuber
Recommended Posts
Archived
This topic is now archived and is closed to further replies.