Forums / Install & configuration / kernel(50) - error

kernel(50) - error

Author Message

Paolo Tramontani

Tuesday 02 September 2003 9:55:21 am

Hallo,
I downloaded the 3.2 beta 1 with the whole win2k installer
I installed the packet as is.
Then I followed instructions, I choosed the corporate layout and I renamed site in "softone" and site admin in "softone_admin".
I completed the setup and all goes well.
Then sometimes when I acceed (http://localhost/index.php/softone) I got the admin page with the login form preceeded by
"Kernel(50)
No database connection could be made, the system might not behave properly"

From now on the message appear everytime I try the connection.

I tried to connect to the database with mysql-front and all goes well (user: "root", password: "")
I tried to conncet via php page directly with
$db = @mysql_connect("localhost","root","");
mysql_select_db("publish", $db);
and all goes well...

Where can the error be?

Thanks

Paul Borgermans

Tuesday 02 September 2003 11:54:48 am

Look into the settings/override

and make sure your new site access is available (do it like its doe for admin/user in site.ini).

Do you have the correct database settings in
settings/softone/site.ini.append?

You may want to put the datbase configs in
settings/override/site.ini.append.php if you are using only one database.

hth

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Paolo Tramontani

Wednesday 03 September 2003 1:33:18 am

Hi Paul, thanks for your answer.

I found the problem:
files
settings\siteaccess\softone\site.ini.append
and
settings\siteaccess\softone_admin\site.ini.append
missed all crlf characters: it means that all settings lines was merged in a unique line, making impossible to distinguish any single option or setting.

I opened these files with the notepad and I inserted manually a crlf at the end of each line and now all goes well.

The question is:
1. these files was automatically generated by the setup and was correct (since I had a correct access to both the sites in my first access).
2. I never opened this files, so it was not a fault of some windows editor.
-> 3. Perhaps some internal procedure have opened these files during normal navigation and saved or wrongly generated them.

Note that I was looking at the tutorial published by Rob Purser on SitePoint (eZ publish 3.1: Take It For A Spin). So my actions was: I created the folder mydesign in settings/siteaccess; I created the file site.ini.append in this folder with the content described in the tutorial; I added the line "AvailableSiteAccessList[]=mydesign" in the settings\site.ini file; I created the mydesign/override/templates directories in the design directory... but at this point the access to the normal softone site was impossible (error kernel(50))...

Hope this help you to understand what can have caused the problem.

Jan Borsodi

Wednesday 03 September 2003 1:37:17 am

The behaviour of opening files on Windows was changed in one of the latest PHP versions, I'll do some testing of this before the final 3.2 version. Hopefully this is just some changes to the various fopens we use.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

eZ debug

Timing: Jan 18 2025 19:14:42
Script start
Timing: Jan 18 2025 19:14:42
Module start 'content'
Timing: Jan 18 2025 19:14:43
Module end 'content'
Timing: Jan 18 2025 19:14:43
Script end

Main resources:

Total runtime0.9155 sec
Peak memory usage4,096.0000 KB
Database Queries199

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0082 587.7031180.8438
Module start 'content' 0.00820.7668 768.5469601.8047
Module end 'content' 0.77500.1404 1,370.3516337.3750
Script end 0.9154  1,707.7266 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.4364210.0002
Check MTime0.00150.1602210.0001
Mysql Total
Database connection0.00100.105010.0010
Mysqli_queries0.833791.06781990.0042
Looping result0.00230.25041970.0000
Template Total0.883796.520.4418
Template load0.00240.267420.0012
Template processing0.881296.259620.4406
Template load and register function0.00010.012710.0001
states
state_id_array0.00140.154310.0014
state_identifier_array0.00100.105120.0005
Override
Cache load0.00210.2259470.0000
Sytem overhead
Fetch class attribute can translate value0.00130.140840.0003
Fetch class attribute name0.00200.213760.0003
XML
Image XML parsing0.00150.167240.0004
class_abstraction
Instantiating content class attribute0.00000.001560.0000
General
dbfile0.00320.3517350.0001
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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 23
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs