Forums / Install & configuration / No Database Handlers

No Database Handlers

Author Message

Peter Gogas

Wednesday 30 April 2003 4:17:12 pm

Hi,

I'm trying to install ez Publisher 3.0 release 2 on RedHat 7.1. I have php installed with MySQL support (I have phpMyAdmin working on the system).

Here is the database portion of setup.ini

[DatabaseSettings]
DatabasePluginPath=
# Use either ezmysql or ezpostgresql
DatabaseImplementation=ezmysql
Server=localhost
User=root
Password=*****
Database=ezpub
Password=******# Enable slave servers
# The slave servers will only be used for read queries
# Useful for load balanced environments
UseSlaveServer=disabled
#SlaveServerArray[]=localhost
#SlaverServerUser[]=nextgen
#SlaverServerPassword[]=nextgen
#SlaverServerDatabase[]=nextgen
# The number of times to reconnect if the first fails
ConnectRetries=0
Charset=iso-8859-1
# Use charset conversion routines in DB if possible
UseBuiltinEncoding=true
Socket=enabled
SQLOutput=disabled
UsePersistentConnection=disabled

The username and password are correct and I can use mysql from the command line.

When I go through the setup, I get the following error:

---

2. Missing database handlers

Your PHP does not have support for all databases that eZ publish support. Allthough eZ publish will work without it, it might be that you want to have support for this database. Also some databases has more advanced features, such as charset, than others.

To obtain more database support you need to recompile PHP, the exact recompile options are specified below.

---

Then when I try to connect to my database:

---

Initialize Database

No database connection

Could not connect to database.

Error #

The database would not accept the connection , please review your settings and try again.

---

Here is the debug output from that page:

---

Timing:
Apr 30 2003 19:16:49

Script start

Timing:
Apr 30 2003 19:16:49

Module start 'setup'

Warning: PHP
Apr 30 2003 19:16:49

Undefined index: in /home/netsniff/netsniff.com/html/kernel/setup/parts/init/ezstep_database_init.php on line 193

Error: eZDB::instance
Apr 30 2003 19:16:49

Database implementation not supported:

Error: eZTemplate @ setup/init/database_init.tpl:20[8]
Apr 30 2003 19:16:49

No such attribute for array(2): text
Choose one of following: text, number

Error: eZTemplate @ setup/init/database_init.tpl:21[8]
Apr 30 2003 19:16:49

No such attribute for array(7): info
Choose one of following: type, server, name, user, password, socket,
info

Error: eZTemplate @ setup/init/database_init.tpl:21[40]
Apr 30 2003 19:16:49

No such attribute for array(2): number
Choose one of following: text, number

Error: eZTemplate
Apr 30 2003 19:16:49

No such attribute for array(7): info
Choose one of following: type, server, name, user, password, socket,
info

Warning: eZTemplate
Apr 30 2003 19:16:49

No template could be loaded for "setup/db/_connection_error.tpl" using resource "design"

Error: eZTemplate
Apr 30 2003 19:16:49

No such attribute for array(7): info
Choose one of following: type, server, name, user, password, socket,
info

Error: eZTemplate @ setup/init/database_init.tpl:84[2]
Apr 30 2003 19:16:49

No such attribute for array(7): info
Choose one of following: type, server, name, user, password, socket,
info

Error: eZTemplate @ setup/init/database_init.tpl:90[2]
Apr 30 2003 19:16:49

No such attribute for array(7): info
Choose one of following: type, server, name, user, password, socket,
info

Error: eZTemplate @ setup/init/database_init.tpl:96[2]
Apr 30 2003 19:16:49

No such attribute for array(7): info
Choose one of following: type, server, name, user, password, socket,
info

Error: eZTemplate
Apr 30 2003 19:16:49

No such attribute for array(7): info
Choose one of following: type, server, name, user, password, socket,
info

Timing:
Apr 30 2003 19:16:49

End

Timing:
Apr 30 2003 19:16:49

Module end 'setup'

Timing:
Apr 30 2003 19:16:49

End

Gunnstein Lye

Friday 02 May 2003 5:42:48 am

(I assume you mean site.ini, not setup.ini.)

site.ini (or site.ini.pnp, or the relevant override file) should contain this line under [DatabaseSettings]:
DatabaseImplementation=ezmysql

as you say it does. However, this error message: "Database implementation not supported: " suggests that the the database is not specified. Maybe you have a site.ini override file where this entry is empty. I suggest you check your ini-files for this.

eZ debug

Timing: Jan 18 2025 11:42:48
Script start
Timing: Jan 18 2025 11:42:48
Module start 'content'
Timing: Jan 18 2025 11:42:48
Module end 'content'
Timing: Jan 18 2025 11:42:48
Script end

Main resources:

Total runtime0.6967 sec
Peak memory usage4,096.0000 KB
Database Queries191

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 587.7109180.8359
Module start 'content' 0.00700.5578 768.5469549.1094
Module end 'content' 0.56480.1318 1,317.6563336.7813
Script end 0.6966  1,654.4375 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.5688210.0002
Check MTime0.00150.2147210.0001
Mysql Total
Database connection0.00090.135510.0009
Mysqli_queries0.613288.00931910.0032
Looping result0.00170.24771890.0000
Template Total0.663595.220.3318
Template load0.00190.271020.0009
Template processing0.661694.964420.3308
Template load and register function0.00010.017410.0001
states
state_id_array0.00150.210210.0015
state_identifier_array0.00090.122720.0004
Override
Cache load0.00180.25891200.0000
Sytem overhead
Fetch class attribute can translate value0.00150.211130.0005
Fetch class attribute name0.00120.174130.0004
XML
Image XML parsing0.00100.141430.0003
class_abstraction
Instantiating content class attribute0.00000.001330.0000
General
dbfile0.00270.3897270.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
30content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
28content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/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: 63
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs