Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

followed impossible "https" between the pages admin


balthor7

Recommended Posts

Posted

hello,

I activated the "SSL" on my host (hostexcellence), I made a request "SSL" to reach the administration of my web site, I edit file configure.php in the following manner :

 

  define('HTTP_SERVER', 'https//idact39.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers
 define('HTTP_CATALOG_SERVER', '');
 define('HTTPS_CATALOG_SERVER', '');
 define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)
 define('DIR_WS_ADMIN', '/admin/');

 

and therefore I access my administration with an "https", but the trouble comes when I want to move from one page to another of my administration.

I returns to "http" and therefore whenever I receive an error message...

 

 

what should I do to fix it?

osCommerce 2.2-MS2.

Posted

try the following:

define('HTTP_SERVER', 'https//idact39.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers
 define('HTTP_CATALOG_SERVER', 'http//idact39.com');
 define('HTTPS_CATALOG_SERVER', 'https//idact39.com');
 define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Posted
sorry but this don't change my probleme...

 

what do I can doing?

 

 

define('DIR_FS_DOCUMENT_ROOT' should be a fullpath to your install

 

define('HTTP_SERVER', 'https//idact39.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers

define('HTTP_CATALOG_SERVER', '/');

define('HTTPS_CATALOG_SERVER', '/');

define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', 'FULL PATH HERE'); // (eg, /usr/local/apache/htdocs)

define('DIR_WS_ADMIN', '/admin/');

  • 2 weeks later...
Posted
define('DIR_FS_DOCUMENT_ROOT' should be a fullpath to your install

 

define('HTTP_SERVER', 'https://idact39.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers

define('HTTP_CATALOG_SERVER', '/');

define('HTTPS_CATALOG_SERVER', '/');

define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', 'FULL PATH HERE'); // (eg, /usr/local/apache/htdocs)

define('DIR_WS_ADMIN', '/admin/');

 

I have test this solution, but this wasn't good. my URL always returns to "http" instead of staying in "https" when I change my administration page.

So I try with the 2 solutions at the same time, but this na not solved my problem...

 

Edit : I have replace "FULL PATH HERE" by "/hsphere/local/home/grincheu/idcat39.com/"

osCommerce 2.2-MS2.

Posted
I have test this solution, but this wasn't good.

 

 

No you are wrong this should be a full path not $DOCUMENT_ROOT.

 

I think what you meant was ..

 

Thanks for showing me the best way to do that part but I'm afraid that I have still messed up my configure.php files and am in need of more help!!

Posted
No you are wrong this should be a full path not $DOCUMENT_ROOT.

 

I think what you meant was ..

 

Thanks for showing me the best way to do that part but I'm afraid that I have still messed up my configure.php files and am in need of more help!!

 

You are right !

 

I applied all you suggested but the error always is there.

 

The $DOCUMENT_ROOT has been modified to reflect the full path.

 

I need help and it becomes URGENT for me to get the answer... If you need, I can send you my config.php file.

 

Thanks for your HELP.

osCommerce 2.2-MS2.

Posted

I have found the error!!! :)

I haven't change the "local/configure.php"... ;) So they don't call the good path

osCommerce 2.2-MS2.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...