Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Installation


gorillacyclist

Recommended Posts

I have read all the read me's and wiki installation guides but they skirt over the installation with incredible bravity

 

Managed to get the installation wizard going after reconfiguring php.ini (not mentioned in guide)

 

but can't get past stage 2 >>>

 

( I guessed that I needed to create the database so duplicated phpMyAdmin into www_ so I could run it, created a table and ran oscomerse.sql through it to presumably create a table - none of this is documented)

 

however I still don't have any values for these... Am running locally so tried local host etc

 

Database Server: http://localhost?

Username:

Database username

Password:

 

can't see how to supply these values to the database using phpMyAdmin. Is there not a full installation doc for windows users (98% of population) I'll write it if needbe. docs just say folow instructions!

 

I'm used to asp so was able to guess some of this but what about a web designer with no scripting knowledge.

 

Sorry to winge but looks like you have a good product here, & want to get started + life's too short

 

Regards Paul

Link to comment
Share on other sites

is this for the configuration of easyphp

 

or the information for your configure.php files for the oscommerce

 

Database Server: localhost // do not use the http: part or 127.0.0.1

Username: root

Database //make this the name of the database that you created

Password: // leave this blank till you get to know your way around

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Hi Paul,

 

Welcome to the forum. Your right this is a great product.

 

I will try to help you out here. I am running apache2triad on win2k so I understand what you are trying to do a little.

 

Is your server apache or iis?

 

Anyway I don't think it should matter.

 

For some reason beyond my knowledge I have had to modify the config files away from the standard osc code to get them to work with my server as it is configured. I use the out of box configuration except with a changed password.

 

Here is how it looks:

 

<?php

/*

$Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $

 

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

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

define('HTTP_COOKIE_DOMAIN', 'localhost');

define('HTTPS_COOKIE_DOMAIN', 'localhost');

define('HTTP_COOKIE_PATH', '/catalog/');

define('HTTPS_COOKIE_PATH', '/catalog/');

define('DIR_WS_HTTP_CATALOG', '/catalog/');

define('DIR_WS_HTTPS_CATALOG', '/catalog/');

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', 'pub/');

define('DIR_FS_CATALOG', 'C:/apache2/htdocs/catalog/'); path to your store

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', 'root');

define('DB_SERVER_PASSWORD', 'xxxx'); usually same as server password unless you have changed it

define('DB_DATABASE', 'dbname');

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

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

?>

 

Admin is basically the same structure.

 

To install osc you must first create the db in phpmyadmin and then run the osc install supplying the info asked for. I have successfully run this install numerous times.

 

Let me know.

 

Tim

How do you know when you know what you want to do for the rest of your life?

Link to comment
Share on other sites

Forgot to mention that I am running XP with Easyphp 1.7

 

However I have upgraded php, mysql and phpMyAdmin although still running apache 1.3.3 have yet to upgrade to apache2

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

steve,

 

info supplied is for config of install wizard step 2

I just downloaded the easyphp 1.7 is it advisable to update the different compentents - apache & phpmyadmin?

 

thanks masat hope it will make sense soon - have xp home so no IIS

 

thanks all for response

Paul

Link to comment
Share on other sites

got it working, showing some errors with seesion cookie witting, checked file permissions and set to read only on root down, alter folder properties but keeps returning to read only. Can't seems to eneable write priveliges, sent sessions to databse in end anyone else had this?

 

Paul

Link to comment
Share on other sites

got it working, showing some errors with seesion cookie witting, checked file permissions and set to read only on root down, alter folder properties but keeps returning to read only. Can't seems to eneable write priveliges, sent sessions to databse in end anyone else had this?

 

Paul

Session stored in the database is fine and the simplest :)

 

Perhaps you need to logon to Windows as administrator in order to change permissions.

 

Matti

Link to comment
Share on other sites

steve,

 

info supplied is for config of install wizard step 2

I just downloaded the easyphp 1.7 is it advisable to update the different compentents - apache & phpmyadmin?

 

thanks masat hope it will make sense soon - have xp home so no IIS

 

thanks all for response

Paul

You dont have to upgrade anything if you dont want to as easyphp will work fine as is.

 

My post was to illistrate that you can upgrade the component parts if you want or need to.

 

SESSION DIRECTORY DOES NOT EXIST

 

change the last line in the following files

 

catalog/includes/configure.php

admin/includes/configure.php

 

from

define('STORE_SESSIONS', '');

to

define('STORE_SESSIONS', 'mysql');

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...