Guest Posted September 26, 2005 Posted September 26, 2005 Hi All, I have just purchases an ssl cert and have installed it to my webserver (Unix). I hav edited the configure php to show that its enable see: <?php /* 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://firstsextoys.co.uk'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://firstsextoys.co.uk'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.firstsextoys.co.uk'); define('HTTPS_COOKIE_DOMAIN',firstsextoys.co.uk ''); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/''); define('DIR_WS_HTTP_CATALOG', '/'); Now when i try to access my site via www.firstsextoys.co.uk i get the folowing : Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/firstsex/public_html/includes/configure.php on line 18 and if i attempt to go to the site via https://www.firstsextoys.co.uk i get page cannot be displayed. Has anybody got any ideas. Kind regards and thanks in advance Mark
Guest Posted September 26, 2005 Posted September 26, 2005 define('HTTPS_COOKIE_DOMAIN',firstsextoys.co.uk ''); to define('HTTPS_COOKIE_DOMAIN', '.firstsextoys.co.uk'); and define('HTTP_COOKIE_DOMAIN', 'www.firstsextoys.co.uk'); to define('HTTP_COOKIE_DOMAIN', '.firstsextoys.co.uk');
Guest Posted September 26, 2005 Posted September 26, 2005 define('HTTPS_COOKIE_DOMAIN',firstsextoys.co.uk ''); to define('HTTPS_COOKIE_DOMAIN', '.firstsextoys.co.uk'); and define('HTTP_COOKIE_DOMAIN', 'www.firstsextoys.co.uk'); to define('HTTP_COOKIE_DOMAIN', '.firstsextoys.co.uk'); Hi john thanks for the quick reply, i am now getting a parse erro on line 19 now whicj is line define('HTTP_COOKIE_DOMAIN', '.firstsextoys.co.uk');
Guest Posted September 26, 2005 Posted September 26, 2005 Hi john thanks for the quick reply, i am now getting a parse erro on line 19 now whicj is line define('HTTP_COOKIE_DOMAIN', '.firstsextoys.co.uk'); Hi, slowly getting somewhere. after changing my config.php to the same as the ones in the instructions http://www.oscommerce.info/kb/osCommerce/G...mon_Problems/75 I now get my website up, but when i clcik on any of the links i then et pag cannot be displayed.. Please help.. slowly pulling my hair out... think im missing something really obvious.
Guest Posted September 26, 2005 Posted September 26, 2005 Hi, slowly getting somewhere. after changing my config.php to the same as the ones in the instructions http://www.oscommerce.info/kb/osCommerce/G...mon_Problems/75 I now get my website up, but when i clcik on any of the links i then et pag cannot be displayed.. Please help.. slowly pulling my hair out... think im missing something really obvious. seems like nobody wants to help.. Slowly working this out so maybe somebody now can help on the next bit I have now got the link to change by changing my configure.php to this <?php /* 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.firstsextoys.co.uk'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://firstsextoys.co.uk'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.firstsextoys.co.uk'); define('HTTPS_COOKIE_DOMAIN', 'firstsextoys.co.uk'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); But when i click on check out, whic is the bit were the site changes to SSL eg: https://firstsextoys.co.uk/checkout_shippin...1602e600f58626d I get page cannot be displayed.... hopefully somebody has come across this and can help me please... i am also searching the web for answers and if i find one i`ll let you all know Cheers Mark
Recommended Posts
Archived
This topic is now archived and is closed to further replies.