germ Posted September 21, 2008 Share Posted September 21, 2008 Yeah, that's what I meant. :( Post your /catalog/includes/configure.php file, just leave out the DB access info at the bottom. 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 > Link to comment Share on other sites More sharing options...
Guest Posted September 21, 2008 Share Posted September 21, 2008 Yeah, that's what I meant. :( Post your /catalog/includes/configure.php file, just leave out the DB access info at the bottom. <?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://www.steelsomething.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.steelsomething.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'steelsomething.com'); define('HTTPS_COOKIE_DOMAIN', 'steelsomething.com'); define('HTTP_COOKIE_PATH', '/storemain//catalog/'); define('HTTPS_COOKIE_PATH', '/storemain//catalog/'); define('DIR_WS_HTTP_CATALOG', '/storemain//catalog/'); define('DIR_WS_HTTPS_CATALOG', '/storemain//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/'); Link to comment Share on other sites More sharing options...
lindsayanng Posted September 21, 2008 Share Posted September 21, 2008 h,, thats odd.. i guess that makes sense Germ, but why didn't i get the "insecure items" popup? A great place for newbies to start Road Map to oscommerce File Structure DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways! HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you Proud Memeber of the CODE BREAKERS CLUB!! Link to comment Share on other sites More sharing options...
germ Posted September 21, 2008 Share Posted September 21, 2008 @Lindsay 'Cuz you're on a Mac, silly.... :lol: @Nicole Change these: define('HTTP_COOKIE_DOMAIN', 'steelsomething.com'); define('HTTPS_COOKIE_DOMAIN', 'steelsomething.com'); define('HTTP_COOKIE_PATH', '/storemain//catalog/'); define('HTTPS_COOKIE_PATH', '/storemain//catalog/'); define('DIR_WS_HTTP_CATALOG', '/storemain//catalog/'); define('DIR_WS_HTTPS_CATALOG', '/storemain//catalog/'); to define('HTTP_COOKIE_DOMAIN', '.steelsomething.com'); define('HTTPS_COOKIE_DOMAIN', '.steelsomething.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/storemain/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/storemain/catalog/'); Then see if it makes any difference. I doubt it but I have more tricks up my sleeve. B) 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 > Link to comment Share on other sites More sharing options...
Guest Posted September 21, 2008 Share Posted September 21, 2008 @Lindsay 'Cuz you're on a Mac, silly.... :lol: @Nicole Change these: define('HTTP_COOKIE_DOMAIN', 'steelsomething.com'); define('HTTPS_COOKIE_DOMAIN', 'steelsomething.com'); define('HTTP_COOKIE_PATH', '/storemain//catalog/'); define('HTTPS_COOKIE_PATH', '/storemain//catalog/'); define('DIR_WS_HTTP_CATALOG', '/storemain//catalog/'); define('DIR_WS_HTTPS_CATALOG', '/storemain//catalog/'); to define('HTTP_COOKIE_DOMAIN', '.steelsomething.com'); define('HTTPS_COOKIE_DOMAIN', '.steelsomething.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/storemain/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/storemain/catalog/'); Then see if it makes any difference. I doubt it but I have more tricks up my sleeve. B) Nope... does the pink banner at the top matter? I was told to change the permissions on the configure file to "write" for myself, but it still had the banner warning about being able to change the configure file... Would that stop it from showing these changes? :blink: Link to comment Share on other sites More sharing options...
germ Posted September 21, 2008 Share Posted September 21, 2008 Well it did make a good change that you just don't see. We'll fix the pink warning at the top when we get the config file fixed. Copy the text in the CODE box below into a text editor (Notepad) on your PC: <?php echo 'HTTP HOST: ' . "$HTTP_HOST"; echo '<br>Server Port: ' . getenv('SERVER_PORT'); echo '<br>SSL Status: ' . getenv('HTTPS'); echo '<br>Fowarded Server: ' . getenv('HTTP_X_FORWARDED_SERVER'); echo '<br>Fowarded Host: ' . getenv('HTTP_X_FORWARDED_HOST'); echo '<br>Fowarded By: ' . getenv('HTTP_X_FORWARDED_BY'); ?> Save it as myenv.php Upload it into your /storemain/catalog folder on your server. Then post again and let me know when this is done. I'll access it from my browser and it will (hopefully) tell me what we need to change to get SSL working. It's a harmless script. If you search the forums, it's been used by a lot of people. All it does is echo some environment variables to the browser. 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 > Link to comment Share on other sites More sharing options...
Guest Posted September 21, 2008 Share Posted September 21, 2008 Well it did make a good change that you just don't see. We'll fix the pink warning at the top when we get the config file fixed. Copy the text in the CODE box below into a text editor (Notepad) on your PC: <?php echo 'HTTP HOST: ' . "$HTTP_HOST"; echo '<br>Server Port: ' . getenv('SERVER_PORT'); echo '<br>SSL Status: ' . getenv('HTTPS'); echo '<br>Fowarded Server: ' . getenv('HTTP_X_FORWARDED_SERVER'); echo '<br>Fowarded Host: ' . getenv('HTTP_X_FORWARDED_HOST'); echo '<br>Fowarded By: ' . getenv('HTTP_X_FORWARDED_BY'); ?> Save it as myenv.php Upload it into your /storemain/catalog folder on your server. Then post again and let me know when this is done. I'll access it from my browser and it will (hopefully) tell me what we need to change to get SSL working. It's a harmless script. If you search the forums, it's been used by a lot of people. All it does is echo some environment variables to the browser. Thank you so much for all your help! This file is uploaded now. Link to comment Share on other sites More sharing options...
germ Posted September 21, 2008 Share Posted September 21, 2008 OK. The line in application_top.php needs to be this: $request_type = (getenv('SERVER_PORT') == '10128') ? 'SSL' : 'NONSSL'; (Strangest port assignment I've seen :huh: ) See if that makes the page "secure". The configure.php file permissions, try these in this order until the pink warning goes away: 644 444 400 FTP usually doesn't work for this but you can try. Usually have to use CPanel. Be aware that permission less than 644 make the file "read only". 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 > Link to comment Share on other sites More sharing options...
Guest Posted September 21, 2008 Share Posted September 21, 2008 OK. The line in application_top.php needs to be this: $request_type = (getenv('SERVER_PORT') == '10128') ? 'SSL' : 'NONSSL'; (Strangest port assignment I've seen :huh: ) See if that makes the page "secure". The configure.php file permissions, try these in this order until the pink warning goes away: 644 444 400 FTP usually doesn't work for this but you can try. Usually have to use CPanel. Be aware that permission less than 644 make the file "read only". WOW! I owe you a pint! That worked (I'll get rid of the banner later - I just wanted to make sure it wouldn't mess anything up). For some reason, even when I have "write" permissions on, I get the same error, so I just go turn 'em off after I'm done. So there are locks galore on there now!! But it says "Local Intranet" in the bottom corner when the lock is there. Sorry if that's a stupid question, but shouldn't it say "Internet"? I must say this site was a lot more fun when all I did was make pitcures and change colors all day! ;) Link to comment Share on other sites More sharing options...
germ Posted September 21, 2008 Share Posted September 21, 2008 Nice looking padlock on your secure pages, Nicole.... B) 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 > Link to comment Share on other sites More sharing options...
germ Posted September 21, 2008 Share Posted September 21, 2008 It's working like it should from my perspective. ;) 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 > Link to comment Share on other sites More sharing options...
Guest Posted September 21, 2008 Share Posted September 21, 2008 Nice looking padlock on your secure pages, Nicole.... B) You are my hero (where is that little heart icon thingy??)! So I guess my "Intranet" thing doesn't matter then? Link to comment Share on other sites More sharing options...
germ Posted September 21, 2008 Share Posted September 21, 2008 :wub: It's working fine. You can delete the myenv.php file 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 > Link to comment Share on other sites More sharing options...
Guest Posted September 21, 2008 Share Posted September 21, 2008 It's working like it should from my perspective. ;) Thank you so much! That is amazing the way you just help people all day until it's done. (And nicely too!) Thanks to everyone else too, this forum is great. Now I'm getting all gushy... *sniff sniff* I better go... Nicole Link to comment Share on other sites More sharing options...
lindsayanng Posted September 22, 2008 Share Posted September 22, 2008 YAY!! i'm happy to hear that you got it figured out.. Ya know, Germ deserves some kinda crown.. can we get this man a crown over here?? A great place for newbies to start Road Map to oscommerce File Structure DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways! HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you Proud Memeber of the CODE BREAKERS CLUB!! Link to comment Share on other sites More sharing options...
germ Posted September 22, 2008 Share Posted September 22, 2008 Honestly that's not necessary. :blush: But if you must, be sure no genetalia are attached..... If you get my drift... Lindsay... ;) :lol: 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 > Link to comment Share on other sites More sharing options...
lindsayanng Posted September 22, 2008 Share Posted September 22, 2008 Hahahaha... Nope, you deserve a crown .. a REAL one.. one thats so big and heavy that it hurts your head to wear it./ A great place for newbies to start Road Map to oscommerce File Structure DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways! HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you Proud Memeber of the CODE BREAKERS CLUB!! Link to comment Share on other sites More sharing options...
Guest Posted September 22, 2008 Share Posted September 22, 2008 Honestly that's not necessary. :blush: But if you must, be sure no genetalia are attached..... If you get my drift... Lindsay... ;) :lol: I would have seen this reply sooner, but I was off playing in my new un-criminalized website! Woohooo! HAA! I don't know what all this is about, but after the St. Patrick's Day section in Deb's store... But, YES, Jim definitely deserves a crown! I think I can actually open my store now, thanks to you! I'll name something after you... not a child or anything, cuz they're both named, but like one of my jewellery pieces. ;) Should I call it "The Jim"? I have some crown earrings, I can send you one! (Two?) Nicole Link to comment Share on other sites More sharing options...
lindsayanng Posted September 22, 2008 Share Posted September 22, 2008 Nicole, just go to the General Topics forum thats just above the feedback one and find the thread called Purchase Without Account.. read teh WHOLE threadand you will get it.. A great place for newbies to start Road Map to oscommerce File Structure DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways! HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you Proud Memeber of the CODE BREAKERS CLUB!! Link to comment Share on other sites More sharing options...
germ Posted September 22, 2008 Share Posted September 22, 2008 Well, you kind of hit the nail on the head, Nicole. This IS all Deb's fault for suggesting Coop and I wear penis hats in another thread. (Yeah... Let's blame it on Deb ... That's the ticket....) Thanks but I don't wear earrings, and somehow I don't think anything named after me would sell worth a hoot! :lol: 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 > Link to comment Share on other sites More sharing options...
Guest Posted September 22, 2008 Share Posted September 22, 2008 :lol: I somehow had the feeling Deb was responsible... I don't know the girl, but I just had that feeling. OK, I won't name anything after you and I won't send you any earrings. I will just silently adore your brilliance from afar. ;) Nicole Link to comment Share on other sites More sharing options...
Guest Posted September 22, 2008 Share Posted September 22, 2008 Nicole, just go to the General Topics forum thats just above the feedback one and find the thread called Purchase Without Account.. read teh WHOLE threadand you will get it.. I can imagine! This place is hilarious sometimes. I've come on here to look something up and get all distracted reading threads which have nothing to do with me because of the comments that get going. Who would think an ecommerce forum could be so amusing?! Link to comment Share on other sites More sharing options...
Guest Posted September 22, 2008 Share Posted September 22, 2008 Honestly that's not necessary. :blush: But if you must, be sure no genetalia are attached..... If you get my drift... Lindsay... ;) :lol: Oh sure, dismiss my penis hat gift. :angry: I guess that means I'll just have to come back and annoy everyone again with my presence. It's a tough job, but someone's gotta do it. ;) Link to comment Share on other sites More sharing options...
germ Posted September 22, 2008 Share Posted September 22, 2008 Nice to see you back, Deb :blush: About the penis hat..... Well... Err... Ummmm... I...... Did I say nice to see you back, Deb? :unsure: 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 > Link to comment Share on other sites More sharing options...
Guest Posted September 22, 2008 Share Posted September 22, 2008 Nice to see you back, Deb :blush: About the penis hat..... Well... Err... Ummmm... I...... Did I say nice to see you back, Deb? :unsure: Deb, I think he just doesn't like presents for some reason. No earrings, no penis hat... I suppose you don't want me to get you a pony or an alligator either?! :P Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.