Forums / Install & configuration / admin login doesn't work - database problem

admin login doesn't work - database problem

Author Message

Chris Green

Tuesday 30 January 2007 10:49:07 am

I just installed ezpublish version 3.90 and all appears to have gon OK..

I can log on to my site OK and edit pages etc. by logging in.

However I can't log in to the admin interface, I see an error at the top of the login screen that says:-

kernel::50
* No database connection could be made, the system might not behave properly.

Can anyone suggest what might be wrong, obviously the database is basically OK or the site wouldn't work at all. If anyone wants to take a look it's at http://home.isbd.net/ezpublish.

 

Steven E. Bailey

Wednesday 31 January 2007 3:41:11 am

Are you sure you are logging in to the admin interface using the correct siteaccess?

Check your ini files and make sure that the correct database info is in the appropriate siteaccess or override site.ini.append.php.

If you have the database info in your front end siteaccess but not the admin one, then this would happen. No idea why it would break on an install.

Certified eZPublish developer
http://ez.no/certification/verify/396111

Available for ezpublish troubleshooting, hosting and custom extension development: http://www.leidentech.com

Chris Green

Wednesday 31 January 2007 4:21:57 am

Yes, I was confused about my siteaccess.

It's not clear during the installation process but you seem to get as default when you install ezwebin_site and ezwebin_site_admin. I also seem to have (in my siteaccess subdirectory)
admin, eng and setup. eng and ezwebin_site seem identical, setup is empty, admin I'm not quite sure about.

I've read the section in the manual on siteaccess and I am a little bit less confused but it's not *totally* clear to me yet.

If I want to change the names for siteaccess can I just change the names of the subdirectories in /var/www/htdocs/ezpublish/settings/siteaccess? Can I safely remove the unwanted ones? It would seem to be sensible to have just the default (user) site access and the admin one.

Michael Maclean

Wednesday 31 January 2007 7:45:06 am

You can rename the siteaccesses if you want just by renaming the directories in settings/siteaccess/, though you will also want to edit the settings in settings/override/site.ini.append.php to match the new names - have a look particularly in the [SiteSettings] and [SiteAccessSettings] parts. You might also need to edit the anonymous user's role in the User Accounts section in the administration interface to allow login access to the new siteaccess names.

eZpedia community documentation project | http://ezpedia.org

eZ debug

Timing: Jan 20 2025 00:24:10
Script start
Timing: Jan 20 2025 00:24:10
Module start 'content'
Timing: Jan 20 2025 00:24:10
Module end 'content'
Timing: Jan 20 2025 00:24:10
Script end

Main resources:

Total runtime0.1589 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 589.1094180.8047
Module start 'content' 0.00630.0054 769.914197.9609
Module end 'content' 0.01180.1471 867.8750526.6250
Script end 0.1588  1,394.5000 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00352.2339200.0002
Check MTime0.00130.8399200.0001
Mysql Total
Database connection0.00080.524810.0008
Mysqli_queries0.110269.37741410.0008
Looping result0.00130.82041390.0000
Template Total0.146692.210.1466
Template load0.00090.554510.0009
Template processing0.145791.679310.1457
Override
Cache load0.00060.393210.0006
Sytem overhead
Fetch class attribute can translate value0.00130.789210.0013
XML
Image XML parsing0.00020.140310.0002
General
dbfile0.00483.0012200.0002
String conversion0.00000.003230.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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0002 secs