Jump to content


Corporate Sponsors


Latest News: (loading..)

jpweber

Member Since 04 Jun 2006
Offline Last Active Jan 31 2012, 07:58
*****

Posts I've Made

In Topic: How to install SSL on OSC: A Simple 1-2-3 Instruction

27 December 2011, 04:27

Yes, your webserver, which is the eb-n1 thing. Ask your web hosting company for the path if you're still unsure, but that's probably it. It's probably something very similar to your company name or domain, so go with the eb-n1.

But the ONLY thing that should be httpS in your catalog/ADMIN/includes/configure.php folder is the following line:

define('HTTP_CATALOG_SERVER', 'https://www.domain.com');
define('HTTPS_CATALOG_SERVER', 'httpS://www.domain.com');

Nothing else with your shared SSL.

I mean, you can try adding these lines to your admin/includes/configure.php file:
define('DIR_WS_ADMIN', '/catalog/admin/');
define('DIR_FS_ADMIN', '/fullpath/to/yourserver/catalog/admin/');
Shared SSLs are strange, and very different based on your host. They should offer full support in helping you get this up and running.

Also, try adjusting your browser's settings. For instance, I think IE goes something like:

tools>internet options>security>custom level>display mixed content: enable



After that, don't forget about the http://forums.oscommerce.com/topic/334107-ssl-implementation-help/ link -- specifically, the first two posts by Jim.

In Topic: How to install SSL on OSC: A Simple 1-2-3 Instruction

25 December 2011, 12:30

View Postm.ather, on 25 December 2011, 06:54, said:

Hi dude,
Thanks for SSL tutorial, I am surprised how clear your suggestions are from 2003. WOW.
Now i am stuck with two small things in include/configure.php file.
What will be the value of the following 2 lines as i am using public_html folder on my server to put all files. I believe it has to be absolute path required. So,
which one is correct.

1. define('DIR_WS_HTTP_CATALOG', '/');

1.1 define('DIR_WS_HTTP_CATALOG', '/public_html');
2. define('DIR_FS_CATALOG', '/');
2. define('DIR_FS_CATALOG', '/public_html');

Infact what will be the value of these lines for my project.
define('HTTP_COOKIE_PATH', '???');
define('HTTPS_COOKIE_PATH', '???');
define('DIR_WS_HTTP_CATALOG', '???');
define('DIR_WS_HTTPS_CATALOG', '???');

Secondly,
in admin/include/configure.php, what will be the value of following lines,

define('DIR_FS_DOCUMENT_ROOT', '???');
define('DIR_WS_ADMIN', 'admin/'); //its ok i guess
define('DIR_FS_ADMIN', '/admin/'); //its ok i guess
define('DIR_WS_CATALOG', '???');
define('DIR_FS_CATALOG', '???');
By the way, i am using following for my localhost. dont be confuse with project1. I will copy all inner files in project1 folder to "public_html" folder on server.
C:\server\www\myserver.dev\public_html\project1\
AND
http://localhost/project1
important: I am using shared SSL with server.hostname.com/~username
Pls help Jason.

Hello Mather. Let's try this:


define('HTTP_SERVER', 'http://www.domain.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://secure.bluehost.com/~username'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'www.domain.com');
define('HTTPS_COOKIE_DOMAIN', 'secure.bluehost.com'); // leave ~username out this time

You want to make sure that the HTTP_SERVER and HTTPS_SERVER domain names are equal to the HTTP_COOKIE_DOMAIN and HTTPS_COOKIE_DOMAIN setting as well. I think things have changed slightly, and now you will notice you do not include the "https" or the "~username" or any other folders at all, just the domain name.


  define('HTTP_COOKIE_PATH', '/');
  define('HTTPS_COOKIE_PATH', '/');
  define('DIR_WS_HTTP_CATALOG', '/');
  define('DIR_WS_HTTPS_CATALOG', '/');

And

  define('DIR_FS_CATALOG', '/home/[b]YOUR FOLDER NAME[/b]/public_html/'); // absolute path required

Admin:
  define('DIR_FS_DOCUMENT_ROOT', '/home/[b]YOUR FOLDER NAME[/b]/public_html/'); // where the pages are located on the server

  define('DIR_WS_ADMIN', '/admin/'); // absolute path required
  define('DIR_FS_ADMIN', '/home/[b]YOUR FOLDER NAME[/b]/public_html/admin/'); // absolute pate required

  define('DIR_WS_CATALOG', '/[b]YOUR FOLDER NAME[/b]/'); // absolute path required
  define('DIR_FS_CATALOG', '/home/[b]YOUR FOLDER NAME[/b]/public_html/'); // absolute path required



Let me know if you have any further questions. Hope this helps.

In Topic: Unable to upload images or store logo

14 December 2011, 10:07

Definitely, your permissions are all screwed up, so you'll have to contact your webhosting support people. I can't access any page on your site ... get a 404 error, so I'm just guessing. But your permissions should be set at 705 or 755, so you need to use your FTP tool or your website's control panel to ensure proper permissions -- or contact your webhosting support people, which would be the best way if you don't know how to do it yourself.

In Topic: Designing New Themes the Easy Way

14 December 2011, 09:24

Excellent post, Jim. Anyone with enough intellect to push "power-on" to start their computer could follow your instructions, since they're so well-laid out. This is definitely signature-worthy -- putting it in my signature right now.

In Topic: Darn Ecommerce and Google Analytics

13 December 2011, 19:13

Detroit suburbs (western suburbs) here. Anyway, http://forums.oscommerce.com/topic/265617-paypal-ipn-and-google-analytics/ .... maybe that will shed some light on any issues you're having.