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.

eZ debug

Timing: Jan 19 2025 00:31:07
Script start
Timing: Jan 19 2025 00:31:07
Module start 'content'
Timing: Jan 19 2025 00:31:08
Module end 'content'
Timing: Jan 19 2025 00:31:08
Script end

Main resources:

Total runtime0.7898 sec
Peak memory usage4,096.0000 KB
Database Queries194

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 587.9609180.8047
Module start 'content' 0.00660.6331 768.7656503.6875
Module end 'content' 0.63970.1499 1,272.4531337.4453
Script end 0.7896  1,609.8984 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00460.5784210.0002
Check MTime0.00170.2116210.0001
Mysql Total
Database connection0.00080.096810.0008
Mysqli_queries0.699888.60971940.0036
Looping result0.00200.25811920.0000
Template Total0.759896.220.3799
Template load0.00230.294220.0012
Template processing0.757595.909620.3787
Template load and register function0.00030.032910.0003
states
state_id_array0.00090.114610.0009
state_identifier_array0.00070.089820.0004
Override
Cache load0.00220.27441020.0000
Sytem overhead
Fetch class attribute can translate value0.00160.203030.0005
Fetch class attribute name0.00160.197130.0005
XML
Image XML parsing0.00050.067430.0002
class_abstraction
Instantiating content class attribute0.00000.001230.0000
General
dbfile0.00430.5485210.0002
String conversion0.00000.000830.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
14content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
11content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 30
 Number of unique templates used: 5

Time used to render debug report: 0.0004 secs