Guide: How to Install OSSuite

 
Post new topic   Reply to topic    Aprelium Forum Index -> Tutorials
View previous topic :: View next topic  

Did this guide help you with your installation?
Yes - It was helpful
16%
 16%  [ 2 ]
No - But Helpful
16%
 16%  [ 2 ]
No - I've got problems
33%
 33%  [ 4 ]
Other
33%
 33%  [ 4 ]
Total Votes : 12

Author Message
vbgunz
-


Joined: 02 Feb 2003
Posts: 615
Location: Florida

PostPosted: Mon Feb 10, 2003 5:51 pm    Post subject: Guide: How to Install OSSuite Reply with quote

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 View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
indra
-


Joined: 19 Sep 2004
Posts: 1
Location: Malaysia

PostPosted: Mon Sep 27, 2004 11:15 am    Post subject: Not Working with PHP 4.3.9 Reply with quote

I did setup everything correctly.
But this is what i get (this is the last line after a lengthy error message): on going to osadmin directory:

Warning: Unknown(): Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0

Is there any workaround for this? there's OSSuite version 1.02 by the way, i have no idea to setup it as it defines all variables first in the beginning of the script and uses them later on. Pls tell me if you have an updated tutorial

Thank You,
Indra
Back to top View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
vbgunz
-


Joined: 02 Feb 2003
Posts: 615
Location: Florida

PostPosted: Mon Sep 27, 2004 8:18 pm    Post subject: This is an aging tutorial Reply with quote

This tutorial is indeed aging quickly. I apologize for not getting it up-to-date so try a few things. 1. try the OSSuite site for an updated walkthrough. 2. Search the net for OSSuite information which can definitely help you. 3. Ask your question on both the OSSuite site and here on the Aprelium forums.

I hope you get your question answered. Good luck!
_________________
Victor B. Gonzalez
http://aeonserv.com
Back to top View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> Tutorials All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group