Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

911


tec

Recommended Posts

Hi all, Ihave 2 hours to get htis site working.

I did all this stuff

 

Edit these lines

Code:

define('HTTPS_SERVER', 'https://secure.yoursite.com');

 

Change this to point to your https serever.

Code:

define('ENABLE_SSL', false);

 

Change this to true.

 

but now my images are broken!

http://www.mobilitiwireless.com/catalog/default.php

 

PLEASE PLEASE HELP ME!

 

:(

Link to comment
Share on other sites

okay, my images re working now, I put https on both the admin and catalog but my 'check out' and 'my account' are still coming up 404

:?

Link to comment
Share on other sites

I am no expert, but I can tell you one thing that you need to do more than worry about broken images (I do not see any on your site :P ) You need to delete the catalog/install folder. :) Do you see the little pink message accross the top of your page when you load it? It is telling you to get rid of that folder.

 

As for the problem you describe, I do not see it. Perhaps you need to clear your browser cache?

 

Mark

Link to comment
Share on other sites

thanks MArk!

I will delete the install file.

 

My pica are fixed ass far as i Know but now when I try to check out or check my account, I am getting a $)$.

Funny, I do believe it was your post that got me by my first problem

:o

Link to comment
Share on other sites

Delete the install directory not just the install file.

 

Your problem is your path/setting.

 

SSL is for handsonwebhosting.com

your catalog https points to your site (aliased) but trys to hit pages on handsonwebhosting.

See the last line of the error message:

Apache/1.3.27 Server at handsonwebhosting.com Port 443

 

Look at your admin's link and where it's going!

Link to comment
Share on other sites

Looks like your stylesheet.css is not in the /catalog

 

Check your /includes/configure.php files and check if you have defined the real path to your root, example:

define('DIR_FS_DOCUMENT_ROOT', '/home/octave/public_html');

Link to comment
Share on other sites

Here is my /catalog/configure.php file ... your's appears a bit moofed up:

  define('HTTP_SERVER', 'http://www.8thoctave.com'); // eg, http://localhost - should not be NULL for productive servers

 define('HTTPS_SERVER', 'https://secure.sashbox.net/~octave'); // eg, https://localhost - should not be NULL for productive servers

 define('ENABLE_SSL', true); // secure webserver for checkout procedure?

 define('DIR_WS_CATALOG', '/osc_freecall/'); // absolute path required

 define('DIR_WS_IMAGES', 'images/');

 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

 define('DIR_WS_INCLUDES', 'includes/'); // If "URL fopen wrappers" are enabled in PHP (which they are in the default configuration), this can be a URL instead of a local pathname

 define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

 define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

 define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');

 define('DIR_FS_DOCUMENT_ROOT', '/home/octave/public_html'); // 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_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);

 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

Link to comment
Share on other sites

Your DNS alias is mobilitiwireless.com Should not have to handsonwebhosting within osC.

 

Look at both config files. Make sure the 'FS' is the actual file directory (physical) path, and 'WS' is the actual web URL path.

Link to comment
Share on other sites

mine looks like this, I am using the new version of OS

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTPS_SERVER', 'http://www.mobilitiwireless.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://www.mobilitiwireless.com'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('DIR_WS_CATALOG', '/catalog/'); // absolute path required

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');

define('DIR_FS_DOCUMENT_ROOT', '/home/mobiliti/public_html');

define('DIR_FS_CATALOG', '/home/mobiliti/public_html/catalog/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

// define our database connection

define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', '*******');

define('DB_SERVER_PASSWORD', '******');

define('DB_DATABASE', 'mobiliti_osCommerce');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

?>

 

EDITED: Linda McGrath

Link to comment
Share on other sites

mine looks like this, I am on teh new version of Os, dont know if that matters

 

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTPS_SERVER', 'http://www.mobilitiwireless.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://www.mobilitiwireless.com'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('DIR_WS_CATALOG', '/catalog/'); // absolute path required

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');

define('DIR_FS_DOCUMENT_ROOT', '/home/mobiliti/public_html');

define('DIR_FS_CATALOG', '/home/mobiliti/public_html/catalog/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

// define our database connection

define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', '*****');

define('DB_SERVER_PASSWORD', '*****');

define('DB_DATABASE', 'mobiliti_osCommerce');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

?>

 

EDITED: Linda McGrath

Link to comment
Share on other sites

Change this line:

define('HTTPS_SERVER', 'http://www.mobilitiwireless.com'); // eg, http://localhost - should not be empty for productive servers

 

To:

define('HTTP_SERVER', 'http://www.mobilitiwireless.com'); // eg, http://localhost - should not be empty for productive servers

 

Just the first one not the second one.

Link to comment
Share on other sites

Your DNS alias is mobilitiwireless.com  Should not have to handsonwebhosting within osC.  

 

Look at both config files.  Make sure the 'FS' is the actual file directory (physical) path, and 'WS' is the actual web URL path.

 

 

 

I dont know how?

Link to comment
Share on other sites

your admin does not work is becuase you are using ssl. And your checkout does not for the same issue.

So, post the config file for the admin (remove the db password lines)

And tell us the URL for your https directory.

Link to comment
Share on other sites

admin/includes/config

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTPS_SERVER', 'http://www.mobilitiwireless.com'); // eg, http://localhost or - https://localhost should not be empty for productive servers

define('HTTPS_CATALOG_SERVER', 'http://www.mobilitiwireless.com');

define('HTTPS_CATALOG_SERVER', 'https://www.mobilitiwireless.com');

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

define('DIR_FS_DOCUMENT_ROOT', '/home/mobiliti/public_html'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/admin/'); // absolute path required

define('DIR_FS_ADMIN', '/home/mobiliti/public_html/admin/'); // absolute pate required

define('DIR_WS_CATALOG', '/catalog/'); // absolute path required

define('DIR_FS_CATALOG', '/home/mobiliti/public_html/catalog/'); // absolute path required

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

// define our database connection

define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'mobiliti_erudyna');

define('DB_SERVER_PASSWORD', 'and the password');

define('DB_DATABASE', 'mobiliti_osCommerce');

define('USE_PCONNECT', 'false'); // use persisstent connections?

define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

?>

 

 

And tell us the URL for your https directory

I dont know..all I know is this

http://www.mobilitiwireless.com/admin/

 

http://www.mobilitiwireless.com/catalog/default.php

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...