| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| vbgunz -
 
 
 Joined: 02 Feb 2003
 Posts: 615
 Location: Florida
 
 | 
			
				|  Posted: Sun Feb 09, 2003 10:05 pm    Post subject: Guide: How to Install OSSuite |   |  
				| 
 |  
				|  	  | Code: |  	  | OSSuite is an e-commerce application which is gathering momentum and is pretty powerful... You can find out more about OSSuite by going to the
 following address http://www.ossuite.org Keep in mind this guide is
 for Windows users... This guide relies on the php-dist file and not
 the php-recommended file...
 
 You will need the following to complete this guide...
 
 OSSuite V 101           http://www.ossuite.org
 Abyss Web Server:       http://www.aprelium.com
 php 4.3.0               http://www.php.net
 phpMyAdmin              http://www.phpmyadmin.net
 MySQL                   http://www.mysql.com
 phpedit                 http://www.phpedit.com
 WinZIP (not WinRAR)     http://www.winzip.com
 
 Please Note: You do not need phpedit to edit anything... You can use
 your favorite editor in replace of... But if all you have is notepad
 you'll thank me for it and its free...
 
 I've written a guide on phpMyAdmin and on MySQL... If you do not know
 how to use or do not have those applications you should check out those
 guides first before you dive into this one... If you've got the above
 you're ready to roll...
 
 Unzip the ossuite package and go one level deep...
 Drag ossuite into your htdocs directory...
 
 Launch phpMyAdmin and create a database, name it "ossuitedb" without
 the quotes... phpMyAdmin should say at the very top "Database
 ossuitedb running on localhost" now click on the SQL tab... Click
 browse...
 
 Navigate to the ossuite directory and find the ossuitedb.sql file...
 Select it and hit open... Now hit Go...
 
 You should see the following...
 "Your SQL-query has been executed successfully :
 The content of your file has been inserted. (371 Instructions)"
 
 Please Note: Know your user name and password... Your user name worst
 comes to worst is "root" without the quotes...
 -----------------------------------
 
 Open the following file in your favorite code editor
 ossuite/application_config.php...
 
 Make sure the following says localhost (otherwise you know what you're doing)...
 15.  define('DB_SERVER', 'localhost');
 
 If you do not have a user id then input "root" without the quotes...
 16.  define('DB_SERVER_USERNAME', 'userid');
 If you have no ID it should look like the following...
 16.  define('DB_SERVER_USERNAME', 'root');
 
 Input your database password here...
 17.  define('DB_SERVER_PASSWORD', 'password');
 If you do not have one erase the password "not the single quotes"...
 17.  define('DB_SERVER_PASSWORD', '');
 If you have a password it goes in between the single quotes...
 17.  define('DB_SERVER_PASSWORD', '!@uhGY*(89');
 
 This is the database you created in phpMyAdmin... If you named it something else that goes here...
 18.  define('DB_DATABASE', 'ossuitedb');
 If you named it something else it'll look like this...
 18.  define('DB_DATABASE', 'somethingelse');
 
 Please Note: From here to the end of this guide where ever I put the
 address 0.0.0.0 you are to replace it with your "global IP address...
 Failure to do so will increase your chances of errors... 127.0.0.1 and
 192.168.0.0 all the way up to 255.255.255.255 are not global IP
 addresses... They are local network addresses and are only accessible
 on your machine and on your local network... Go here to find out your
 IP address http://www.aprelium.com/ip/ and hope it isn't a local one
 :)
 
 If OSSuite is directly after htdocs... htdocs/ossuite
 24.  define('HTTP_SERVER', 'http://www.my.com');
 Change from above line to below line...
 24.  define('HTTP_SERVER', 'http://0.0.0.0/ossuite');
 
 If OSSuite is directly after htdocs, catalog follows it... htdocs/ossuite/catalog...
 25.  define('HTTP_SERVER_CATALOG', 'http://www.my.com');
 Change from above line to below line...
 25.  define('HTTP_SERVER_CATALOG', 'http://0.0.0.0/ossuite/oscatalog');
 
 Change the following value "/images/" to "../images" without the double quotes...
 31.  define('DIR_WS_IMAGES',  '/images/');
 Change from above line to below line...
 31.  define('DIR_WS_IMAGES',  '../images/');
 
 For the below line we'll simply add an "s" after "http" without the
 quotes and point to the ossuite directory...
 
 46.  define('HTTPS_SERVER', 'http://www.my.com');
 Change from above line to below line...
 46.  define('HTTPS_SERVER', 'https://0.0.0.0/ossuite');
 
 That's it for the application_config.php document... Save and close
 it...
 -----------------------------------
 
 Open up the following document htdocs/ossuite/languages/osadmin/english.php and edit line 12
 12.  setlocale('LC_TIME', 'en_US.ISO_8859-1');
 Add a double forward slash and a space to it "// " without the quotes... It should now look like this...
 12.  // setlocale('LC_TIME', 'en_US.ISO_8859-1');
 
 Please Note: We have to do this just one more time but on another
 document located at the following:
 
 htdocs/ossuite/languages/oscatalog/english.php
 
 Open up the following document htdocs/ossuite/languages/oscatalog/english.php and edit line 12
 12.  setlocale('LC_TIME', 'en_US.ISO_8859-1');
 Add a double forward slash and a space to it "// " without the quotes... It should now look like this...
 12.  // setlocale('LC_TIME', 'en_US.ISO_8859-1');
 
 That's it for the two documents... Save and close them and launch the
 Abyss console...
 -----------------------------------
 
 Server Configuration > Advanced > Aliases > Add
 
 Virtual Path:   /ossuite/oscatalog/images
 Realm:          htdocs/ossuite/images
 
 OK > Add
 
 Virtual Path:   /ossuite/osadmin/images
 Realm:          htdocs/ossuite/images
 
 OK > Add
 
 Virtual Path:   /ossuite/oserp/images
 Realm:          htdocs/ossuite/images
 
 OK > OK > Server Parameters > Index Files > Add
 
 Enter "default.php" without the quotes...
 
 OK > Restart
 -----------------------------------
 
 We'll by now if you've done everything correct you should be able to
 access your new applications
 
 http://0.0.0.0/ossuite/osadmin (Administration)
 http://0.0.0.0/ossuite/oscatalog (Storefront)
 http://0.0.0.0/ossuite/oserp (sales Management)
 
 Congratulations :)
 | 
 _________________
 Victor B. Gonzalez
 http://aeonserv.com
 |  | 
	
		| Back to top |              | 
	
		|  | 
	
		| vbgunz -
 
 
 Joined: 02 Feb 2003
 Posts: 615
 Location: Florida
 
 | 
			
				|  Posted: Sun Feb 09, 2003 10:23 pm    Post subject: Please report errors in a reply to this post... Thank You |   |  
				| 
 |  
				| This guide was put together in minor haste... Though I triple checked it for errors I at times felt very overwhelmed with it considering I am extrememly busy at the moment with plenty of work on my hands... If you find errors please post them, if you have comments, questions and or problems please post them... I will appreciate anyone also telling of their experience in following this quick guides... 
 Thank you for your time :)
 _________________
 Victor B. Gonzalez
 http://aeonserv.com
 |  | 
	
		| Back to top |              | 
	
		|  | 
	
		| tanner -
 
 
 Joined: 17 Feb 2003
 Posts: 1
 
 
 | 
			
				|  Posted: Mon Feb 17, 2003 12:28 pm    Post subject: Ossuite problem |   |  
				| 
 |  
				| Hi, I went through all of your installation steps and felt that they were all completely successfully. I keep getting an error message: 
 "Notice: Undefined variable: DOCUMENT_ROOT in C:\Program Files\Abyss Web Server\htdocs\OSSUITE\application_config.php on line 26"
 
 This occsurs when I try to reach: http://66.27.68.204/OSSUITE/application_config.php
 
 I am runny Abyss web server on
 -Windows XP Pro
 and all the items you requested:
 OSSuite V 101
 Abyss Web Server:
 php 4.3.0
 phpMyAdmin
 MySQL
 phpedit
 WinZIP (not WinRAR)
 
 Thanks
 |  | 
	
		| Back to top |     | 
	
		|  | 
	
		| vbgunz -
 
 
 Joined: 02 Feb 2003
 Posts: 615
 Location: Florida
 
 | 
			
				|  Posted: Mon Feb 17, 2003 7:52 pm    Post subject: |   |  
				| 
 |  
				| I tried checking your page out but couldnt get to it... I am off to check application_config on my end... Hopefully I can come up with an answer :) 
 PS. Incase you skipped it... OSSuite is not really compatible with the php-recommended as it is with the php-dist file...
 
 PSS. Though I show how to set ip up, you'll need up to 11 plugins to get to work securely on your server...
 _________________
 Victor B. Gonzalez
 http://aeonserv.com
 |  | 
	
		| Back to top |              | 
	
		|  | 
	
		| vbgunz -
 
 
 Joined: 02 Feb 2003
 Posts: 615
 Location: Florida
 
 | 
			
				|  Posted: Mon Feb 17, 2003 7:57 pm    Post subject: |   |  
				| 
 |  
				| OK, I looked at line 26 and this is what I see... 
 "  define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT . '/'); // where your pages are located on the server.. needed to delete images.. (eg, /usr/local/apache/htdocs)"
 
 As far as I am concerned this line should work out the box with no manipulation of any kind... Did you happen to edit it by any chance?
 
 I wrote this guide on XP home so it should work better on XP than on 95 or 98 and so on...
 
 If you did touch it make the value a slash again like above...
 
 I hope this helps :)
 _________________
 Victor B. Gonzalez
 http://aeonserv.com
 |  | 
	
		| Back to top |              | 
	
		|  | 
	
		|  |