mleaver
11-24-05, 01:47 AM
Thanx everyone for your help, especially Stevel. Got site up and was workng on security and backingup. when I tried to clean files of old scripts before backing up, it went south fast!
I’m almost back on line with an old copy . I was getting this error below before on my OScommerce Web/Admin site.
The requested URL /powweb-bin/php4/DIR_WS_ADMINcategories.php was not found on this server.
and fixed it by adding line 26 define('DIR_WS_ADMIN', '/admin/');
Now I’m just missing the pictures for my listings which are in the root directory
Error: Destination not writeable. Error: Catalog images directory is not writeable: / They seem writable set to 744, now.
When loading up pictures I get this, Success: File upload saved successfully
But I see nothing, Gotta be close. Any help would be greatly appreciated.
I was trying to add a define (DIR_WS_CATALOG’, ‘/’) as Stevel suggested here before the backup which worked, I now get a parse error.
Stevels earlier fix - Your problem was that your admin/includes/configure.php had incorrect values. The xxx_SERVER defines must not have slashes at the end (yours did), and the DIR_WS_ADMIN and DIR_WS_CATALOG defines must start with slashes (yours didn't). Also, your DIR_WS_CATALOG referred to catalog/ whereas you have moved your catalog files to the top level. Therefore, DIR_WS_CATALOG must be '/'.-
This is my admin/includes/config.php now. ( I know there is a slash after .net but I doesn't seem to matter now. )
*/
// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
define('HTTP_SERVER', 'http://southseajewelry.net/'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://southseajewe.secure.powweb.com'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', false); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'southseajewelry.net');
define('HTTPS_COOKIE_DOMAIN', 'southseajewe.secure.powweb.com');
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_ADMIN', '/admin/');
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', '/www/s/southseajewe/htdocs/');
define('DIR_FS_CATALOG_IMAGES', '/www/s/southseajewe/htdocs/admin');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
I’m almost back on line with an old copy . I was getting this error below before on my OScommerce Web/Admin site.
The requested URL /powweb-bin/php4/DIR_WS_ADMINcategories.php was not found on this server.
and fixed it by adding line 26 define('DIR_WS_ADMIN', '/admin/');
Now I’m just missing the pictures for my listings which are in the root directory
Error: Destination not writeable. Error: Catalog images directory is not writeable: / They seem writable set to 744, now.
When loading up pictures I get this, Success: File upload saved successfully
But I see nothing, Gotta be close. Any help would be greatly appreciated.
I was trying to add a define (DIR_WS_CATALOG’, ‘/’) as Stevel suggested here before the backup which worked, I now get a parse error.
Stevels earlier fix - Your problem was that your admin/includes/configure.php had incorrect values. The xxx_SERVER defines must not have slashes at the end (yours did), and the DIR_WS_ADMIN and DIR_WS_CATALOG defines must start with slashes (yours didn't). Also, your DIR_WS_CATALOG referred to catalog/ whereas you have moved your catalog files to the top level. Therefore, DIR_WS_CATALOG must be '/'.-
This is my admin/includes/config.php now. ( I know there is a slash after .net but I doesn't seem to matter now. )
*/
// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
define('HTTP_SERVER', 'http://southseajewelry.net/'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://southseajewe.secure.powweb.com'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', false); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'southseajewelry.net');
define('HTTPS_COOKIE_DOMAIN', 'southseajewe.secure.powweb.com');
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_ADMIN', '/admin/');
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', '/www/s/southseajewe/htdocs/');
define('DIR_FS_CATALOG_IMAGES', '/www/s/southseajewe/htdocs/admin');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');