-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tony Lee wrote:
| Woops. Blank page!
| http://dumb.praia.jp:8001/midcom-admin/

Something really weird in your setup.

I decided to test the procedure again, with a blank database
on a RPM install of Midgard 1.4.4 and had no issues:

Install midgard-data by running ./dbinstall

Install MidCOM and needed packages:
# repligard -a -i midcom.xml
# repligard -a -i midcom-template.xml
# repligard -a -i midcom-example.xml

Install components required by the example site:
# repligard -a -i components/de.linkm.taviewer.xml
# repligard -a -i components/de.linkm.newsticker.xml
# repligard -a -i components/net.nemein.rss.xml
# repligard -a -i components/net.siriux.photos.xml
# repligard -a -i components/de.linkm.htmlfilter.xml

Now, pointing browser to http://localhost/ gives error:
Fatal error: Call to undefined function: auth_by_cookies() in
code-global on line 24
Oops, NemeinAuthentication missing, forgot to install
Aegir :-)

Installing Aegir:
# tar jxvf Aegir-1.0.1.tar.bz2
# repligard -a -i Aegir-1.0.1/AegirCMS.xml.gz

Pointing browser to http://localhost/ again. New error msg:
Fatal error: Call to undefined function: iconv() in code-global(119) :
eval()'d code(44) : eval()'d code(888) : eval()'d code on line 92

Oh yeah, MidCOM requires the PHP iconv extension. Installing
that:
# cd php-4.3.1/ext/iconv/
# phpize
# ./configure
# make
# make install
edit php.ini, add "extension iconv.so", restart Apache

Now I point my browser to http://localhost and get exactly
the same "MidCOM example site" as is in
http://devel.nemein.net/midcom/
Only difference being missing images as those are not included
in the midcom-example package for now.

Then, creating new MidCOM website.

First I configure Aegir to run in port 80:
# mysql midgard
mysql> update host set port=80;
mysql> exit

Then log into Aegir at http://localhost/aegir using
Company: System Administrator
Username: admin
Password: password

Create new company by clicking Company -> New
Name: TestCo
Administrator name: test_admin
Password: password

Create website for the company by clicking Websites
- -> New Website
Name: localhost
Prefix: /test
Type: Live only
~From template: MidCOM site template
Company: TestCo

Now pointing my browser to http://localhost/test gives
message:
Data initialization for this site is incomplete. Current status is: AIS
topic not found
Proceed to System initialization.

I follow the link to "initialization", and log in as
test_admin / password
Clicked "Initialize" button three times to get everything
show OK.

Now I look at the front page of the new site and it says:
Welcome to MidCOM site

So now my new MidCOM-powered site is running, only thing needed
is layout and content :-)

If I look at Aegir's "News & Articles" section, the TestCo
company now has two topics:
"Localhost AIS topic" and "Localhost MidCOM root topic".
The latter is where the content structure gets created.
I can create topics and articles there either through
the AIS interface (http://localhost/test/midcom-admin/ais/
in this case) or through Aegir.

/Bergie

- --
Henri Bergius                           [EMAIL PROTECTED]
Consultant Partner                      Tel: +358-20-198 6032
Nemein Oy                               http://www.nemein.com/

Nemein.Net -- Project tracking solution for consulting companies
http://www.nemein.com/en/nemeinnet/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/uIq5NkT8k497k9IRAgxmAJoCSZYlNbXKI0P13L7tXipfmuOLLQCfXamI
r+OCDeI7PMbvelOmvKLkGIk=
=GH9Y
-----END PGP SIGNATURE-----


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to