Forums / Install & configuration / Kernel (50) error on admin page, Virtual Host setup

Kernel (50) error on admin page, Virtual Host setup

Author Message

Joakim Stai

Saturday 29 November 2003 8:19:21 am

I've set up Virtual Host successfully, it finally works for me after trying different sollutions found on this forum.

This is the Virtual Host part from my Apache 1.3 httpd.conf file, I only changed my original server path and website name to something similar:

#--------------------------------------------------------------
# Main server website
<Virtualhost *:80>
<Directory c:/server/>
Options FollowSymLinks Indexes ExecCGI
AllowOverride None
</Directory>

ServerAdmin root@localhost
DocumentRoot c:/server/
ServerName www.server.com
</Virtualhost>

# eZp website
<Virtualhost *:80>
<Directory c:/server/ezpublish/>
Options FollowSymLinks Indexes ExecCGI
AllowOverride None
</Directory>

RewriteEngine On
RewriteRule !\.(gif|css|jpg|png|jar|js|html)$ /index.php

ServerAdmin root@localhost
DocumentRoot c:/server/ezpublish/
ServerName website.server.com
</Virtualhost>

# eZp website's admin area
<Virtualhost *:80>
<Directory c:/server/ezpublish/>
Options FollowSymLinks Indexes ExecCGI
AllowOverride None
</Directory>

RewriteEngine On
RewriteRule !\.(gif|css|jpg|png|jar|js|html)$ /index.php

ServerAdmin root@localhost
DocumentRoot c:/server/ezpublish/
ServerName admin.server.com
</Virtualhost>
#--------------------------------------------------------------

As you can see, the eZp folder is a sub-folder within my server, because I want the eZp website to be accessed by website.server.com, and the main server by www.server.com.

This is the only part of my settings/override/site.ini.append.php file that I changed:

#--------------------------------------------------------------
[SiteAccessSettings]
CheckValidity=false
MatchOrder=host
HostMatchType=map
HostMatchMapItems[]=website.server.com;website
HostMatchMapItems[]=admin.server.com;admin
#--------------------------------------------------------------

Everything works great, if I go to www.server.com I get to the server's main website, if I go to website.server.com I get to the eZ publish website, and if I go to admin.server.com I get to the admin login page.

But there I see the error that says "kernel (50) - No database connection could be made, the system might not behave properly." and I can't log in.

I use a dynamic DNS (instead of server.com), and somehow I can't access my server using it's DNS address from my own computer. But from another machine on my LAN I can access my server through the internet using the DNS address. Both these machines are behind a router with firewall (with port 80 open for the server machine), could that be the problem? Or is it just a setting in the override, or some other configurational mistake?

I appreciate all help I can get, especially from eZ itself. This area is not suficiently covered in the documentation and I was left to find it all out for myself using the forum. Hopefully the eZ crew or somebody else knows how to do it properly :)

Steve Cox

Friday 09 January 2004 3:57:49 pm

I have this same problem, I've searched the forum for a solution but there is NOTHING! Plenty of posts regarding problems but no real answers.

After spending two days, downloading, installing and printing documentation and another day searching the forum for a solution to the above, I've come to the conclusion that ezpublish is a waste of time becuase the writers & moderators seem to be N.F.I. (not F interested). Posts on this issue go back for months, but no solution has been yet been posted. I dare you to prove me wrong!

One can only assume that help is only available if you buy a developers license. However, based on the level of support (or lack of it) shown in this forum I'd be very worried about buying a license if I was a developer.

What a great program! With all the hype about EzPublish, you would think it would at least work.

Am I pissed off? YES..... thank you ezpublish for wasting my time!.

Steve Cox

Friday 09 January 2004 4:06:52 pm

It's now obvious to me now, that support ONLY comes with a price tag!

from the ezpublish support page:

support
" Use the eZ crew for support - first hand information"

To guarantee our customers the best possible result eZ systems offers a support program. The professional developers are ready to help you with your eZ publish development.

Let the creators of eZ publish help you.

What you will get with support
The support will cover answers by email and phone. If you need help to configure or develop features, we can help you doing that directly on your server, or as a new feature to a distribution on eZ publish. We will also be able to give advise on how to solve problems with development in eZ publish, if you want to do most of the work yourself.

Support
Decription
Price

Professional
Max 3 working days response time. All eZ publish related issues.
You will get 4 hours of consulting to use in 6 months.

e-mail
phone
log-in
on-site
$ 516

(6 months)

$ 129 pr add hour

Enterprise
Max 1 working day response time. All eZ publish related issues.
You will get 4 hours of consulting to use in 6 months.

e-mail
phone
log-in
on-site
$ 636

(6 months)

$ 159 pr add hour

You will be registered in our support system when you have ordered support. You will then receive an e-mail letting you know how to start using the support. This is normally done within 1 (one) working day.