OSCOMMERCE SUPPORT CALL 702-453-3332

 

Help - Search - Members - Calendar
Full Version: building a localhost development implementation
osCommerce Community Support Forums > osCommerce Online Merchant v2.x > Installation and Configuration
andrew embassy
Hey all-

First time poster here.

I'm starting my first implementation of OsCommerce, and I wanted to check with folks real quick about a few things.

I started the implimentation figuring I would do all the development on my local server, and then migrate it to the remote server when it's all ready to go. Is this a feasible plan? If so, what should I enter when I get to step 4 of the installation- WWW adress, webserver root directory, etc?

I recognize it might just be smarter to do the development on a remote server, in which case I can just build it on the site itself; I'm not married to the idea of doing it locally first.

Thoughts?
wheeloftime
QUOTE (andrew embassy @ Feb 10 2007, 05:06 AM) *
Hey all-

First time poster here.

I'm starting my first implementation of OsCommerce, and I wanted to check with folks real quick about a few things.

I started the implimentation figuring I would do all the development on my local server, and then migrate it to the remote server when it's all ready to go. Is this a feasible plan? If so, what should I enter when I get to step 4 of the installation- WWW adress, webserver root directory, etc?

I recognize it might just be smarter to do the development on a remote server, in which case I can just build it on the site itself; I'm not married to the idea of doing it locally first.

Thoughts?

Local development is a lot quicker as constantly going through your remote server. Just make sure your local server/php environment is setup the same as your remote environment to prevent less pleasant surprises afterwards. The one thing which is a bit more difficult on a local machine are the emails as you would have to setup a mail server also. If you have the option of local and remote development I would do the major changes locally and when they seem alright I would put them on the remote development server for final testing.

Use localhost for the setup on your local machine.
andrew embassy
Hey Howard-

Thanks for the quick reply!

I made it to step 7, and got a couple Permission Denied warnings for configure.php

(Warning: fopen(C:\AAA\MnC\osCommerce\catalog\includes/configure.php) [function.fopen]: failed to open stream: Permission denied)

Below it, however, I got "The configuration was successful!" Which, I'm sure it probably wasn't, with the permission denied errors.

How should I go about backtracking here?
andrew embassy
I'm also getting odd url's for the 'catalog' and 'administration tool' button-

http://localhost/cart/install/://www.apric...admin/index.php

I think this must have to do with me entering in the wrong data in the early stages of the configuration- How can I avoid this next time (if I'm setting up for a local server)
wheeloftime
QUOTE (andrew embassy @ Feb 10 2007, 05:49 AM) *
Hey Howard-

Thanks for the quick reply!

I made it to step 7, and got a couple Permission Denied warnings for configure.php

(Warning: fopen(C:\AAA\MnC\osCommerce\catalog\includes/configure.php) [function.fopen]: failed to open stream: Permission denied)

Below it, however, I got "The configuration was successful!" Which, I'm sure it probably wasn't, with the permission denied errors.

How should I go about backtracking here?

On what OS are you installing locally ? You can just try to run the shop and admin to see if it indeed refuses to work because of a faulty/not complete configure.php (on catalog and admin side).

edit: just read your previous message and the error will likely be due to that.
wheeloftime
QUOTE (andrew embassy @ Feb 10 2007, 05:51 AM) *
I'm also getting odd url's for the 'catalog' and 'administration tool' button-

http://localhost/cart/install/://www.apric...admin/index.php

I think this must have to do with me entering in the wrong data in the early stages of the configuration- How can I avoid this next time (if I'm setting up for a local server)

There is not much to fill in. You use localhost for the server and the installation should pick up the correct path on your local machine.
Which package did you use for a local server/php installation ? With Xampp ie. you will have to install underneath the htdocs directory !
andrew embassy
Hey Howard-

Thanks for your help- I figured out the 'permission denied' errors.

Now my issue is I'm still getting the odd links to the store: 'http://localhost/cart/install/://localhost/cart/index.php'

On step 4 I'm entering:
WWW Address: "localhost/cart" [this is my virtual directory]
Webserver Root Directory: "C:\AAA\MnC\osCommerce\catalog"
HTTP Cookie Domain: "localhost/cart"
HTTP Cookie Path: "localhost/cart"

My server is IIS6 and a manual PHP5 install.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.