In admin I'm trying to create some shipping options and I notice none available - the path is obviously the problem with;
catalogincludes/modules/shipping/
being reported. I have done a wide area search through all files and can't find anywhere that I can fix this. Could anyone suggest?
Latest News: (loading..)
Path problem
Started by WingZ, Jan 31 2003, 06:42
13 replies to this topic
#1
Posted 31 January 2003, 06:42
#2
Posted 31 January 2003, 07:01
Check your admin/includes/configure.php. Appears that you are missing a / after catalog on this line: define('DIR_WS_CATALOG', '/catalog/');
Kim
~~~~~~~~~~~~~
~~~~~~~~~~~~~
#3
Posted 31 January 2003, 07:06
Hi Kim. Nope. That's covered here (I think);
define('DIR_WS_CATALOG', '/catalog/'); // absolute path required
define('DIR_FS_CATALOG', '/home/virtual/site46/fst/var/www/html/catalog'); // absolute path required
It's got me stumped.
define('DIR_WS_CATALOG', '/catalog/'); // absolute path required
define('DIR_FS_CATALOG', '/home/virtual/site46/fst/var/www/html/catalog'); // absolute path required
It's got me stumped.
#4
Posted 31 January 2003, 07:10
It also only appears to be the two modules - payment and shipping. I've set up two other carts without problems for myself plus helping out a couple of folks here; but this one has me tossed.
#5
Posted 31 January 2003, 07:30
Richard,
Just to satisfy my curiousity....How 'bout posting your admin/includes/configure.php? Let's take a look...
Just to satisfy my curiousity....How 'bout posting your admin/includes/configure.php? Let's take a look...
Kim
~~~~~~~~~~~~~
~~~~~~~~~~~~~
#6
Posted 31 January 2003, 07:36
Kim, here ya go;
<?php
/*
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright © 2002 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.thesite.com'); // eg, http://localhost - should not be NULL for productive servers
define('HTTPS_SERVER', 'https://www.thesite.com'); // eg, https://localhost - should not be NULL for productive servers
define('HTTP_CATALOG_SERVER', 'http://www.thesite.com');
define('HTTPS_CATALOG_SERVER', 'https://www.thesite.com');
define('ENABLE_SSL', true); // secure webserver for administration tool
define('ENABLE_SSL_CATALOG', true); // secure webserver for catalog module
define('DIR_FS_DOCUMENT_ROOT', '/home/virtual/site46/fst/var/www/html'); // where the pages are located on the server
define('DIR_WS_ADMIN', '/catalog/wingzadmin/'); // absolute path required
define('DIR_FS_ADMIN', '/home/virtual/site46/fst/var/www/html/catalog/wingzadmin'); // absolute pate required
define('DIR_WS_CATALOG', '/catalog/'); // absolute path required
define('DIR_FS_CATALOG', '/home/virtual/site46/fst/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_PAYMENT_MODULES', DIR_FS_CATALOG . 'includes/modules/payment/');
define('DIR_FS_SHIPPING_MODULES', DIR_FS_CATALOG . 'includes/modules/shipping/');
define('DIR_FS_CACHE', '/tmp/');
define('DIR_FS_BACKUP', DIR_FS_ADMIN . '/backups/');
// define our database connection
define('DB_SERVER', 'localhost'); // eg, localhost - should not be NULL for productive servers
define('DB_SERVER_USERNAME', 'thesite');
define('DB_SERVER_PASSWORD', 'password');
define('DB_DATABASE', 'thesite_com');
define('USE_PCONNECT', false); // use persisstent connections?
define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'
?>
<?php
/*
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright © 2002 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.thesite.com'); // eg, http://localhost - should not be NULL for productive servers
define('HTTPS_SERVER', 'https://www.thesite.com'); // eg, https://localhost - should not be NULL for productive servers
define('HTTP_CATALOG_SERVER', 'http://www.thesite.com');
define('HTTPS_CATALOG_SERVER', 'https://www.thesite.com');
define('ENABLE_SSL', true); // secure webserver for administration tool
define('ENABLE_SSL_CATALOG', true); // secure webserver for catalog module
define('DIR_FS_DOCUMENT_ROOT', '/home/virtual/site46/fst/var/www/html'); // where the pages are located on the server
define('DIR_WS_ADMIN', '/catalog/wingzadmin/'); // absolute path required
define('DIR_FS_ADMIN', '/home/virtual/site46/fst/var/www/html/catalog/wingzadmin'); // absolute pate required
define('DIR_WS_CATALOG', '/catalog/'); // absolute path required
define('DIR_FS_CATALOG', '/home/virtual/site46/fst/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_PAYMENT_MODULES', DIR_FS_CATALOG . 'includes/modules/payment/');
define('DIR_FS_SHIPPING_MODULES', DIR_FS_CATALOG . 'includes/modules/shipping/');
define('DIR_FS_CACHE', '/tmp/');
define('DIR_FS_BACKUP', DIR_FS_ADMIN . '/backups/');
// define our database connection
define('DB_SERVER', 'localhost'); // eg, localhost - should not be NULL for productive servers
define('DB_SERVER_USERNAME', 'thesite');
define('DB_SERVER_PASSWORD', 'password');
define('DB_DATABASE', 'thesite_com');
define('USE_PCONNECT', false); // use persisstent connections?
define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'
?>
#7
Posted 31 January 2003, 07:52
define('DIR_FS_ADMIN', '/home/virtual/site46/fst/var/www/html/catalog/wingzadmin'); // absolute pate required
Try adding a trailing slash to the above.
Kim
~~~~~~~~~~~~~
~~~~~~~~~~~~~
#8
Posted 31 January 2003, 08:05
Kim, couldn't see how that would make a difference; but tried it anyway ;-) .. nope. And I lied about just modules; it's most of the admin functions. I guess I need more coffe ;-( .. thanks for the added brainpowe though Kim!
#9
Posted 31 January 2003, 08:09
LOLOL...I think maybe we both need more coffee....Let's look at the CATALOG configure.php...
Kim
~~~~~~~~~~~~~
~~~~~~~~~~~~~
#10
Posted 31 January 2003, 08:16
Masochist ;-) ...
<?php
/*
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright © 2002 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.thesite.com'); // eg, http://localhost - should not be NULL for productive servers
define('HTTPS_SERVER', 'https://www.thesite.com'); // eg, https://localhost - should not be NULL for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('DIR_WS_CATALOG', '/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_PAYMENT_MODULES', DIR_WS_MODULES . 'payment/');
define('DIR_WS_SHIPPING_MODULES', DIR_WS_MODULES . 'shipping/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
define('DIR_FS_DOCUMENT_ROOT', '/home/virtual/site46/fst/var/www/html');
define('DIR_FS_CATALOG', '/home/virtual/site46/fst/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', 'localhost'); // eg, localhost - should not be NULL for productive servers
define('DB_SERVER_USERNAME', 'thesite');
define('DB_SERVER_PASSWORD', 'password');
define('DB_DATABASE', 'thesite_com');
define('USE_PCONNECT', false); // use persistent connections?
define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'
?>
<?php
/*
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright © 2002 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.thesite.com'); // eg, http://localhost - should not be NULL for productive servers
define('HTTPS_SERVER', 'https://www.thesite.com'); // eg, https://localhost - should not be NULL for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('DIR_WS_CATALOG', '/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_PAYMENT_MODULES', DIR_WS_MODULES . 'payment/');
define('DIR_WS_SHIPPING_MODULES', DIR_WS_MODULES . 'shipping/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
define('DIR_FS_DOCUMENT_ROOT', '/home/virtual/site46/fst/var/www/html');
define('DIR_FS_CATALOG', '/home/virtual/site46/fst/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', 'localhost'); // eg, localhost - should not be NULL for productive servers
define('DB_SERVER_USERNAME', 'thesite');
define('DB_SERVER_PASSWORD', 'password');
define('DB_DATABASE', 'thesite_com');
define('USE_PCONNECT', false); // use persistent connections?
define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'
?>
#11
Posted 31 January 2003, 08:28
define('DIR_FS_DOCUMENT_ROOT', '/home/virtual/site46/fst/var/www/html');
define('DIR_FS_CATALOG', '/home/virtual/site46/fst/var/www/html/catalog');
Well...The way mine is set up...I have trailing slashes after both of the above lines. That the only difference I can find with both the admin and catalog configs....
Kim
~~~~~~~~~~~~~
~~~~~~~~~~~~~
#12
Posted 31 January 2003, 08:33
The problem is definitely between catalog and includes, where it combines the path; catalogincludes rather than deparate them with "/" but I just can't find it. Like I said appreciate your time Kim. Might be time to sleep on it. Again ;-).
#13
Posted 31 January 2003, 09:57
Code:
[quote]define('DIR_FS_CATALOG', '/home/virtual/site46/fst/var/www/html/catalog'); [/quote]
Put a trailing slash after the above line only.
Best of luck this time.. :wink:
kagg[/quote]
[quote]define('DIR_FS_CATALOG', '/home/virtual/site46/fst/var/www/html/catalog'); [/quote]
Put a trailing slash after the above line only.
Best of luck this time.. :wink:
kagg[/quote]
#14
Posted 31 January 2003, 10:12
Also I think you need the trailing slashes after the following lines in admin/includes/configure.php
kagg
Quote
define('DIR_FS_ADMIN', '/home/virtual/site46/fst/var/www/html/catalog/wingzadmin'); // absolute pate required
define('DIR_FS_CATALOG', '/home/virtual/site46/fst/var/www/html/catalog'); // absolute path required
define('DIR_FS_CATALOG', '/home/virtual/site46/fst/var/www/html/catalog'); // absolute path required
kagg














