spinz06 Posted June 6, 2007 Posted June 6, 2007 Hello! If anyone could help I would greatly appreciate it, I have been looking through the archives but can't seem to find out the answer to my ssl problem. I think my config files are wrong or at least some of them but am not sure which ones are right and which are wrong. So far I have found 3 of them, can someone look at them and see if they can see what is wrong??? First one is catalog/includes/configure.php // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'https://st74.startlogic.com/~celiacsi'); define('HTTPS_SERVER', 'https://st74.startlogic.com/~celiacsi'); define('ENABLE_SSL', true);// secure webserver for checkout procedure? define('DIR_FS_DOCUMENT_ROOT','/usr/local/apache/htdocs'); define('HTTP_COOKIE_DOMAIN', 'celiacsistersinc.com'); define('HTTPS_COOKIE_DOMAIN', 'st74.startlogic.com/~celiacsi'); define('HTTP_COOKIE_PATH', '/~celiacsi/osCommerce/catalog/'); define('HTTPS_COOKIE_PATH', '/~celiacsi/osCommerce/catalog/'); define('DIR_WS_HTTP_CATALOG', '/~celiacsi/osCommerce/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/~celiacsi/osCommerce/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', '/home/celiacsi/public_html/osCommerce/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); Here is the includes/configure.php file // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.celiacsistersinc.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.celiacsistersinc.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.celiacsistersinc.com'); define('HTTPS_COOKIE_DOMAIN', 'www.celiacsistersinc.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_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', '/home/celiacsi/public_html/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); and here is the last one I found admin/includes/configure.php // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'https://st74.startlogic.com'); define('HTTP_CATALOG_SERVER', 'https://st74.startlogic.com/~celiacsi'); define('HTTPS_CATALOG_SERVER', 'https://st74.startlogic.com/~celiacsi'); define('ENABLE_SSL_CATALOG', true); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/usr/local/apache/htdocs'); // where the pages are located on the server define('DIR_WS_ADMIN', '/~celiacsi/osCommerce/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/celiacsi/public_html/osCommerce/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/~celiacsi/osCommerce/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/home/celiacsi/public_html/osCommerce/catalog/'); // 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/'); Sorry it is so long I wasn't sure how much to include. Again any help would be greatly appreciated, I have struggling with this for several weeks now and really could use some input. Thank you!
spinz06 Posted June 7, 2007 Author Posted June 7, 2007 Hello again, I am fairly new to this board and am not sure why no one ever responds to my posts, am I doing something wrong? I am really new to all of this and could really use some help, any help anyone can offer?????
♥Vger Posted June 7, 2007 Posted June 7, 2007 Your DIR_FS_DOCUMENT_ROOT is /home/celiacsi/public_html/ You don't have a full ssl certificate. The whole of both of your configure.php files are a complete and utter mess. includes/configure.php ******************* define('HTTP_SERVER', 'http://www.celiacsistersinc.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://st74.startlogic.com/~celiacs'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.celiacsistersinc.com'); define('HTTPS_COOKIE_DOMAIN', 'st74.startlogic.com'); define('HTTP_COOKIE_PATH', '/osCommerce/catalog/'); define('HTTPS_COOKIE_PATH', '/~celiacs/osCommerce/catalog/'); define('DIR_WS_HTTP_CATALOG', '/osCommerce/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/osCommerce/catalog/'); My advice - drop the capital C is osCommerce, it will only cause you trouble in the future. Vger
♥Vger Posted June 7, 2007 Posted June 7, 2007 admin/includes/configure.php ************************ define('HTTP_SERVER', 'http://www.celiacsistersinc.com'); define('HTTP_CATALOG_SERVER', 'http://www.celiacsistersinc.com'); define('HTTPS_CATALOG_SERVER', 'https://st74.startlogic.com/~celiacsi'); define('ENABLE_SSL_CATALOG', true); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/celiacsi/public_html/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/osCommerce/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/celiacsi/public_html/osCommerce/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/osCommerce/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/home/celiacsi/public_html/osCommerce/catalog/'); // absolute path required Vger
spinz06 Posted June 7, 2007 Author Posted June 7, 2007 admin/includes/configure.php************************ define('HTTP_SERVER', 'http://www.celiacsistersinc.com'); define('HTTP_CATALOG_SERVER', 'http://www.celiacsistersinc.com'); define('HTTPS_CATALOG_SERVER', 'https://st74.startlogic.com/~celiacsi'); define('ENABLE_SSL_CATALOG', true); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/celiacsi/public_html/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/osCommerce/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/celiacsi/public_html/osCommerce/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/osCommerce/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/home/celiacsi/public_html/osCommerce/catalog/'); // absolute path required Vger Thank you so much for your help and the response, I will try what you suggested and see what happens. Thanks again!
spinz06 Posted June 7, 2007 Author Posted June 7, 2007 Hello again, ok I switched everything and now when I got to my site the background and all half of my images don't appear and I get this error. Warning: main(includes/application_top.php): failed to open stream: No such file or directory in /home/celiacsi/public_html/oscommerce/catalog/account.php on line 13 Warning: main(includes/application_top.php): failed to open stream: No such file or directory in /home/celiacsi/public_html/oscommerce/catalog/account.php on line 13 Fatal error: main(): Failed opening required 'includes/application_top.php' (include_path='.:/usr/local/lib/php') in /home/celiacsi/public_html/oscommerce/catalog/account.php on line 13 do you know what I need to do to fix this error. I checked account.php and it says require('includes/application_top.php'); so I don't know what to fix??? Any help would be greatly appreciated> Thanks, Jody
♥Vger Posted June 8, 2007 Posted June 8, 2007 It means that the folders do not have the correct permissions for the programme to be able to access the files inside of them. The folders need to have permissions of 755. You can usually use the File Manager in your web hosting control panel to change permissions. Vger
spinz06 Posted June 8, 2007 Author Posted June 8, 2007 It means that the folders do not have the correct permissions for the programme to be able to access the files inside of them. The folders need to have permissions of 755. You can usually use the File Manager in your web hosting control panel to change permissions. Vger Thanks Vger for your response. I checked all my folders and they are set to 755 and images is set to 777 some of the individual php files at at 644 is that ok and do you know what else might cause it?? Thanks again for all your help it is greatly appreciated!!
spinz06 Posted June 8, 2007 Author Posted June 8, 2007 the links seem to be working now, so no more of that error but I have lost all my customization, I originally purchased a template and modified it for my site but now that the config works all that is gone, my home page is white (lost its background and everything) and all the shopping pages go to the generic oscommerce site. Do you know what I need to do to fix this and get everything back?? Again thank you so much for all your help!!
♥Vger Posted June 8, 2007 Posted June 8, 2007 If you have more than one osCommerce site on the domain then maybe the path /osCommerce/catalog/ is the path to the default osCommerce website and not to the templated site? Vger
spinz06 Posted June 8, 2007 Author Posted June 8, 2007 If you have more than one osCommerce site on the domain then maybe the path /osCommerce/catalog/ is the path to the default osCommerce website and not to the templated site? Vger Thank you for the reply, I am going to go through all my files tonight and make sure the template files are where they should be, thanks again and have a great night!
jacklawry Posted June 8, 2007 Posted June 8, 2007 When i navigate through different pages of the site I always loose the s from https: part of the url and it always takes me to the http: version of the site any got any ideas?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.