Guest Posted December 11, 2009 Posted December 11, 2009 I've just moved my site to a new host.. The site works fine except my admin will not come up.. Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. -------------------------------------------------------------------------------- Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8i DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.carstickersdecals.com Port 80 Here is my admin Configure.php define('HTTP_SERVER', 'http://www.carstickersdecals.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.carstickersdecals.com'); define('HTTPS_CATALOG_SERVER', 'https://www.carstickersdecals.com'); define('ENABLE_SSL_CATALOG', false); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/geniejay/public_html/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/geniejay/public_html/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/'); // absolute path required define('DIR_FS_CATALOG', '/home/geniejay/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/'); 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/'); Please take a look and let me know if you see anything wrong... Thanks for all your help...
♥mdtaylorlrim Posted December 11, 2009 Posted December 11, 2009 At first glance, shouldn't this line... define('DIR_WS_ADMIN', '/admin/'); // absolute path required read... define('DIR_WS_ADMIN', '/home/geniejay/public_html/admin/'); // absolute path required Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...?
germ Posted December 11, 2009 Posted December 11, 2009 At first glance, shouldn't this line... define('DIR_WS_ADMIN', '/admin/'); // absolute path required read... define('DIR_WS_ADMIN', '/home/geniejay/public_html/admin/'); // absolute path required No. That's DIR_FS_ADMIN. The error post could be related to .htaccess 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 >
♥joli1811 Posted December 11, 2009 Posted December 11, 2009 I've just moved my site to a new host.. The site works fine except my admin will not come up.. Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Hi, maybe a sub/add on domain try this. define('HTTP_SERVER', 'http://www.carstickersdecals.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.carstickersdecals.com'); define('HTTPS_CATALOG_SERVER', 'https://www.carstickersdecals.com'); define('ENABLE_SSL_CATALOG', false); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/geniejay/public_html/carstickersdecals.com/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/geniejay/public_html/carstickersdecals.com/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/'); // absolute path required define('DIR_FS_CATALOG', '/home/geniejay/public_html/carstickersdecals.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/'); -------------------------------------------------------------------------------- Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8i DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.carstickersdecals.com Port 80 Here is my admin Configure.php define('HTTP_SERVER', 'http://www.carstickersdecals.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.carstickersdecals.com'); define('HTTPS_CATALOG_SERVER', 'https://www.carstickersdecals.com'); define('ENABLE_SSL_CATALOG', false); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/geniejay/public_html/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/geniejay/public_html/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/'); // absolute path required define('DIR_FS_CATALOG', '/home/geniejay/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/'); 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/'); Please take a look and let me know if you see anything wrong... Thanks for all your help... To improve is to change; to be perfect is to change often.
♥mdtaylorlrim Posted December 11, 2009 Posted December 11, 2009 No. That's DIR_FS_ADMIN. The error post could be related to .htaccess Oops...you're right. My bad. Any chance your host has an alias defined for 'admin'? That's not really a good name for your admin directory anyway. You might change the name of the directory to something else and related paths in your configure.php file and see if you get the same error. Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...?
Guest Posted December 11, 2009 Posted December 11, 2009 Oops...you're right. My bad. Any chance your host has an alias defined for 'admin'? That's not really a good name for your admin directory anyway. You might change the name of the directory to something else and related paths in your configure.php file and see if you get the same error. I changed the directory name and associated paths in configure.php " Same Problem "
♥mdtaylorlrim Posted December 11, 2009 Posted December 11, 2009 I changed the directory name and associated paths in configure.php " Same Problem " Ok then, more detailed information can usually be found in the server error logs, if you can get to them. If your hosts uses cPanel then there are logs available. If you host your own look in your filespace for the httpd error log file, or php error log file. You may end up calling your hosts support personnel once you become frustrated. I hope you find the problem well before then. Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...?
Guest Posted December 11, 2009 Posted December 11, 2009 Here is what I am getting in the error logs.. [Thu Dec 10 21:08:13 2009] [error] [client 67.210.201.50] File does not exist: /home/geniejay/public_html/500.shtml Has to be something with the path..
♥mdtaylorlrim Posted December 11, 2009 Posted December 11, 2009 Here is what I am getting in the error logs.. [Thu Dec 10 21:08:13 2009] [error] [client 67.210.201.50] File does not exist: /home/geniejay/public_html/500.shtml Has to be something with the path.. That is the 404 error code. You are looking for another error message besides that. Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...?
germ Posted December 11, 2009 Posted December 11, 2009 Look at the posts in this thread by steve_s about how to get the site to make an error log. You're just shooting in the dark until you can get some error report to show where you need to look. :blush: 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 >
germ Posted December 11, 2009 Posted December 11, 2009 Of course, the method in my last post will succeed only if the problem is PHP related. It probably won't work if it's .htaccess related. To see if it is related to the .htaccess file in your admin just rename the .htaccess in the admin to text.htaccess If the error disappears you have your answer. And since you'vre renamed the admin folder it won't hurt to have it "unprotected" for just a few minutes. No one can guess it in that span of time. 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 December 11, 2009 Posted December 11, 2009 Of course, the method in my last post will succeed only if the problem is PHP related. It probably won't work if it's .htaccess related. To see if it is related to the .htaccess file in your admin just rename the .htaccess in the admin to text.htaccess If the error disappears you have your answer. And since you'vre renamed the admin folder it won't hurt to have it "unprotected" for just a few minutes. No one can guess it in that span of time. Problem was .htaccess related.. Fixed... Thanks for everyones input... All is funtional... The only thing I am getting now is when I log into admin is its showing these 2 errors... Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/geniejay/public_html/apple/includes/application_top.php:2) in /home/geniejay/public_html/apple/includes/functions/sessions.php on line 67 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/geniejay/public_html/apple/includes/application_top.php:2) in /home/geniejay/public_html/apple/includes/functions/sessions.php on line 67 Not sure why....
germ Posted December 11, 2009 Posted December 11, 2009 Problem was .htaccess related.. Fixed... Thanks for everyones input... All is funtional... The only thing I am getting now is when I log into admin is its showing these 2 errors... Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/geniejay/public_html/apple/includes/application_top.php:2) in /home/geniejay/public_html/apple/includes/functions/sessions.php on line 67 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/geniejay/public_html/apple/includes/application_top.php:2) in /home/geniejay/public_html/apple/includes/functions/sessions.php on line 67 Not sure why.... You have some blank lines or "whitespaces" at the top of the application_top.php The opening PHP tag: <? MUST be at the very top of the file, no blank lines or spaces are permitted to precede it. 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 December 11, 2009 Posted December 11, 2009 You have some blank lines or "whitespaces" at the top of the application_top.php The opening PHP tag: <? MUST be at the very top of the file, no blank lines or spaces are permitted to precede it. Thank you.... Fixed...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.