Jump to content



Photo
* * * * - 18 votes

Quick Install Guide


  • Please log in to reply
2387 replies to this topic

#1   Vger

Vger
  • Members
  • 16,978 posts
  • Real Name:R Anthony
  • Gender:Not Telling

Posted 27 July 2005 - 16:21

I'm posting this here so that people who need to can find a quick Installation Guide for osCommerce. It goes a bit further than the Installation Guide in the Knowledge Base.

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

Here's the quick install guide.

1. Create a blank database via your web hosting control panel.

2. Download the osCommerce 2.2 MS2 zip file from the downloads section of www.oscommerce.com, unzip it and extract the 'catalog' folder.

3. If you want your shop to be available at http://www.yourdomain.com/catalog then upload the whole of the catalog folder to the root directory of your website via FTP. If you want the site to be available at http://www.yourdomain.com then just upload all of the contents of the catalog folder, but not the folder itself.

4. Make sure that the permissions on all of the folders are set to 755, and if that does not work then set them to 777. Make sure that the includes/configure.php file and the admin/includes/configure.php file are set to 777 for the duration of the install. Once the install is complete reset to 644, 444, or 400 depending on your server setup.

5. Then go to http://www.yourdomain.com/install and begin the install procedure. Your DB Server will probably be 'localhost', your db user name and password (for mysql access) will have been provided to you by your web hosting company. The name of the database you already know - because you just set it up. Do not enable SSL, elect to store sessions in the database and not files (untick the box), and do not enable persistent connections.

6. After the install create a folder called 'backups' inside the 'admin' folder (via FTP), and delete the install folder. Reset permissions on the two configure.php files.

7. Password Protect your 'admin' folder using the Password Protect feature in your web hosting control panel.

Away you go!

Vger

#2   excession

excession
  • Members
  • 66 posts
  • Real Name:Gary Butler

Posted 28 July 2005 - 11:12

I don't suppose you could add a 'quick install EPDQ module' could you?

#3   mikeq

mikeq
  • Members
  • 726 posts
  • Real Name:mike quinn
  • Location:Edinburgh, Scotland

Posted 28 July 2005 - 11:28

I don't suppose you could add a 'quick install EPDQ module' could you?

<{POST_SNAPBACK}>


See what you've started Vger /laugh.gif' class='bbc_emoticon' alt=':lol:' />
"All animals are equal, but some animals are more equal than others" - George Orwell

#4   gmherron

gmherron
  • Members
  • 1 posts
  • Real Name:Glyn Herron

Posted 07 August 2005 - 23:32

Hi Vger,

please be gentle with me, this is my first post!!

Thanks for the more in depth insight into installing oscommerce.

I am wanting to initially develop my shop on my PC before I upload it.

I am having difficulty setting up the database also.

I have used the search function in the forum, but without exact string match clauses, there are thousands of hits, which are extremely confusing and relate to stuff that I am lightyears away from.

I am using the Xmapp suite, and can see the database creation within phpmyadmin. How do I find out how many fields I need to creat, their types / attributes. Is it a flat or relational database?

Has someone got a blank database that I could use?

I really do seem to be spending many hours going round in circles and never getting anywhere. Any help would be greatly appreciated.

Thanks

Glyn /crying.gif' class='bbc_emoticon' alt=':'(' />






I'm posting this here so that people who need to can find a quick Installation Guide for osCommerce.  It goes a bit further than the Installation Guide in the Knowledge Base.

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

Here's the quick install guide.

1. Create a blank database via your web hosting control panel.

2. Download the osCommerce 2.2 MS2 zip file from the downloads section of www.oscommerce.com, unzip it and extract the 'catalog' folder.

3. If you want your shop to be available at http://www.yourdomain.com/catalog then upload the whole of the catalog folder to the root directory of your website via FTP. If you want the site to be available at http://www.yourdomain.com then just upload all of the contents of the catalog folder, but not the folder itself.

4. Make sure that the permissions on all of the folders are set to 755, and if that does not work then set them to 777. Make sure that the includes/configure.php file and the admin/includes/configure.php file are set to 777 for the duration of the install. Once the install is complete reset to 644, 444, or 400 depending on your server setup.

5. Then go to http://www.yourdomain.com/install and begin the install procedure. Your DB Server will probably be 'localhost', your db user name and password (for mysql access) will have been provided to you by your web hosting company. The name of the database you already know - because you just set it up. Do not enable SSL, elect to store sessions in the database and not files (untick the box), and do not enable persistent connections.

