|
| Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more. |
|
|||||||
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
Join Date: Jan 2003
Posts: 49
Reputation: 5
|
links requiring ssl don't work???
I can't get the links that require ssl to work, I am not sure what I need to edit (changing config.php didn't change anything and I can't find anything in the admin panel). I can't even login to a fake account (won't load the login page).
www.designsofmontage.com any ideas what I have to change??? |
|
|
|
|
#2 | |
|
Posts: n/a
|
Quote:
|
|
|
|
#3 |
|
Join Date: Jan 2003
Posts: 49
Reputation: 5
|
sorry that didn't work, any other ideas?
|
|
|
|
|
#5 |
|
Join Date: Jan 2003
Posts: 49
Reputation: 5
|
That doesn't work either, I have tried many combinations, and none seem to work, what should be the proper format for the ssl link? www03.powweb.com or www.mydomain.com? the second one returns the certificate atleast, even if hte page doesn't display, but the first one doesn't display anything.
|
|
|
|
|
#6 |
|
Join Date: Jan 2003
Posts: 49
Reputation: 5
|
The admin control panel also says that the site isn't protected by ssl....
|
|
|
|
|
#7 |
|
Posts: n/a
|
Ditto
My admin control panel says the same thing, but when I proceed through checkout, I am taken to a secure page and the yellow is located at the bottom of my explorer window. I think that is a sign of security. I'm not sure why admin doesn't recognize it.
I'm stumped... As for your SSL, I notice that yours is set up differently than mine. When I click on a secure page, I am taken here: https://cepheid.powweb.com:11926/catalog/login.php..... However, when I click on a secure page on your site, I am directed here: https://www03.powweb.com:11934/www/m/montage/htdocs/wholesale/catalog/login.php..... Recheck your settings in configure.php try this: define('HTTPS_SERVER', 'https://www03.powweb.com:11934); and ('HTTPS_COOKIE_DOMAIN', 'https://www03.powweb.com:11934); You might want to make sure that the following paths include your /wholesale/ directory. (I'm not sure about these though so BACK UP FIRST! define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); Hope this helps! Jonathan |
|
|
#8 |
|
XPW
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
|
At the time I looked, you had a trailing or leading blank in the definition for the https path.
__________________
Steve |
|
|
|
|
#9 |
|
Join Date: Jan 2003
Posts: 49
Reputation: 5
|
lion - thanks for the suggestions, I changed it back to what it was, minus the trailing/leading spaces, but there is no "HTTPS_COOKIE_DOMAIN" in config.php
Also where did you want me to look for those other definitions? Finally, when I goto https://www03.powweb.com:11934 it works fine, and even https://www03.powweb.com:11934/wholesale/catalog/ but if I add account.php to that, it wont work, however default.php does work fine. Very odd :-/ It doesn't seem like it has anything to do with configure.php anymore, something else maybe? |
|
|
|
|
#10 |
|
Posts: n/a
|
Try this out
Try this:
Backup your configure.php file. Copy the following code and paste it into a new notepad document. Make changes to the areas that I have highlighted in bold. Note: you will need to have a mysql database setup with powweb. This can be accomplished in the member ops area. Save the new notepad document as configure.php. Upload the new configure.php to the powweb server using an ftp program. Hopefully this will work for you. If it does not work, simply upload your backup copy of configure.php via the ftp server. PHP Code:
Please note: I am totally new to php and don't even understand half of the above code. I do understand that this configuration is working for me with powweb hosting. Perhaps one of the more experienced members can help a little too. Please let me know if I have forgotten anything. Good luck! Liongate |
|
|
#11 |
|
Join Date: Jan 2003
Posts: 49
Reputation: 5
|
ok I tried that and got this as an error:
Warning: main(DIR_WS_TEMPLATESmainpage.tpl.php): failed to open stream: No such file or directory in /www/m/montage/htdocs/wholesale/catalog/default.php on line 161 Fatal error: main(): Failed opening required 'DIR_WS_TEMPLATESmainpage.tpl.php' (include_path='.:/usr/local/lib/php') in /www/m/montage/htdocs/wholesale/catalog/default.php on line 161 |
|
|
|
|
#12 |
|
Join Date: Jan 2003
Posts: 49
Reputation: 5
|
I added in the definitions that were missing from my templates...
what MS are you running? the default one with powweb? (2.1 I believe) It seems to be working with your definitions ( I had to add a few things and take out a few slashes) but the SSL links still wont work like this one for instance: https://www03.powweb.com:11934/whole...b1f5434d89d f |
|
|
|
|
#13 |
|
Posts: n/a
|
I'm Stumped
I am clueless as to why your ssl isn't working. Have you tried posting on the osc forum? They may be able to offer some advice. Perhaps one of the moderators can help.
I am running version: oscommerce-2.2ms2. Here's something else I noticed that is different between our sites. I preformed these same functions on both sites: First I typed the homepage into the browser window. Then I clicked on a product. Next, I added the product to the cart. Finally I clicked the checkout link. On my site, the checkout link directed me here: https://cepheid.powweb.com:11926/catalog/login.php?osCsid=a1db6f2e25721cb400bdb45c0686354d On your site, the checkout link directed me here: https://www03.powweb.com:11934/wholesale/catalog/checkout_shipping.php?osCsid=7bfa2704bdd5975be0d743f2a60f2e02 I'm not sure why the same functions would direct to different php files on the two sites. Unless, it is because we are not running the same version of OSC. I do remember reading on the osc forum that ms2 fixed some of the issues with shared ssl. You may want to reinstall the newer version. You should be able to import your product database after installing ms2 (not that I would know how to do it), but I don't think you will be able to save any of the formatting changes that you have made to date. I may be wrong on this so, please, check out the osc forum prior to making a decision. The search engine over there is pretty useful if you use * as a wildcard. Good luck! Liongate |
|
|
#14 |
|
XPW
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
|
The 2.2 install offers an "upgrade" option that will preserve your data. Any source changes you made will be gone.
I don't see any difference in shared SSL support between 2.1 and 2.2.
__________________
Steve |
|
|
|
|
#15 |
|
Join Date: Jan 2003
Posts: 49
Reputation: 5
|
yeah there is no way I want to upgrade to MS2.2 because I have custom taylored a lot of the files include a template set up and a lot of changes to the templates. I just posted on osC we'll see what they say here and if I find a fix I'll post it here! (do any of the sysadmin looking know what could be going wrong?)
|
|
|
|
|
#16 |
|
Join Date: Jan 2003
Posts: 49
Reputation: 5
|
just so we can cross reference, this is my osC post, and thanks to whoever it was that fixed my typo there! :-D
http://forums.oscommerce.com/viewtop...=221447#221447 |
|
|
![]() |
| Thread Tools | Search this Thread |
|
|