PDA

View Full Version : admin updating order problem



neil
03-02-2006, 06:57 PM
Orders work fine.
I have a shared ssl server:
https://domainname.net/~siteid/
Site admin & customer are notified with the correct url when an order is made.

However if admin updates an order eg. from pending to shipped the advisory email has an extra ~siteid in it eg.
https://domainname.net/~siteid/~siteid/

:?:

michael_s
03-03-2006, 07:42 AM
Check your admin/includes/configure.php file. That is where the problem lies. It may not be obvious, but look closely and you should be able to find the extra /~siteid

neil
03-04-2006, 10:09 PM
Thanks Michael,

line 21 I had:


define('DIR_WS_CATALOG', '/~siteid/'); // absolute path required

Removing /~siteid fixed that issue however when I upload product images the image does not display in admin screen. The path shows
https://domainname.net/images/ ie. no ~siteid
However the image is uploaded to the correct location and displays in catalog :?:

michael_s
03-05-2006, 12:13 PM
Add this to the end of your https url: /~siteid a few lines up in the configure.php. See, you still need to have it in there somewhere, just not in the DIR_WS_CATALOG...

neil
03-05-2006, 01:38 PM
Thanks again Michael,
This is what I have:
Can you see where the ~siteid goes :?:

define('HTTP_SERVER', 'https://domainname.net/~siteid'); // eg, http://localhost - should not be empty for productive servers
define('HTTP_CATALOG_SERVER', 'http://www.adomain.com');
define('HTTPS_CATALOG_SERVER', 'https://domainname.net/~siteid');
define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
define('DIR_FS_DOCUMENT_ROOT', '/home/siteid/public_html/'); // where the pages are located on the server
define('DIR_WS_ADMIN', '/admin/'); // absolute path required
define('DIR_FS_ADMIN', '/home/siteid/public_html/admin/'); // absolute pate required
define('DIR_WS_CATALOG', '/'); // absolute path required // March0406 was /~siteid/
define('DIR_FS_CATALOG', '/home/siteid/public_html/'); // 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/');