Chris Smith Posted September 8, 2006 Posted September 8, 2006 Admin/includes/config // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://personaliseyourgift.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://personaliseyourgift.com'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module Includes/config // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://personaliseyourgift.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? I have purchased a SSL from Thawte and given the CSR generated back to my hosts which have installed the SSL, however no where on my site is secured, I'm a total idiot with these things can someone please advise what is my next steps please. Thank you Chris :blush:
Chris Smith Posted September 8, 2006 Author Posted September 8, 2006 Admin/includes/config // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://personaliseyourgift.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://personaliseyourgift.com'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module Includes/config // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://personaliseyourgift.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? I have purchased a SSL from Thawte and given the CSR generated back to my hosts which have installed the SSL, however no where on my site is secured, I'm a total idiot with these things can someone please advise what is my next steps please. Thank you Chris :blush: :-"
Chris Smith Posted September 8, 2006 Author Posted September 8, 2006 :-" // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://personaliseyourgift.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://personaliseyourgift.com'); define('HTTPS_CATALOG_SERVER', 'https://personaliseyourgift.com); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://personaliseyourgift.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://personaliseyourgift.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', 'true'); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'personaliseyourgift.com'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', ''); You see! this is what happens when no-one replys now my config files look like this and I still haven't got the SSL working please someone help before I do something really stupid. ;) Thanks
Jack_mcs Posted September 8, 2006 Posted September 8, 2006 Change these define('HTTPS_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_PATH', ''); to these define('HTTPS_COOKIE_DOMAIN', '.personaliseyourgift.com''); define('HTTPS_COOKIE_PATH', '/'); Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Chris Smith Posted September 8, 2006 Author Posted September 8, 2006 Change thesedefine('HTTPS_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_PATH', ''); to these define('HTTPS_COOKIE_DOMAIN', '.personaliseyourgift.com''); define('HTTPS_COOKIE_PATH', '/'); Jack Hi after doing the above I am now getting this error on my admin Parse error: syntax error, unexpected T_STRING in /home/mlqrrjhu/public_html/admin/includes/configure.php on line 17 (this is line 17) define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module and this message on my account on the web site (but only my account and no lock is showing) Internet Explorer cannot display the webpage. Thanks
Chris Smith Posted September 8, 2006 Author Posted September 8, 2006 Hi after doing the above I am now getting this error on my admin Parse error: syntax error, unexpected T_STRING in /home/mlqrrjhu/public_html/admin/includes/configure.php on line 17 (this is line 17) define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module and this message on my account on the web site (but only my account and no lock is showing) Internet Explorer cannot display the webpage. Thanks Parse error: syntax error, unexpected T_STRING in /home/mlqrrjhu/public_html/admin/includes/configure.php on line 17 (this is line 17) define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module I have sorted the other problems, its just the Parse error i need help with now. thanks
Chris Smith Posted September 8, 2006 Author Posted September 8, 2006 Parse error: syntax error, unexpected T_STRING in /home/mlqrrjhu/public_html/admin/includes/configure.php on line 17 (this is line 17) define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module I have sorted the other problems, its just the Parse error i need help with now. thanks O.K O.K right, I have now fixed the parse error it was a ' that was missing, its all working now except the admin is not secure. the checkout procedure is secure its just the admin anyone with advice please. Thanks :thumbsup:
Jack_mcs Posted September 9, 2006 Posted September 9, 2006 You have to change this to your secure url: define('HTTPS_CATALOG_SERVER', ''); Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Recommended Posts
Archived
This topic is now archived and is closed to further replies.