Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: Nokia390 on November 27, 2009, 12:11:51 PM
-
Hi
I-m trying to install Gallary2 but when i acceess https://myserver/gallery2
give me this error:
"Database Error
An error has occurred while interacting with the database.
Back to the Gallery"
In Phpmyadmin
the gallery2 DB is
gallery2 (0)
some one have de SQL structure to generate the DB
what i can do?
Thanks and sory my english
-
how did you install Gallery2?
-
http://wiki.contribs.org/Gallery2
-
I have try everithing but stil not working
Thanks
-
I had no trouble at all installing gallery2 this morning using the command shown on the contrib wiki page:
yum --enablerepo=smecontribs install smeserver-gallery2
During installation, yum mentioned:Installing:
smeserver-gallery2 noarch 2.2-3.el4.sme smecontribs 7.8 M
...
smeserver trap pre-install: smeserver-gallery2
Installing: smeserver-gallery2 ######################### [1/1]
Creating database 'gallery2' and user 'gallery2user'
...
=======================================================================
Gallery2 Installation finished.
go to http://mmsi.homeip.net/gallery2
Username : admin
Password : admin
Please change the admin-password !!
=======================================================================
When done, I could successfully login to gallery2, version 2.2.1.
-
Installed: smeserver-gallery2.noarch 0:2.2-3.el4.sme
Complete!
yes install like that but wen i go to http://myserverip/gallery2
Database Error
An error has occurred while interacting with the database.
Back to the Gallery
I think the problem is in database
is empty
-
Nokia390, did you notice any error during setup?
is there anything interesting in logs?
-
no every sing normal.
but if i install egroupware and activate Gallery2 it work, but no if install standalone instalation of gallery
-
The gallery2 contrib is creating and using a database named 'gallery2' with a username of 'gallery2user', as well as several template fragments controlling the proper configuration of apache for use with gallery2.
If the egroupware contrib creates a database of the same name for its gallery2 add-on, but uses a different username, you may get very odd behavior. If it (or any other contrib you have installed) modifies the apache configuration file in a way that conflicts with the settings required for gallery2, you will have problems.
The bug tracker is *very* useful for getting knowledgeable programmers and developers to help you troubleshoot what is going on with your system - I urge you (again) to create a bug in the bug tracker. If you don't want to create a bug, you must decide that the gallery2 contrib does not work -- therefore, uninstall it and install the application manually.
-
ok thanks
-
I uninstall egroupware ande remove all the DB´s
i try to install aplication manualy but give this error
ERROR 1141 (42000) at line 1: There is no such grant defined for user 'gallery2user' on host 'localhost'
ERROR 1268 (HY000) at line 1: Can't drop one or more of the requested users
-
Nokia390, I think it's time to report a bug in bugzilla, please do it asap, thank you