Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

OSCommerce Up - Next what?


Genijan

Recommended Posts

My OSCommerce is up and runnign fine I can access the admin pages and all the tools.

 

How do I look at my default website or the store site.

 

I have not changed anything. i just want to first look at the default site.

 

Where do I go from here?

Link to comment
Share on other sites

Where did you install osCommerce?? On your desktop or on your web host?

 

 

It is on a stand alone machine with IIS 5.0 on a Windows 200 server.

 

MySql 4.1

PHP

 

I access the Admin website using the following link

 

http://localhost/catalog/admin/index.php.

 

I can go to admin and see al the settings.

 

I ahev not changed anything else.

 

So my assumption is, I shoudl eb able see a defult Store with the currne t listings.

 

How can I access that store on that machine.

Link to comment
Share on other sites

I get the original install page, what i got when I installed OSCOmmerce.

You must have received a few errors near the end of your setup. To get over this, you can edit catalog/includes/configure.php and catalog/admin/includes/configure.php manually.

 

But a better solution is probably to download EasyPHP. osCommerce will give you far less errors if you run it on Apache.

Link to comment
Share on other sites

You must have received a few errors near the end of your setup.  To get over this, you can edit catalog/includes/configure.php and catalog/admin/includes/configure.php manually.

 

But a better solution is probably to download EasyPHP.  osCommerce will give you far less errors if you run it on Apache.

 

 

Actully, the only error what I got during the install was realted to the MySQL 4.1 and I fixed it using the OLD_PASSWORD() command.

 

The everything went fine.

 

What do you want me to change in the Configure.php file

Link to comment
Share on other sites

Actully, the only error what I got during the install was realted to the MySQL 4.1 and I fixed it using the OLD_PASSWORD() command.

 

The everything went fine.

 

What do you want me to change in the Configure.php file

 

This is my Configure.php file

 

<?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://localhost'); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'http://localhost');

define('HTTPS_CATALOG_SERVER', '');

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

define('DIR_FS_DOCUMENT_ROOT', 'c:/inetpub/wwwroot/catalog/'); // where the pages are located on the server

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

define('DIR_FS_ADMIN', 'c:/inetpub/wwwroot/catalog/admin/'); // absolute pate required

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

define('DIR_FS_CATALOG', 'c:/inetpub/wwwroot/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', 'root');

define('DB_SERVER_PASSWORD', 'newpass');

define('DB_DATABASE', 'oscom');

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

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

?>

Link to comment
Share on other sites

Actully, the only error what I got during the install was realted to the MySQL 4.1 and I fixed it using the OLD_PASSWORD() command.

 

The everything went fine.

 

What do you want me to change in the Configure.php file

Check that all addresses/paths, database name, database username, database passwords are correct.

Link to comment
Share on other sites

In the future you might not want to post any database names, usernames and passwords in this forum. The above is fine, because it's on your local machine and not on the internet.

Link to comment
Share on other sites

In the future you might not want to post any database names, usernames and passwords in this forum.  The above is fine, because it's on your local machine and not on the internet.

 

Everything looks fine. Not able to figure out whats wrong.

 

Thank you for the suggestion. I posted it becuse it is on local machine and not connect to the network.

Link to comment
Share on other sites

Yep Checked both of them.

 

Some lines are missing on both the files. Osme are there in one and some are there in other.

 

Do they need to be the same.

No, they are different. Are all the usernames/passwords and addresses on catalog/includes/configure.php?

Link to comment
Share on other sites

I've used IIS for osCommerce in the past, but never encountered the same problem.  Hopefully someone else here has encountered and solved this.

 

Alpha Ray

 

Thanks for you help. I wish I could have solved this.

 

Let me know if you think of soemthign else.

 

Evene checked the tables looks liek my tabels are all there

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...