6. After the install create a folder called 'backups' inside the 'admin' folder (via FTP), and delete the install folder. Reset permissions on the two configure.php files.

7. Password Protect your 'admin' folder using the Password Protect feature in your web hosting control panel.

Away you go!

Vger

<{POST_SNAPBACK}>



#5   Orenji

Orenji
  • Members
  • 49 posts
  • Real Name:Orenji

Posted 12 August 2005 - 19:39

I'm doing a new installation over server and got this error:

The following error has occurred:


The configuration files do not exist, or permission levels are not set.

Please perform the following actions:
cd /hsphere/local/home/orenji/domain.com/catalog/includes/
touch configure.php
chmod 706 configure.php
cd /hsphere/local/home/orenji/domain.com/catalog/admin/includes/
touch configure.php
chmod 706 configure.php

both files are set to 777 but installation still can't go thru, and anyone kindly explain what is 706? thanks.

#6   Buck

Buck
  • Members
  • 74 posts
  • Real Name:Buck McDaniel
  • Gender:Male
  • Location:NC

Posted 27 August 2005 - 00:48

<snip>
6. After the install create a folder called 'backups' inside the 'admin' folder (via FTP), and delete the install folder. Reset permissions on the two configure.php files.
<snip>
Vger

<{POST_SNAPBACK}>


I am only finding one config*.php file to modify. Am I overlooking one?

thanks
Buck
Buck

#7   Vger

Vger
  • Members
  • 16,978 posts
  • Real Name:R Anthony
  • Gender:Not Telling

Posted 27 August 2005 - 00:50

includes/configure.php
admin/includes/configure.php

Vger

#8   Buck

Buck
  • Members
  • 74 posts
  • Real Name:Buck McDaniel
  • Gender:Male
  • Location:NC

Posted 27 August 2005 - 01:00

includes/configure.php
admin/includes/configure.php

Vger

<{POST_SNAPBACK}>


Mine doesn't reference the Admin in any form from includes/configure.php. The admin/includes/configure.php requires a change in address name.


Buck
Buck

#9   Vger

Vger
  • Members
  • 16,978 posts
  • Real Name:R Anthony
  • Gender:Not Telling

Posted 27 August 2005 - 01:10

Mine doesn't reference the Admin in any form from includes/configure.php.


Correct. There's one for admin and one for the shop front.

Vger

#10   TCwho

TCwho
  • Members
  • 732 posts
  • Real Name:Danny

Posted 27 August 2005 - 01:41

this can get long and funky /laugh.gif' class='bbc_emoticon' alt=':lol:' />

but Im sure it will help some /thumbsup.gif' class='bbc_emoticon' alt=':thumbsup:' />

very nice of you Vger

#11   wmike

wmike
  • Members
  • 5 posts
  • Real Name:Mike Wright

Posted 03 September 2005 - 13:37

Hi Vyger,

Do you have any ideas on how to install a local machine for testing, please?

Cheers!

Mike W

I'm posting this here so that people who need to can find a quick Installation Guide for osCommerce.  It goes a bit further than the Installation Guide in the Knowledge Base.

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

Here's the quick install guide.

1. Create a blank database via your web hosting control panel.

2. Download the osCommerce 2.2 MS2 zip file from the downloads section of www.oscommerce.com, unzip it and extract the 'catalog' folder.

3. If you want your shop to be available at http://www.yourdomain.com/catalog then upload the whole of the catalog folder to the root directory of your website via FTP. If you want the site to be available at http://www.yourdomain.com then just upload all of the contents of the catalog folder, but not the folder itself.

4. Make sure that the permissions on all of the folders are set to 755, and if that does not work then set them to 777. Make sure that the includes/configure.php file and the admin/includes/configure.php file are set to 777 for the duration of the install. Once the install is complete reset to 644, 444, or 400 depending on your server setup.

5. Then go to http://www.yourdomain.com/install and begin the install procedure. Your DB Server will probably be 'localhost', your db user name and password (for mysql access) will have been provided to you by your web hosting company. The name of the database you already know - because you just set it up. Do not enable SSL, elect to store sessions in the database and not files (untick the box), and do not enable persistent connections.



6. After the install create a folder called 'backups' inside the 'admin' folder (via FTP), and delete the install folder. Reset permissions on the two configure.php files.

7. Password Protect your 'admin' folder using the Password Protect feature in your web hosting control panel.

Away you go!

Vger

<{POST_SNAPBACK}>



#12   Vger

Vger
  • Members
  • 16,978 posts
  • Real Name:R Anthony
  • Gender:Not Telling

