Guest Posted December 14, 2003 Share Posted December 14, 2003 Hi there! I'm new to OSC and I don't know php, but I'm starting to learn. When I try to proceeded through checkout past the point of typing in my addy, tel, etc, it says "404 - Object not found!" I need to launch this store because I'm losing a bit of money. The store is complete, but I just have this small problem. I searched throught he forums for days and I couln't find anything. Can someone PLEASE help?? Thanks! Saad Link to comment Share on other sites More sharing options...
Guest Posted December 14, 2003 Share Posted December 14, 2003 Do you have a "404 - Object not found" when vreating an account? Do you have a ssl certificate or shared ssl certificate? Did you enable ssl to true in both catalog and admin/includes/configure.php? The_Bear Link to comment Share on other sites More sharing options...
Guest Posted December 14, 2003 Share Posted December 14, 2003 Hey man, I can create accounts. Its only when I try to checkout. I got the plugin that allows users to checkout without having to register. Wheater or not I use a login or straight checkout doesn't seem to matter. When I get to the point where the next screen asks for a credit card, it gives me the 404. Do you have a ssl certificate or shared ssl certificate? I'm using a shared SSL. Did you enable ssl to true in both catalog and admin/includes/configure.php? Not sure what this means since I don't know php. My server is download for the moment, so I can't edit the file and take a look. Will it look something like "ssl = false"? What should I be looking for? Thanks for your help!! Saad Link to comment Share on other sites More sharing options...
Guest Posted December 14, 2003 Share Posted December 14, 2003 look at your server access and error logs, while proceeding to checkout, they will tell you what the program is expecting and you will most likely find out that somewhere in the /admin/includes/configure.php there is an error . . . Link to comment Share on other sites More sharing options...
Guest Posted December 15, 2003 Share Posted December 15, 2003 Hi, Yes, the SSL is set to true: define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module Would this be a problem?: define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers Thanks!! Saad Link to comment Share on other sites More sharing options...
Guest Posted December 15, 2003 Share Posted December 15, 2003 By the way, if I create an account during the checkout process, then it still goes 404 at the same point. It says: ----------- Object not found! The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error. If you think this is a server error, please contact the webmaster Error 404 ----------------- thanks! Saad Link to comment Share on other sites More sharing options...
Andyman53 Posted December 15, 2003 Share Posted December 15, 2003 I'm having the exact same problem. I have a shared ssl server. I just got it, server works fine without SSL but i'm trying to implement it now and having major probs. Here is my /store/includes/configure.php // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://bettywales.com'); define('HTTPS_SERVER', 'https://www.sslcatacomb.com/~bettywales'); define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('DIR_WS_CATALOG', '/store/'); Here is my /store/admin/includes/configure.php / define our webserver variables // FS = Filesystem (physical) // WS = Webserver (virtual) define('HTTP_SERVER', 'http://bettywales.com'); define('HTTP_CATALOG_SERVER', 'http://bettywales.com'); define('HTTPS_CATALOG_SERVER','https://www.sslcatacomb.com/~bettywales/index.html'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module ISP said to me EXACTLY: A Shared SSL account has been setup. The Shared SSL server must only be used to secure order forms that contain sensitive information such as credit card information. Use the following logins to upload your order forms to the SSL server: Host: www.sslcatacomb.com User: *username* Pass: *password* If the index.html file located in your SSL directory was an order form, you could pass index.html through the secure server as follows https://www.sslcatacomb.com/~bettywales/index.html --------------It works fine with the default configure.php files.... I have no idea what the prob is.... Link to comment Share on other sites More sharing options...
Andyman53 Posted December 15, 2003 Share Posted December 15, 2003 I tried some other things. NO luck.... Link to comment Share on other sites More sharing options...
Guest Posted December 15, 2003 Share Posted December 15, 2003 You have not stated what you found in your access log and error logs. there is lots there and it should tell you where your program thinks it is going, versus what you think as to where it is going. dont waste your time asking just look at the logs, then post the info here. Link to comment Share on other sites More sharing options...
Andyman53 Posted December 15, 2003 Share Posted December 15, 2003 Error Log: [14-Dec-2003 18:07:34] PHP Warning: main(includes/configure.php): failed to open stream: No such file or directory in /home/bettywal/public_html/store/includes/application_top.php on line 34 [14-Dec-2003 18:07:34] PHP Fatal error: main(): Failed opening required 'includes/configure.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/bettywal/public_html/store/includes/application_top.php on line 34 [14-Dec-2003 18:07:38] PHP Warning: main(includes/configure.php): failed to open stream: No such file or directory in /home/bettywal/public_html/store/includes/application_top.php on line 34 [14-Dec-2003 18:07:38] PHP Fatal error: main(): Failed opening required 'includes/configure.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/bettywal/public_html/store/includes/application_top.php on line 34 [14-Dec-2003 18:07:39] PHP Warning: main(includes/configure.php): failed to open stream: No such file or directory in /home/bettywal/public_html/store/includes/application_top.php on line 34 [14-Dec-2003 18:07:39] PHP Fatal error: main(): Failed opening required 'includes/configure.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/bettywal/public_html/store/includes/application_top.php on line 34 [14-Dec-2003 18:07:39] PHP Warning: main(includes/configure.php): failed to open stream: No such file or directory in /home/bettywal/public_html/store/includes/application_top.php on line 34 [14-Dec-2003 18:07:39] PHP Fatal error: main(): Failed opening required 'includes/configure.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in Thats the Error Log... Here is line 34 of application_top.php } // set which precautions should be checked define('WARN_INSTALL_EXISTENCE', 'true'); define('WARN_CONFIG_WRITEABLE', 'true'); define('WARN_SESSION_DIRECTORY_NOT_WRITEABLE', 'true'); define('WARN_SESSION_AUTO_START', 'true'); define('WARN_DOWNLOAD_DIRECTORY_NOT_READABLE', 'true'); // BOF: Added for encryption of credit card data Hope you can Help...Thanks for any help you have given. Link to comment Share on other sites More sharing options...
Guest Posted December 16, 2003 Share Posted December 16, 2003 how about your configure.php also, seems there could be a problem in there, pointing to folders. you can also check your server log files which will show you what has been happening. Link to comment Share on other sites More sharing options...
Andyman53 Posted December 16, 2003 Share Posted December 16, 2003 /store/includes/configure.php <?php /* $Id: configure.php,v 1.12 2002/06/16 22:11:53 harley_vb Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 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://bettywales.com'); define('HTTPS_SERVER', 'https://www.sslcatacomb.com/~bettywales'); define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('DIR_WS_CATALOG', '/store/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); // If "URL fopen wrappers" are enabled in PHP (which they are in the default configuration), this can be a URL instead of a local pathname 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', DIR_WS_CATALOG . 'pub/'); 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_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'bettywal_osc1'); define('DB_SERVER_PASSWORD', 'reWc1qkXRG'); define('DB_DATABASE', 'bettywal_osc1'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?> /store/admin/includes/configure.php <?php /* $Id: configure.php,v 1.13 2002/07/20 09:08:31 project3000 Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 osCommerce Released under the GNU General Public License */ // define our webserver variables // FS = Filesystem (physical) // WS = Webserver (virtual) define('HTTP_SERVER', 'http://bettywales.com'); define('HTTP_CATALOG_SERVER', 'http://bettywales.com'); define('HTTPS_CATALOG_SERVER','https://www.sslcatacomb.com/~bettywales/index.html'); define('ENABLE_SSL_CATALOG', 'true'); // 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', '/store/admin/'); define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); define('DIR_WS_CATALOG', '/store/'); 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 our database connection define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'bettywal_osc1'); define('DB_SERVER_PASSWORD', 'reWc1qkXRG'); define('DB_DATABASE', 'bettywal_osc1'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', ''); ?> I just edited the part posted in my past post eg. /store/includes/configure.php // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://bettywales.com'); define('HTTPS_SERVER', 'https://www.sslcatacomb.com/~bettywales'); define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('DIR_WS_CATALOG', '/store/'); and /store/admin/includes/configure.php / define our webserver variables // FS = Filesystem (physical) // WS = Webserver (virtual) define('HTTP_SERVER', 'http://bettywales.com'); define('HTTP_CATALOG_SERVER', 'http://bettywales.com'); define('HTTPS_CATALOG_SERVER','https://www.sslcatacomb.com/~bettywales/index.html'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module My server log files don't really help either because i'm getting flooded with 404's from the server tree from my old website/host. Link to comment Share on other sites More sharing options...
Andyman53 Posted December 16, 2003 Share Posted December 16, 2003 Yeah...Still Can't Figure it Out...any suggestions? Link to comment Share on other sites More sharing options...
Andyman53 Posted December 16, 2003 Share Posted December 16, 2003 Ok..Just thought of something...Would it work if i added the appropriate .php files to the secure site so they can be accessed there? Eg. uploading configure.php, checkout.php etc... ONLY to the secure site. Would that work? And what files would i need to put on there? Any other suggestions? Link to comment Share on other sites More sharing options...
Andyman53 Posted December 17, 2003 Share Posted December 17, 2003 Adding the .php files doesn't work. I upload them via ftp and i still get 404 errors... very strange... Link to comment Share on other sites More sharing options...
Guest Posted December 18, 2003 Share Posted December 18, 2003 Hey man... you just posted your login and password. You might want to revise that. I'm still stuck on this problem. I'll let you know if I figure something out. I hope to get this fixed ASAP!! Link to comment Share on other sites More sharing options...
Guest Posted December 18, 2003 Share Posted December 18, 2003 Okay... here is a stupid Q... where are the error logs? (lol) =)) saad Link to comment Share on other sites More sharing options...
Andyman53 Posted December 18, 2003 Share Posted December 18, 2003 Yeah...thats another thign...I just fixed it. The problem was a combination of my host having global_register off, me having permissions set wrong and some parse errors. Mibble helped me ALOT. And as we speak i'm changing the Database password and the Site, Ftp and Cpanel password. Heh. Link to comment Share on other sites More sharing options...
Guest Posted December 18, 2003 Share Posted December 18, 2003 Hey man... so what do I do exactly? Whats the solution? Link to comment Share on other sites More sharing options...
Guest Posted December 24, 2003 Share Posted December 24, 2003 I think I know what the problem is. When I try to check out and a 404, the URL is something like: https://www.acadianetworks.com/shopping_cart.php?....... But it should be... https://www.acadianetworks.com/bigblowouts_...opping_cart.php...... The "bigblowouts_com" is missing from the URL. How can I correct this? Thanks, Saad Link to comment Share on other sites More sharing options...
Guest Posted December 24, 2003 Share Posted December 24, 2003 Yeah...thats another thign...I just fixed it. The problem was a combination of my host having global_register off, me having permissions set wrong and some parse errors. Mibble helped me ALOT. And as we speak i'm changing the Database password and the Site, Ftp and Cpanel password. Heh. Wonderful that Mibble helped you, but you didn't post the solution. This is a BBS after all :D . I posted in another thread about this same problem (Mibble was there too). I host with ipowerweb, and register_globals is ON (according to server_info.php). I tried to contact ipowerweb last week, but they havn't gotten back to me. I think my configure in catalog and admin are correct. Register globals is on, so that is not it either. The only thing left is permissions. Are you referring to chmod? If so, my shipping modules are all set at 644. Is this correct? Also, is there another file that I should check for correct chmod? Also. when ssl is enabled (I use shared SSL), the login gives an error, but hitting back shows a successful login. I'm totally frustrated. It worked for over a month, now it doesn't. I didn't change a thing. So I'm guessing ipowerweb did something. They won't get back to me, so I'm going nuts! Pretty please, with sugar on top, someone help. Link to comment Share on other sites More sharing options...
Andyman53 Posted December 24, 2003 Share Posted December 24, 2003 Well....Basically it was that i Had all the permissions on the files set with read unchecked. I had some parse errors in the files that i tried editing (apostrophes and such). It was alot of looking closely at the configure.php files in both the catalog/includes directory and catalog/admin/includes directory . Tell me if this helps. Link to comment Share on other sites More sharing options...
Andyman53 Posted December 24, 2003 Share Posted December 24, 2003 Well....Basically it was that i Had all the permissions on the files set with read unchecked. I had some parse errors in the files that i tried editing (apostrophes and such). It was alot of looking closely at the configure.php files in both the catalog/includes directory and catalog/admin/includes directory . This does in fact involve the SSL server side. You have to have all the database user info, database login info and database password matching with the config files on the insecure server side and the database. *important* You must change localhost in the configure.php FILES to the location of the database (insecure) server since the mysql files aren't local anymore. Damned 5 minute editing. :rolleyes: Link to comment Share on other sites More sharing options...
Guest Posted December 24, 2003 Share Posted December 24, 2003 Hey... can you guys spot anything wrong? admin/includes/configure.php define('HTTP_SERVER', 'http://www.bigblowouts.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.bigblowouts.com'); define('HTTPS_CATALOG_SERVER', 'https://www.acadianetworks.com/'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/saad/public_html/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/saad/public_html/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/'); // absolute path required define('DIR_FS_CATALOG', '/home/saad/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/'); /includes/configure.php define('HTTP_SERVER', 'http://www.bigblowouts.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.acadianetworks.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'bigblowouts.com'); define('HTTPS_COOKIE_DOMAIN', 'bigblowouts.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/bigblowouts_com'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/bigblowouts_com/'); 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', '/home/saad/public_html/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); Link to comment Share on other sites More sharing options...
Guest Posted December 25, 2003 Share Posted December 25, 2003 Can anyone help me with this? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.