MetServe Posted August 31, 2008 Posted August 31, 2008 Hi Everyone, right I'm losing the will to live. Firstly, I have a problem after the host upgraded the PHP. Currently running 5.2.6 Now, the domain name with a working version of osCommerce MS 2.2 i : http://www.tdi-plc.com (Installed on UNIX server) Now the problem is the SSL of the database, that handles the shopping cart which can be found here : https://vault2.secured-url.com/tdi-plc/catalog/ (Installed on a shared Windows SSL server) The host recently upgraded the SSL server to 5.2.6 ever since I have been getting the error shown! I have searched google, here and everywhere for a fix or a solution and can't seem to see why it is causing so much problem. Can someone assist with this please?
lindsayanng Posted August 31, 2008 Posted August 31, 2008 do you have SEO urls turned on?? try turning them off and see if it fixes them. 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!!
MetServe Posted August 31, 2008 Author Posted August 31, 2008 do you have SEO urls turned on?? try turning them off and see if it fixes them. Hi Lindasy, they are turned off, and have never been turned on!
lindsayanng Posted August 31, 2008 Posted August 31, 2008 hmmm. that was what helped me when i had the SAME issue. I dont really know what to say. all i can tell you is put this into a google search site:www.oscommerce.com/forums upgrapde php5 that will show you all the threads about the php5 upgrade.A lot of them have answers to the common problems that happen. also,i clicked through yoursite and couldnt find much of anything. can you link to the actual catalog. 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!!
MetServe Posted August 31, 2008 Author Posted August 31, 2008 also,i clicked through yoursite and couldnt find much of anything. can you link to the actual catalog. Sure, here is the Japanese product section : http://www.tdi-plc.com/catalog/index.php?cPath=107 The catalog side of the script os working fine, it's just when it is transferred over to the Windows based SSL server it throws a flop!
lindsayanng Posted August 31, 2008 Posted August 31, 2008 ok, isee what is happening.. I just couldnt figure out WHICH part of your catalog threw the error. As SOON as you go to the secure page you get that... check out, login, ect. I wish i could help more. You are running your OWN secure sever?? I have never done that and dont want to pretend too. Seems in the Langauges file, have you checked that out a little? 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!!
satish Posted August 31, 2008 Posted August 31, 2008 // set the type of request (secure or not) $request_type = (getenv('HTTPS') == 'on') ? 'SSL' : 'NONSSL'; Use this again in html_output.php on times $request_type is NULL that cretaes problem. If that does not work try this $request_type = (getenv('HTTPS') == 1) ? 'SSL' : 'NONSSL'; Satish Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does.
spooks Posted August 31, 2008 Posted August 31, 2008 This might help http://www.oscommerce.com/forums/index.php?sho...t=#entry1293198 Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al.
MetServe Posted August 31, 2008 Author Posted August 31, 2008 // set the type of request (secure or not) $request_type = (getenv('HTTPS') == 'on') ? 'SSL' : 'NONSSL'; Use this again in html_output.php on times $request_type is NULL that cretaes problem. If that does not work try this $request_type = (getenv('HTTPS') == 1) ? 'SSL' : 'NONSSL'; Satish Satish, $request_type = (getenv('HTTPS') == 'on') ? 'SSL' : 'NONSSL'; is already set in application_top.php Changing it to $request_type = (getenv('HTTPS') == 1) ? 'SSL' : 'NONSSL'; makes no difference. I'm a bit confused where you say "Use this again in html_output.php on times $request_type is NULL that cretaes problem." can you explain please? Regards. This might help http://www.oscommerce.com/forums/index.php?sho...t=#entry1293198 Tried that and it makes no difference! - Thanks.
satish Posted September 1, 2008 Posted September 1, 2008 function tep_href_link($page = '', $parameters = '', $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = true) { global $request_type, $session_started, $SID; after this line. Satish Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does.
spooks Posted September 1, 2008 Posted September 1, 2008 As you don't have seo url enabled obviously makeing those changes as written wont change anything, I was giving pointers for things you can try, you need to do stuff yourself. You can find the status of all variables etc with: function getDefinedVars($varList, $excludeList) { $temp1 = array_values(array_diff(array_keys($varList), $excludeList)); $temp2 = array(); while (list($key, $value) = each($temp1)) { global $$value; $temp2[$value] = $$value; } return $temp2; } $excludeList = array(); $varList = get_defined_vars(); print "<pre>"; print_r(getDefinedVars($varList, $excludeList)); print "</pre>"; Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.