Posted 03 September 2005 - 13:44

Go to http://www.apachefriends.org/en and download XAMPP to your computer. It's a 1-click install, and includes all you need, Apache server, PHP 4 and 5, Open SSL, Mail Server, FileZilla etc.

Once you've done the XAMPP installation then you can use the Quick Install Guide to get your local testing site up and running.

Be aware that XAMPP uses php5 by default, but comes bundled with php4 also. Go to http://localhost and into your XAMPP control panel. Then click on the XAMPP icon to shut down Apache, click on the switch-php.bat link and enter 4 when the terminal window pops up. Then restart Apache using php4.

Vger

#13   wmike

wmike
  • Members
  • 5 posts
  • Real Name:Mike Wright

Posted 03 September 2005 - 15:44

Hi Vyger,

Now using XAMPP as suggested - got a little further this time.

Now able to get installed on a local machine - still getting errors, however.

See below:


Warning: session_start(): open(/tmp\sess_a107a1e1f4976478288304e93e4f51a7, O_RDWR) failed: No such file or directory (2) in D:\XAMPP\xampp\htdocs\catalog\includes\functions\sessions.php on line 67
Warning Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created.

Yep - OK - where exactly should this tmp directory be created?

Other errors:

Warning: session_write_close(): open(/tmp\sess_a107a1e1f4976478288304e93e4f51a7, O_RDWR) failed: No such file or directory (2) in D:\XAMPP\xampp\htdocs\catalog\includes\functions\sessions.php on line 106

Warning: session_write_close(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in D:\XAMPP\xampp\htdocs\catalog\includes\functions\sessions.php on line 106

Any advice gratefully recieved.

Many thanks!


Mike W

#14   Vger

Vger
  • Members
  • 16,978 posts
  • Real Name:R Anthony
  • Gender:Not Telling

Posted 03 September 2005 - 16:35

The latest errors are caused by the first error - so fix that and the others will disappear. To fix the first error just edit the last line of both configure.php files to read 'mysql' where indicated - this stores session data in the database and so no need for a'tmp' folder and the error goes away.

Vger

#15   gigsscom

gigsscom
  • Members
  • 13 posts
  • Real Name:Greg Cleveland

Posted 24 September 2005 - 21:06

The latest errors are caused by the first error - so fix that and the others will disappear.  To fix the first error just edit the last line of both configure.php files to read 'mysql' where indicated - this stores session data in the database and so no need for a'tmp' folder and the error goes away.

Vger

<{POST_SNAPBACK}>



Im trying the quick install but i cant locate my folder named 'catalog'. Could somebody please help me locate it. Sorry in advance I am new to this.

#16   Vger

Vger
  • Members
  • 16,978 posts
  • Real Name:R Anthony
  • Gender:Not Telling

Posted 24 September 2005 - 22:44

The name 'catalog' is used because the default osCommerce files/folders come inside a folder called 'catalog'. It used to be the case that most people installed osCommerce not in the root of their web but in a folder, so their address would be http://www.yourdomain.com/catalog

If however you install in the root of your website (http://www.yourdomain.com) then there would be no 'catalog' folder.

Vger

#17   Osnewb

Osnewb
  • Members
  • 7 posts
  • Real Name:jim

Posted 04 October 2005 - 22:20

The name 'catalog' is used because the default osCommerce files/folders come inside a folder called 'catalog'. It used to be the case that most people installed osCommerce not in the root of their web but in a folder, so their address would be http://www.yourdomain.com/catalog

If however you install in the root of your website (http://www.yourdomain.com) then there would be no 'catalog' folder.

Vger

I installed this fine on my local machine with Xampp. I went to install it on our hosts machine and have a blank page on my admin screen. Storefront seems to function, but not the admin, any ideas?
Jim

#18   Vger

Vger
  • Members
  • 16,978 posts
  • Real Name:R Anthony
  • Gender:Not Telling

Posted 04 October 2005 - 22:24

php5?

Vger

#19   Osnewb

Osnewb
  • Members
  • 7 posts
  • Real Name:jim

Posted 04 October 2005 - 22:39

php5?

Vger

Host says 4.3 I will check
Jim

#20   Osnewb

Osnewb
  • Members
  • 7 posts
  • Real Name:jim

Posted 04 October 2005 - 22:52

Host says 4.3 I will check
Jim

The host indicates this is the problem " That is becuase you have not set the database information in html/admin/includes/configure.php" Isn't this an automatic setup?
Jim