♥jailaxmi Posted October 15, 2008 Posted October 15, 2008 Hi, Everything was working fine yesterday, but today I haven't been able to access my admin. I can go through the login and then I get a blank page!!! In other words, a window shows up and asks for my login info, but once I enter it it shows a blank page with the admin/index.php URL. Any ideas? Where to look and what to look for? What would cause something like this? 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”)
Jack_mcs Posted October 15, 2008 Posted October 15, 2008 That usually happens when a file that should have been uploaded into the english directory gets uploaded into the root (admin) directory. So you may want to try replacing your admin/index.php file. Or to verify it is that page, once logged in, manually change the url to http://yoursite.com/admin/customers.php. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
♥jailaxmi Posted October 15, 2008 Author Posted October 15, 2008 That usually happens when a file that should have been uploaded into the english directory gets uploaded into the root (admin) directory. So you may want to try replacing your admin/index.php file. Or to verify it is that page, once logged in, manually change the url to http://yoursite.com/admin/customers.php. Jack Thanks for your reply. I replaced the admin/index.php file and no luck. I replaced the whole admin folder from my backup and no luck. I even replaced the admin/index.php file with a brand new file from the default oscommerce package and nothing. I still get a blank page. Still, same thing, no matter what I change the URL to once I log in. Any other suggestions or ideas? :( Thanks, Yol I repeat myself when under stress, I repeat myself when under stress, I repeat myself... --King Crimson (“Discipline”)
germ Posted October 15, 2008 Posted October 15, 2008 In /admin/includes/application_top.php find this line: error_reporting(E_ALL & ~E_NOTICE); Change it to: error_reporting(E_ALL); If you don't see any errors output to the browser, try: error_reporting (E_ALL & ~E_WARNING); If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
♥jailaxmi Posted October 15, 2008 Author Posted October 15, 2008 In /admin/includes/application_top.php find this line: error_reporting(E_ALL & ~E_NOTICE); Change it to: error_reporting(E_ALL); If you don't see any errors output to the browser, try: error_reporting (E_ALL & ~E_WARNING); Thanks. I tried both ways, and nothing, just a blank page. Any other ideas/suggestions? Yol I repeat myself when under stress, I repeat myself when under stress, I repeat myself... --King Crimson (“Discipline”)
germ Posted October 15, 2008 Posted October 15, 2008 Well so much for getting an error message to light the way for us.... <_< In the blank page after you login, <right-click> and "View source". See any clues (like embedded HTML comments) in the source that may help trace where the error is? :unsure: If not, and since you can't get any error messages to the browser, see if you can get into your sites error log file (assuming it has one). If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
♥jailaxmi Posted October 15, 2008 Author Posted October 15, 2008 Well so much for getting an error message to light the way for us.... <_< In the blank page after you login, <right-click> and "View source". See any clues (like embedded HTML comments) in the source that may help trace where the error is? :unsure: If not, and since you can't get any error messages to the browser, see if you can get into your sites error log file (assuming it has one). Ok. The blank page's source is: blank! Nothing at all... weird. The error log I found says this: [Wed Oct 15 03:40:45 2008] [error] mod_ssl: SSL handshake failed: HTTP spoken on HTTPS port; trying to send HTML error page (OpenSSL library error follows) [Wed Oct 15 03:40:45 2008] [error] OpenSSL: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request [Hint: speaking HTTP to HTTPS port!?] [Wed Oct 15 05:22:20 2008] [error] mod_ssl: SSL handshake failed: HTTP spoken on HTTPS port; trying to send HTML error page (OpenSSL library error follows) [Wed Oct 15 05:22:20 2008] [error] OpenSSL: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request [Hint: speaking HTTP to HTTPS port!?] [Wed Oct 15 05:48:56 2008] [error] mod_ssl: SSL handshake failed: HTTP spoken on HTTPS port; trying to send HTML error page (OpenSSL library error follows) [Wed Oct 15 05:48:57 2008] [error] OpenSSL: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request [Hint: speaking HTTP to HTTPS port!?] [Wed Oct 15 07:20:36 2008] [error] mod_ssl: SSL handshake failed (server ayurvedayogashop.com:443, client 67.19.79.218) (OpenSSL library error follows) [Wed Oct 15 07:20:36 2008] [error] OpenSSL: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol [Hint: speaking not SSL to HTTPS port!?] [Wed Oct 15 02:04:14 2008] [error] mod_ssl: SSL handshake failed: HTTP spoken on HTTPS port; trying to send HTML error page (OpenSSL library error follows) [Wed Oct 15 02:04:14 2008] [error] OpenSSL: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request [Hint: speaking HTTP to HTTPS port!?] [Wed Oct 15 02:04:21 2008] [error] mod_ssl: SSL handshake failed: HTTP spoken on HTTPS port; trying to send HTML error page (OpenSSL library error follows) [Wed Oct 15 02:04:21 2008] [error] OpenSSL: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request [Hint: speaking HTTP to HTTPS port!?] Does that help you discover the problem? Thanks! Yol (clueless) I repeat myself when under stress, I repeat myself when under stress, I repeat myself... --King Crimson (“Discipline”)
germ Posted October 15, 2008 Posted October 15, 2008 Since none of those have anything to do with osC (at least when taken at face value), I'd open a support ticket with your host and give them the same errors you just posted. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Guest Posted October 15, 2008 Posted October 15, 2008 Post up the details of your admin/includes/configure.php file (remove/mask your database login/password info though!!).
♥jailaxmi Posted October 15, 2008 Author Posted October 15, 2008 Post up the details of your admin/includes/configure.php file (remove/mask your database login/password info though!!). <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 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', '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', '/hsphere/local/home/user/ayurvedayogashop.com/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/admin/'); // absolute path required define('DIR_FS_ADMIN', '/hsphere/local/home/user/ayurvedayogashop.com/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/'); // absolute path required define('DIR_FS_CATALOG', '/hsphere/local/home/user/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/'); // define our database connection define('DB_SERVER', 'mylocalhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'myusername'); define('DB_SERVER_PASSWORD', 'mypassword'); define('DB_DATABASE', 'mydatabase'); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> Thanks, Yol I repeat myself when under stress, I repeat myself when under stress, I repeat myself... --King Crimson (“Discipline”)
germ Posted October 15, 2008 Posted October 15, 2008 Since all the errors seem to be SSL related, make a backup of the config file then change all the https to http and see if it will let you in. Personally I think something's going on with the server and not your osC code. <_< If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
♥jailaxmi Posted October 16, 2008 Author Posted October 16, 2008 Since all the errors seem to be SSL related, make a backup of the config file then change all the https to http and see if it will let you in. Personally I think something's going on with the server and not your osC code. <_< Thanks, Jim. I tried that... no luck. I'll contact my host and see what happens... :( Yol I repeat myself when under stress, I repeat myself when under stress, I repeat myself... --King Crimson (“Discipline”)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.