♥akmac Posted January 15, 2005 Posted January 15, 2005 Hello All, I just tried to enter my admin-I can get to the main admin page-but every other page below the admin directory generates a: 404 Not Found The requested URL /admin/customers.php(and others) was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. I can see the pages on my server, and the only changes I've made recently were to add automatic_thumbnail_for_osc. Anybobdy have this problem before? Quidquid latine dictum sit, profundum viditur.
Guest Posted January 15, 2005 Posted January 15, 2005 Hello All, I just tried to enter my admin-I can get to the main admin page-but every other page below the admin directory generates a: 404 Not Found The requested URL /admin/customers.php(and others) was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. I can see the pages on my server, and the only changes I've made recently were to add automatic_thumbnail_for_osc. Anybobdy have this problem before? <{POST_SNAPBACK}> What does your configure.php look like? Exclude passwords and usernames and the like if you post code here.
♥akmac Posted January 15, 2005 Author Posted January 15, 2005 Sorry, you beat me to the edit button... I also sent an email to my host to enable ssl a few days ago but haven't heard back from them... My hunch is that that has something to do with it as it affects everything in the directory... Is this a known issue with a fix? Quidquid latine dictum sit, profundum viditur.
Guest Posted January 15, 2005 Posted January 15, 2005 99% sure it is your admin/includes/configure.php file... Bobby
♥akmac Posted January 15, 2005 Author Posted January 15, 2005 Wow, went to post my configure.php and saw that all my entries were gone.... // define our database connection define('DB_SERVER', 'mysql'); define('DB_SERVER_USERNAME', ''); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', ''); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', ''); Who or what could do that? By the way-thanks for pointing me in the right direction! Quidquid latine dictum sit, profundum viditur.
Guest Posted January 16, 2005 Posted January 16, 2005 do you have a backup of your configure.php file somewhere? this is not a complete configure.php file.
♥akmac Posted January 16, 2005 Author Posted January 16, 2005 Sorry, just posted the portion I noticed was blank-here's the whole configure.php --------------------------------------------------------------- <?php /* $Id: configure.php,v 1.14 2003/02/21 16:55:24 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ // define our webserver variables // FS = Filesystem (physical) // WS = Webserver (virtual) define('HTTP_SERVER', ''); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', ''); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); define('DIR_WS_CATALOG', '/catalog/'); define('DIR_FS_CATALOG_IMAGECACHE', DIR_FS_CATALOG . 'images/imagecache/'); define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); 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 your database connection define('DB_SERVER', 'mysql'); define('DB_SERVER_USERNAME', ''); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', ''); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', ''); ?> Quidquid latine dictum sit, profundum viditur.
Guest Posted January 16, 2005 Posted January 16, 2005 these are blank also: they need your http:// in there define('HTTP_SERVER', ''); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', ''); define('HTTPS_CATALOG_SERVER', ''); if your catalog side works, copy the database connection info from the catalog/includes/configure.php to the admin one
♥akmac Posted January 16, 2005 Author Posted January 16, 2005 Okay, now it reads: ------------------------------------------------------------------- <?php /* $Id: configure.php,v 1.14 2003/02/21 16:55:24 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright ? 2002 osCommerce Released under the GNU General Public License */ // define our webserver variables // FS = Filesystem (physical) // WS = Webserver (virtual) define('HTTP_SERVER', 'http://www.*********.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'http://www.********.com'); define('HTTPS_CATALOG_SERVER', 'https://www.********.com'); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); define('DIR_WS_CATALOG', '/catalog/'); define('DIR_FS_CATALOG_IMAGECACHE', DIR_FS_CATALOG . 'images/imagecache/'); define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); 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 your database connection define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', '*********'); define('DB_SERVER_PASSWORD', '*******'); define('DB_DATABASE', '******'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', ''); ?> ------------------------------------------------------- And I'm still getting the 404 errors for anything under the admin directory. More than fixing the problem (which is also a primary concern) how could this happen in the first place? Assuming my personal station is secure-how could someone access and edit this file? Quidquid latine dictum sit, profundum viditur.
Guest Posted January 16, 2005 Posted January 16, 2005 Okay, now it reads: ------------------------------------------------------------------- <?php /* $Id: configure.php,v 1.14 2003/02/21 16:55:24 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright ? 2002 osCommerce Released under the GNU General Public License */ // define our webserver variables // FS = Filesystem (physical) // WS = Webserver (virtual) define('HTTP_SERVER', 'http://www.*********.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'http://www.********.com'); define('HTTPS_CATALOG_SERVER', 'https://www.********.com'); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); define('DIR_WS_CATALOG', '/catalog/'); define('DIR_FS_CATALOG_IMAGECACHE', DIR_FS_CATALOG . 'images/imagecache/'); define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); 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 your database connection define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', '*********'); define('DB_SERVER_PASSWORD', '*******'); define('DB_DATABASE', '******'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', ''); ?> ------------------------------------------------------- And I'm still getting the 404 errors for anything under the admin directory. More than fixing the problem (which is also a primary concern) how could this happen in the first place? Assuming my personal station is secure-how could someone access and edit this file? <{POST_SNAPBACK}> Tell us the URL and we can poke around and let you know if we see anything. If you've got a hacker on your tail, you need to figure it out ASAP and plug whatever holes exist. If you don't want to post it, PM whoever you choose to trust. Another possibility is that your host restored the file for some reason and used a very old file (may be a remote possibility).
♥akmac Posted January 16, 2005 Author Posted January 16, 2005 Tell us the URL and we can poke around and let you know if we see anything.? If you've got a hacker on your tail, you need to figure it out ASAP and plug whatever holes exist.? If you don't want to post it, PM whoever you choose to trust.? Another possibility is that your host restored the file for some reason and used a very old file (may be a remote possibility). <{POST_SNAPBACK}> I Suppose it's possible that they restored it.... I'm hosted with ipower. Do you see any problem with the current settings that would cause the 404's? Quidquid latine dictum sit, profundum viditur.
Guest Posted January 16, 2005 Posted January 16, 2005 this: define('DIR_WS_ADMIN', '/admin/'); is most likely this: define('DIR_WS_ADMIN', '/catalog/admin/'); hiding your domain from us here in the forum, who are trying to help you, in my opinion is stupid. it is public as it is, and for us to help you, by seeing the domain we can go see what is happening lots easier than sometimes of you explaiining
Guest Posted January 16, 2005 Posted January 16, 2005 I Suppose it's possible that they restored it.... I'm hosted with ipower. Do you see any problem with the current settings that would cause the 404's? <{POST_SNAPBACK}> Did you install using their Control Panel? Did you select SSL? If yes to both, it should have automatically configured your file with the correct path for the shared certificate.
♥akmac Posted January 16, 2005 Author Posted January 16, 2005 this: define('DIR_WS_ADMIN', '/admin/'); is most likely this: define('DIR_WS_ADMIN', '/catalog/admin/'); hiding your domain from us here in the forum, who are trying to help you, in my opinion is stupid. it is public as it is, and for us to help you, by seeing the domain we can go see what is happening lots easier than sometimes of you explaiining <{POST_SNAPBACK}> Then I guess it's okay to post urls..... www.alaskajewelry.com/catalog/admin Thanks mibble Quidquid latine dictum sit, profundum viditur.
♥akmac Posted January 16, 2005 Author Posted January 16, 2005 baddog, I did a manual install with https enabled-though I didn't yet have ssl installed (wanted to work out kinks in the non https first. -akmac Quidquid latine dictum sit, profundum viditur.
Guest Posted January 16, 2005 Posted January 16, 2005 if you installed with https but dont have ssl installed, nothing will work in ssl . .set ssl enabled to false
Guest Posted January 16, 2005 Posted January 16, 2005 ipowerweb does not automatically install ssl properly, as it is in the form of: http://server#/ipowerweb.com/~user
♥akmac Posted January 16, 2005 Author Posted January 16, 2005 Boy, am I ever messed up. Now the navigation in my catalog section isn't working either. The links look like: http://alaskajewelry.comdir_ws_http_catalogprivacy.php/ the "dir_ws_http_catalog" is obviously not supposed to be there. 4 days ago this was all working. Dadblast the dadblasted dadblast. Quidquid latine dictum sit, profundum viditur.
Guest Posted January 16, 2005 Posted January 16, 2005 lets start wth the catalog/includes/configure.php, just post that here without the db info. and state whether you are/have ssl. once that is working, we move onto the next.
♥akmac Posted January 16, 2005 Author Posted January 16, 2005 ipowerweb does not automatically install ssl properly, as it is in the form of: http://server#/ipowerweb.com/~user <{POST_SNAPBACK}> Yes, I know-and I wasn't expecting them to-yet. I installed manually because the version they will install for you is old. The install worked fine, and I could view and edit pages (except https pages). It's been up and running for over a month-with me making look and feel changes and installing a few of chemo's mods-which all worked perfectly. Four days ago, I sent an email to ipower requesting dedicated ssl. That same day-our entire network of pcs was brought down-by what-I don't know. It's back up now-but today is the first chance I've had to look at the site in question. Imagine my joy at what I found. I have no idea what to do at this point. Quidquid latine dictum sit, profundum viditur.
♥akmac Posted January 16, 2005 Author Posted January 16, 2005 Ok, here it is, I TRULY appreciate your time. ---------------------------------------------------------------------------- <?php /* $Id: configure.php,v 1.14 2003/02/21 16:55:24 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ // define our webserver variables // FS = Filesystem (physical) // WS = Webserver (virtual) define('HTTP_SERVER', 'http://alaskajewelry.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'http://alaskajewelry.com/catalog'); define('HTTPS_CATALOG_SERVER', 'https://alaskajewelry.com'); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); define('DIR_WS_CATALOG', '/catalog/'); define('DIR_FS_CATALOG_IMAGECACHE', DIR_FS_CATALOG . 'images/imagecache/'); define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); 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/'); Quidquid latine dictum sit, profundum viditur.
Guest Posted January 16, 2005 Posted January 16, 2005 se tthis to false: define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module let me know when done
♥akmac Posted January 16, 2005 Author Posted January 16, 2005 se tthis to false: define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module let me know when done <{POST_SNAPBACK}> Sorry, that was my Admin/includes/configure.php I edited it so now it's my catalog/includes/configure.php define('ENABLE_SSL_CATALOG', 'false'); -is done -akmac Quidquid latine dictum sit, profundum viditur.
Guest Posted January 16, 2005 Posted January 16, 2005 this appears to be your admin configure.php or portions of it
Guest Posted January 16, 2005 Posted January 16, 2005 start here and fill in: <?php /* $Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $ 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', 'http://alaskajewelry.com/catalog'); define('HTTPS_SERVER', ''); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', 'www.alaskajewelry.com'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', ''); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); 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_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME'])); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection ?>
Recommended Posts
Archived
This topic is now archived and is closed to further replies.