Jump to content



Latest News: (loading..)

- - - - -

New Here, Setting Up osC and Need Some Assistance.

installation

  • Please log in to reply
7 replies to this topic

#1   JustinS

JustinS
  • Members
  • 106 posts
  • Real Name:Justin Sisson

Posted 16 June 2012 - 02:37 PM

Hello everyone.
I'm probably messing up somewhere very simple, and I'm hoping someone here can help!

I'm just at the installation stage, maybe even pre-installation. I have downloaded WinSCP to load osC to my directory and have done so by moving the "Catalog" folder in to the "public_html" folder.

I know the documentation.pdf file says you may have to change permissions on the configure.php in ...admin/includes and ...catalog/includes, but I'll be honest, I really am unsure how to correctly do it.

What I did for permissions is go to both files properties, and down on the Permissions section I checked the "W" on "Group" and "Others". I assumed "W" was for write-able, and have no clue what the "X" is for.

So I think I SHOULD be at the point where I can type in www.mydomain.com/oscommerce and have it start the install... but it just returns the:
"Oops! Google Chrome could not find www."mydomain".com"

Thanks for the help if anyone is willing to try!

Edited by JustinS, 16 June 2012 - 02:47 PM.


#2 ONLINE   DunWeb

DunWeb

    The Censored One

  • Members
  • 12,720 posts
  • Real Name:Chris
  • Gender:Male
  • Location:Ontario, Canada

Posted 16 June 2012 - 03:28 PM

@JustinS

more than likely you will need to run the install as http://127.0.0.1/catalog/install/



Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:

See my Profile (click here)

#3   JustinS

JustinS
  • Members
  • 106 posts
  • Real Name:Justin Sisson

Posted 16 June 2012 - 03:46 PM

@DunWeb

Not sure what you mean, you're saying to click that link and see if it will bring up the install?
Didn't work.
Wish there was a quick easy fix like entering in the wrong web address for the install

I'm using www.mydomain.com/oscommerce/
also have tried just in case -
www.mydomain.com/catalog/
www.mydomain.com/includes_php/catalog/
www.mydomain.com/includes_php/oscommerce/

I don't know... trying every possible thing. Just not able to get this thing to install!

#4   MrPhil

MrPhil
  • Members
  • 4,127 posts
  • Real Name:Phil
  • Gender:Male

Posted 16 June 2012 - 03:55 PM

Where do you intend to have your store "live"? /, /catalog, or /oscommerce? You're best off not having it in /, but using .htaccess to redirect / to /catalog. public_html directory is /.

Directories (folders) should be 755 (rwxr-xr-x) and files should be 644 (rw-r--r--). Configure.php files should be 444 (r--r--r--) once you're done setting them up. R = Readable, W = Writable, and X = eXecutable (directories only). Some PHP installations may require certain directories to be writable for "group" or "other", in order for osC to upload files. They would be 775 or (as last resort, since it is a security hazard) 777. Wait until osC complains before changing permissions.

Quote

"Oops! Google Chrome could not find www.mydomain.com"

How long ago did you set up the domain? It may take a few days to propagate to your ISP (to recognize it).

#5 ONLINE   DunWeb

DunWeb

    The Censored One

  • Members
  • 12,720 posts
  • Real Name:Chris
  • Gender:Male
  • Location:Ontario, Canada

Posted 16 June 2012 - 04:04 PM

@MrPhil

Phil, as I read it.  He plans to configure it locally using WinSCP.  Therefore, and I may be wrong, the installation URL should be http://127.0.0.1/catalog/install/



Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:

See my Profile (click here)

#6   JustinS

JustinS
  • Members
  • 106 posts
  • Real Name:Justin Sisson

Posted 16 June 2012 - 06:43 PM

@MrPhil
Well, it's going to be on a server at my workplace used for me for testing so I can learn... I'm at home working on it now, not at work.
We're an atv parts selling company and the boss wants me to study osc and learn all I can about it to help out with our database etc.

Also he had me redo the catalog part. Instead of dragging the Catalog folder itself into public_html, I took all of the contents out of the catalog folder and moved them in there instead... so there is no folder named Catalog anymore. So with that being said how would I get the osc live?

Also if i type in my domain name it says cannot be found or whatever... so is that the problem?

With what I told you, if I type in www.mydomain.com, what should I key in after .com/

Thanks again

Edited by JustinS, 16 June 2012 - 06:44 PM.


#7 ONLINE   DunWeb

DunWeb

    The Censored One

  • Members
  • 12,720 posts
  • Real Name:Chris
  • Gender:Male
  • Location:Ontario, Canada

Posted 16 June 2012 - 06:56 PM

@JustinS

If you are trying to create a working copy of a live store on your local machine so you can 'learn'.  Then you will need to configure the TWO configure.php files manually to work in your local environment.   There is no automated script if you not creating a new site.



Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:

See my Profile (click here)

#8   MrPhil

MrPhil
  • Members
  • 4,127 posts
  • Real Name:Phil
  • Gender:Male

Posted 17 June 2012 - 01:50 PM

View PostDunWeb, on 16 June 2012 - 04:04 PM, said:

Phil, as I read it.  He plans to configure it locally using WinSCP.  Therefore, and I may be wrong, the installation URL should be http://127.0.0.1/catalog/install/

WinSCP is merely an FTP client (Windows Secure Copy). I was just saying that it's better to install into /catalog (the default) or some other subdirectory (/shop, /oscommerce, etc.) than into /. This is regardless of whether it's a test installation on a PC or a live server (and the installations should be the same in both cases).

Your boss is wrong in telling you to get rid of /catalog. You will end up crippling your site if you install osC into the root /. A major application or subsystem should always be installed into its own subdirectory. This keeps applications cleanly separated from each other and not cluttering up the site root (where you can accidentally damage system files when working on the shop). You make a "landing page" in the root, with links to other parts of the site, or (for the time being) just do a URL rewrite to invisibly transfer visitors from / to /catalog. You can name the directory /shop, /store, or even /oscommerce -- it doesn't matter. In the future, when you install a gallery or blog or something else, you won't be faced with moving your osC installation to another directory, and losing all your customer bookmarks and search engine listings.

If this is on a PC ("localhost"), it will not know the domain name and you will have to use http://localhost or http://127.0.0.1 (see the instructions with your WAMPP/XAMPP/LAMPP installation). A PC-based *AMPP installation should never be connected to the Internet, and you should never run it as a live store -- it WILL be hacked.