Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Installation Help


airolg

Recommended Posts

I'm a newbie, so be kind, and I truly searched and read every single post before I ask this probably very rudimentary question, but here goes...

 

I followed the guide exactly...

 

I have my admin screen and have set up some things, but I went to my "store" and these will not show up from the catalog page:

 

/catalog/login.php

/catalog/create_account.php

/catalog/account.php

/catalog/shopping_cart.php

/catalog/checkout_shipping.php

 

These all seem to be secure pages because I can't create an account, so I must have some setting not properly set up.

 

I've checked the config files in both admin and catalog and did the "true" thing.

 

Any other suggestions?

 

Thanks to anyone that can help or has some ideas to try.

Link to comment
Share on other sites

Your images don't seem to be uploaded to the server. This is the url that I got with properties.

 

http://www.charmsnmore.com/catalog/images/Array

 

Are you uploading your images with Admin or are you just entering the URL. Becuase you can't just enter the URL. You have to hit browse and find the image on your harddrive and let admin upload the image to OSC on your server.

Steve

-------------------------

Link to comment
Share on other sites

Your images don't seem to be uploaded to the server. This is the url that I got with properties.

 

I haven't uploaded any images at all yet, only my logo. I just entered a couple of products, no images or descriptons, just the name and a price--still playing.

Link to comment
Share on other sites

Sorry, I think I got off track. You might double chech the files you have uploaded. You may of ended up with a corrupted file. Download the .zip version and use a good zip program. I've seen sometimes zip files don't decompress properly. Then rerun the install script and don't enable SSL. You don't need it till your ready to decide on a CC system. Triple check your paths. Also, before you start empty your database of all tables, start fresh. You could of also ended up with a currupted database.

 

Just thowing ideas out there.

Steve

-------------------------

Link to comment
Share on other sites

Okay, I've installed the latest snapshot and installation seems to be complete.

 

Any ideas of why if a person wants to sign up or log in, they get a "Not Found" on this server error message?

 

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

 

I left the sample database there for now, just in case I never get this thing to work. :wink:

 

I'm soooooooo close...

Link to comment
Share on other sites

Okay, I took a break because I just couldn't figure it out. So, I'm back now and here's the link:

 

From the catalog page, this is the link that is not found to log in:

https://www.charmsnmore.com/catalog/admin/c...08c5abff9cda558

 

From the catalog page, this is the link that is not found to create an account:

https://www.charmsnmore.com/catalog/admin/c...08c5abff9cda558

 

I installed it at root:

 

/catalog

/catalog/admin

 

Nothing is in https, should I have uploaded something there?

 

Could someone look at this for me?

 

Here's the code in catalog/includes/configure.php (with XXXX for login and password:

 

<?php

/*

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 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.charmsnmore.com'); // eg, http://localhost - should not be NULL for productive servers

define('HTTPS_SERVER', 'https://www.charmsnmore.com'); // eg, https://localhost - should not be NULL 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/'); // 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', '/usr/local/psa/home/vhosts/charmsnmore.com/httpdocs');

define('DIR_FS_CATALOG', '/usr/local/psa/home/vhosts/charmsnmore.com/httpdocs/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 NULL for productive servers

define('DB_SERVER_USERNAME', 'XXXXXX');

define('DB_SERVER_PASSWORD', 'XXXXXX');

define('DB_DATABASE', 'catalog');

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

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

 

 

Here's the catalog/admin/includes/configure.php

 

<?php

/*

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 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.charmsnmore.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers

define('HTTP_CATALOG_SERVER', 'http://www.charmsnmore.com');

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

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

define('DIR_FS_DOCUMENT_ROOT', '/usr/local/psa/home/vhosts/charmsnmore.com/httpdocs'); // where the pages are located on the server

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

define('DIR_FS_ADMIN', '/usr/local/psa/home/vhosts/charmsnmore.com/httpdocs/catalog/admin/'); // absolute pate required

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

define('DIR_FS_CATALOG', '/usr/local/psa/home/vhosts/charmsnmore.com/httpdocs/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 NULL for productive servers

define('DB_SERVER_USERNAME', 'XXXXX');

define('DB_SERVER_PASSWORD', 'XXXXX');

define('DB_DATABASE', 'catalog');

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

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

?>

Link to comment
Share on other sites

It almost looks like you overwrote /catalog/includes/configure.php with /admin/includes/configure.php

 

What you are showing appears correct, but the link appears to be using a different file than the one shown.

Link to comment
Share on other sites

No, I don't have anything in the https:// folder.

 

The guide doesn't say to do that, so I didn't--I followed it to the letter, according to the detailed installation. I've read most of the installation posts here and there were people that were doing that to get it to work so I tried that and it still didn't work, so I deleted it from https://

 

I can't get to "create an account" even if I type in:

 

https://www.charmsnmore.com/catalog/login.php

 

So I am assuming I need to link the http:// and https:// somehow, but I thought I'd done that.

 

Thanks for looking, Linda. I appreciate it.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...