newtech Posted November 6, 2010 Posted November 6, 2010 When a customer places an order, they receive an invoice via email. However, if they look in their account there is no evidence of the order. Also, the store admin never receives an email notification of the order and there is no evidence of the order in the admin control panel.
newtech Posted November 6, 2010 Author Posted November 6, 2010 When a customer places an order, they receive an invoice via email. However, if they look in their account there is no evidence of the order. Also, the store admin never receives an email notification of the order and there is no evidence of the order in the admin control panel. I looked in the database and the order does show up in the orders table and in the order status history table but neither show up in the admin control panel and the admin does not receive an email in regards to the order.
newtech Posted November 6, 2010 Author Posted November 6, 2010 OK. Receiving admin email now,but still cannot see orders in admin control panel and customer history.
♥altoid Posted November 7, 2010 Posted November 7, 2010 OK. Receiving admin email now,but still cannot see orders in admin control panel and customer history. Rich, I don't know if this applies, but I had something very similar occur when I relocated my shop's root. After the shop was relocated I had to adjust the root path in configure.php. Once that was done everything showed up correctly. I am not a professional webmaster or PHP coder by background or training but I will try to help as best I can. I remember what it was like when I first started with osC. It can be overwhelming. However, I strongly recommend considering hiring a professional for extensive site modifications, site cleaning, etc. There are several good pros here on osCommerce. Look around, you'll figure out who they are.
newtech Posted November 7, 2010 Author Posted November 7, 2010 Rich, I don't know if this applies, but I had something very similar occur when I relocated my shop's root. After the shop was relocated I had to adjust the root path in configure.php. Once that was done everything showed up correctly. I also relocated the store on a different server with a different root. However, as far as I can tell all the paths are correct. Everything else is working fine, other than the described symptom. When I click on Orders, here is the pth it takes me to, which is correct: http://www.mydomain.com/store/admin/orders.php In case I am missing something, here is my configure.php: // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.mydomain.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.mydomain.com'); define('HTTPS_CATALOG_SERVER', 'https://www.mydomain.com'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); define('DIR_WS_ADMIN', '/store/admin/'); // absolute path required define('DIR_FS_ADMIN', '/var/www/public_html/ntwow/html/store/admin/'); // absolute pate required define('DIR_WS_HTTPS_ADMIN', '/store/admin/'); define('DIR_WS_CATALOG', '/store/'); // absolute path required define('DIR_FS_CATALOG', '/var/www/public_html/ntwow/html/store/'); // 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('DIR_FS_CACHE_XSELL', '../cache/');
♥altoid Posted November 7, 2010 Posted November 7, 2010 I also relocated the store on a different server with a different root. However, as far as I can tell all the paths are correct. Everything else is working fine, other than the described symptom. When I click on Orders, here is the pth it takes me to, which is correct: http://www.mydomain.com/store/admin/orders.php In case I am missing something, here is my configure.php: // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.mydomain.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.mydomain.com'); define('HTTPS_CATALOG_SERVER', 'https://www.mydomain.com'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); define('DIR_WS_ADMIN', '/store/admin/'); // absolute path required define('DIR_FS_ADMIN', '/var/www/public_html/ntwow/html/store/admin/'); // absolute pate required define('DIR_WS_HTTPS_ADMIN', '/store/admin/'); define('DIR_WS_CATALOG', '/store/'); // absolute path required define('DIR_FS_CATALOG', '/var/www/public_html/ntwow/html/store/'); // 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('DIR_FS_CACHE_XSELL', '../cache/'); This file differs in various ways (beyond the server specific settings) from my admin configure.php file, so I will have to defer to those more experienced in this than I. However, I do wonder though, why in your case there are no database defines like I have. In my case those are necessary so the site can find and access my database. I am not a professional webmaster or PHP coder by background or training but I will try to help as best I can. I remember what it was like when I first started with osC. It can be overwhelming. However, I strongly recommend considering hiring a professional for extensive site modifications, site cleaning, etc. There are several good pros here on osCommerce. Look around, you'll figure out who they are.
newtech Posted November 8, 2010 Author Posted November 8, 2010 However, I do wonder though, why in your case there are no database defines like I have. In my case those are necessary so the site can find and access my database. I just did not put them up because it is private information.
♥altoid Posted November 8, 2010 Posted November 8, 2010 I just did not put them up because it is private information. That makes sense. Regarding the parts of the configure file that don't jive with mine, I am going to venture a guess the difference may be related to a version of osCommerce with some after the installation modificaitons? Anyway, back to the issue, since your situation sounded so similar to what I had, that is why I thought the file path to the admin side might be the factor. I'd say just make sure the file patch to the administrative side of your shop is correct; the hosts I use show you the root file path to the shops in CPanel. Wish I could be more definitive on your issue there. Good luck on that though. I am not a professional webmaster or PHP coder by background or training but I will try to help as best I can. I remember what it was like when I first started with osC. It can be overwhelming. However, I strongly recommend considering hiring a professional for extensive site modifications, site cleaning, etc. There are several good pros here on osCommerce. Look around, you'll figure out who they are.
newtech Posted November 8, 2010 Author Posted November 8, 2010 Anybody see any problems with my configurations in admin/configure.php? Any other suggestions? I have a hard time believing it can be the config file because all the other functions work properly.
BryceJr Posted November 10, 2010 Posted November 10, 2010 Anybody see any problems with my configurations in admin/configure.php? Any other suggestions? I have a hard time believing it can be the config file because all the other functions work properly. Give >>this a shot.
newtech Posted November 10, 2010 Author Posted November 10, 2010 Give >>this a shot. This worked, fantastic!
C_Morgan Posted November 8, 2012 Posted November 8, 2012 Give >>this a shot. Thank you for this. This is great.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.