♥jailaxmi Posted January 26, 2009 Share Posted January 26, 2009 Hello, I had to switch hosts, so I transferred all my files and database backup, and also changed the includes/configure.php and admin/includes/configure.php files, like I've done before when changing hosts. Now, the home page shows like everything is fine, but if I click on any item it says that the product is not available; if I click on any category, it just reloads and takes me back to the home page, and if I try to go to my account (like a customer would), then it doesn't do anything. On the admin side, everything looks like this: Notice: Undefined variable: DOCUMENT_ROOT in /home/myusername/ayurvedayogashop.com/admin/includes/local/configure.php on line 3 Notice: Undefined variable: DOCUMENT_ROOT in /home/myusername/ayurvedayogashop.com/admin/includes/local/configure.php on line 4 Notice: Constant HTTP_SERVER already defined in /home/myusername/ayurvedayogashop.com/admin/includes/local/configure.php on line 14 Notice: Constant HTTP_SERVER already defined in /home/myusername/ayurvedayogashop.com/admin/includes/configure.php on line 14 Notice: Constant ENABLE_SSL already defined in /home/myusername/ayurvedayogashop.com/admin/includes/configure.php on line 15 Notice: Constant HTTP_CATALOG_SERVER already defined in /home/myusername/ayurvedayogashop.com/admin/includes/configure.php on line 16 Notice: Constant DIR_FS_DOCUMENT_ROOT already defined in /home/myusername/ayurvedayogashop.com/admin/includes/configure.php on line 19 Notice: Constant DIR_WS_ADMIN already defined in /home/myusername/ayurvedayogashop.com/admin/includes/configure.php on line 20 Notice: Constant DIR_FS_ADMIN already defined in /home/myusername/ayurvedayogashop.com/admin/includes/configure.php on line 21 Notice: Use of undefined constant REPORTS_PRODUCTS - assumed 'REPORTS_PRODUCTS' in /home/myusername/ayurvedayogashop.com/admin/index.php on line 49 Notice: Use of undefined constant REPORTS_ORDERS - assumed 'REPORTS_ORDERS' in /home/myusername/ayurvedayogashop.com/admin/index.php on line 50 Notice: Use of undefined constant TOOLS_BACKUP - assumed 'TOOLS_BACKUP' in /home/myusername/ayurvedayogashop.com/admin/index.php on line 54 These are just a few examples. The whole admin page looks like that. What did I miss here? Any help would be greatly appreciated! Yol I repeat myself when under stress, I repeat myself when under stress, I repeat myself... --King Crimson (“Discipline”) Link to comment Share on other sites More sharing options...
Guest Posted January 26, 2009 Share Posted January 26, 2009 Methinks that you have to use the absolute path instead of the DOCUMENT_ROOT Link to comment Share on other sites More sharing options...
♥jailaxmi Posted January 26, 2009 Author Share Posted January 26, 2009 Methinks that you have to use the absolute path instead of the DOCUMENT_ROOT Thanks. This is what my admin/configure.php file looks like (I am omitting the db part): // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'https://ayurvedayogashop.com'); // eg, http://localhost - should not be empty for productive servers define('ENABLE_SSL', 'true'); // enable SSL for customers/orders viewing define('HTTP_CATALOG_SERVER', 'http://ayurvedayogashop.com'); define('HTTPS_CATALOG_SERVER', 'https://ayurvedayogashop.com'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/myusername/ayurvedayogashop.com/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/home/myusername/ayurvedayogashop.com/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/myusername/ayurvedayogashop.com/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/home/myusername/ayurvedayogashop.com/'); // absolute path required define('DIR_FS_CATALOG', '/home/myusername/ayurvedayogashop.com/'); // 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/'); The admin/includes/local/configure.php looks the same. What did I miss? Yol I repeat myself when under stress, I repeat myself when under stress, I repeat myself... --King Crimson (“Discipline”) Link to comment Share on other sites More sharing options...
Guest Posted January 26, 2009 Share Posted January 26, 2009 Just curious as to why all of your product links have .html at the end. Is that some sort of contribution that you've installed? Also, your SSL does not appear to be installed (or installed properly). Are you using a dedicated SSL or a shared one? Link to comment Share on other sites More sharing options...
♥jailaxmi Posted January 26, 2009 Author Share Posted January 26, 2009 Just curious as to why all of your product links have .html at the end. Is that some sort of contribution that you've installed? Also, your SSL does not appear to be installed (or installed properly). Are you using a dedicated SSL or a shared one? The .html is from Ultimate SEO URLs contribution. Yes, I just removed the ssl because it was not working properly either. I cannot fix the store, so I think I am just going to switch back to my old server until I find another one where the store works like it used to. I repeat myself when under stress, I repeat myself when under stress, I repeat myself... --King Crimson (“Discipline”) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.