View Full Version : Connecting to Database...bug
kemet
May 25th, 2006, 09:37 PM
hello everybody ...
i'm kind of little bit lost with the install process of ubuntucenter .
first of all i'm using dapper drake beta 2 release . then i install ubuntucenter packages straigth up with Gdebi the new .deb package installer of dapper drake, everything went just ok. so as reported in the install instruction ...
- i open my browser (firefox)
- typed in : http://127.0.0.1/center ------> a page comes with fields to fill, mysql
database records . so i did put my databse id/passwd and server
then there is a page that appears and it said :
Connecting to Database ....
and nothing happen at all, look like the process is just blocked at this stage
i was expecting a message like " succes it's done" or something like that but
nothing .
sorry for my english guys i'm from paris, so excuse me for the bad english ...
but please do any body have an idea to get this problem solve, cause i really and really wanna enjoy ubuntucenter like you people do , on my new fresh install of ubuntu dapper drake beta 2 . thx
-
TTT_travis
May 25th, 2006, 10:04 PM
hello everybody ...
i'm kind of little bit lost with the install process of ubuntucenter .
first of all i'm using dapper drake beta 2 release . then i install ubuntucenter packages straigth up with Gdebi the new .deb package installer of dapper drake, everything went just ok. so as reported in the install instruction ...
- i open my browser (firefox)
- typed in : http://127.0.0.1/center ------> a page comes with fields to fill, mysql
database records . so i did put my databse id/passwd and server
then there is a page that appears and it said :
Connecting to Database ....
and nothing happen at all, look like the process is just blocked at this stage
i was expecting a message like " succes it's done" or something like that but
nothing .
sorry for my english guys i'm from paris, so excuse me for the bad english ...
but please do any body have an idea to get this problem solve, cause i really and really wanna enjoy ubuntucenter like you people do , on my new fresh install of ubuntu dapper drake beta 2 . thx
-
I am a little suprised it doesn' work on a fresh copy, what I think it happening is it is attempting to connect but for some reason not, are you positive you have php5 and php5_mysql installed? this should have been installed but check anyway.
Travis
kemet
May 25th, 2006, 10:18 PM
thank you for answering
yes i have already php5 and php5_mysql install , since i use it for administering my databse with phpmyadmin.
the things is that i check the dependencie matter and now i noticed that everytime i want to install ubuntucenter there is always php4-common, php4-pear
and php-auth ..nedeed ...so i install them too with ubuntu center .
but i taugth that ubuntu center only nedeed php5 and not even one php4 librairies
TTT_travis
May 25th, 2006, 10:22 PM
thank you for answering
yes i have already php5 and php5_mysql install , since i use it for administering my databse with phpmyadmin.
the things is that i check the dependencie matter and now i noticed that everytime i want to install ubuntucenter there is always php4-common, php4-pear
and php-auth ..nedeed ...so i install them too with ubuntu center .
but i taugth that ubuntu center only nedeed php5 and not even one php4 librairies
ubuntucenter should not be asking you to install php4 as it doesn't work with php4
apt-get remove php4
and anything else relating to it
make sure all of the php5 stuff is installed
then uninstall ubuntu center
and use
dpkg -i --force-all ubuntucenter-alpha-01.deb
see if that helps
Travis
kemet
May 25th, 2006, 10:28 PM
you see i'm little bit surprised why ubuntucenter isn't using php5-common.
because when i install php-auth it will always nedd php4-common and php4-pear
i don't really if this may cause problem for ubuntu center to choose the rigth php-common librairie ...
it's really frustraiting me rigth now ...cause it's like i'm almost done with the install but when reaching that stage it's blocked with the message :
Connecting to Database ...
but thanx you travis for trying to help..
anybody else may have enconterd this kind of problem maybe ?
kemet
May 25th, 2006, 10:29 PM
ok i'll try what you just sa
kemet
May 25th, 2006, 10:30 PM
ok i'll try what you just sa
i'll try what you just said ...
TTT_travis
May 25th, 2006, 10:31 PM
php4 isn't a dependency for php-auth you shouldn't need to install php4 to use it, try the steps I listed above, they should fix your problem...I think
kemet
May 25th, 2006, 10:38 PM
really i really don't know what is going on .;; but it didn't work
i'm in same situation waiting for ubuntucenter to connect to databse .
all php5 librairies were already install before . all needed php5 stuff
it's really étrange beacause i can acces my database normally using
phpmyadmin with php5 typing in the browser : http://127.0.0.1/phpmyadmin
kemet
May 25th, 2006, 10:44 PM
when you said php4 not dependencie for php-auth that's what i taugth but
everytime i'm using synaptic to get php-auth it requires two package php4-common
and php4-pear . i don't know why ... it's kind of crazy but true
kemet
May 25th, 2006, 10:47 PM
maybe i have to configure something in mysql no ?
TTT_travis
May 25th, 2006, 10:51 PM
maybe i have to configure something in mysql no ?
Shouldn't have to at all, its all automatic,
open up the terminal and run this command:
sudo apt-get install apache2 mysql-server php5 php5-gd php5-mysql id3v2 imagemagick libgd2-dev libgd2 php-auth
copy and paste the output to here
Travis
kemet
May 25th, 2006, 11:02 PM
i just did it
and it says all php5 package are already installed
then new package which are going to be installed are : php-auth, php4common, php-pear .. do you want to continue ? press ( yes/no) : ?
if i press yes now it's going to install also php4-common librairies ...
i don't no why maybe the server between the usa and frence are not the same and the distro dependencie are a bit different . ... but i don't really think so
TTT_travis
May 25th, 2006, 11:29 PM
i just did it
and it says all php5 package are already installed
then new package which are going to be installed are : php-auth, php4common, php-pear .. do you want to continue ? press ( yes/no) : ?
if i press yes now it's going to install also php4-common librairies ...
i don't no why maybe the server between the usa and frence are not the same and the distro dependencie are a bit different . ... but i don't really think so
Think this might be dapper related, or like you said with the france dependencies, I haven't got a change to install dapper yet because it will require a lot of backing up and I am waiting for stable.
Sorry I can't be of more help, I need some sleep :)
Travis
kemet
May 26th, 2006, 02:01 PM
it was really getting on my nervs so i just decided to remove all my lamp installation
apache + php5 + mysql etc...
and i decided to install xampp for linux ...thanx to the tutorial on how to make
ubuntucanter work with xampp.
but really thx you for your help .
Winded
May 27th, 2006, 12:26 AM
Interestingly:
root@stumpy:~# apt-cache show php-auth
Package: php-auth
Priority: optional
Section: universe/web
Installed-Size: 236
Maintainer: Chris Anderson <chris@nullcode.org>
Architecture: all
Version: 1.2.3-2
Depends: php4-pear (>> 4:4.3.3)
Filename: pool/universe/p/php-auth/php-auth_1.2.3-2_all.deb
Size: 24758
MD5sum: 187e33f53f81ae6d93c2f0103bbec49e
Description: PHP PEAR modules for creating an authentication system
The PEAR::Auth package provides methods for creating an authentication
system using PHP.
.
Currently it supports the following storage containers to read/write
the login data:
.
* All databases supported by the PEAR database layer
* All databases supported by the MDB database layer
* Plaintext files
* LDAP servers
* POP3 servers
* IMAP servers
* vpopmail accounts
* RADIUS
* SAMBA password files
* SOAP
Bugs: mailto:ubuntu-users@lists.ubuntu.com
Origin: Ubuntu
Also
root@stumpy:~# apt-cache show php4-pear
Package: php4-pear
Priority: optional
Section: universe/web
Installed-Size: 24
Maintainer: Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>
Architecture: all
Source: php4
Version: 4:4.4.0-3ubuntu2
Depends: php-pear, php-db, php-http, php-mail, php-net-smtp, php-net-socket, php-xml-parser, php4-common (>= 4:4.4.0-3ubuntu2)
Filename: pool/universe/p/php4/php4-pear_4.4.0-3ubuntu2_all.deb
Size: 1178
MD5sum: 388a84f0749c6a0d16949f303ee959f9
Description: PHP Extension and Application Repository (transitional package)
This is a transitional package to move people to the "php-pear" package,
which is now generated from the php5 sources. It depends on php-pear, as
well as the classes which used to be in php4-pear, but are no longer in the
upstream PEAR distribution.
.
PHP4 is an HTML-embedded scripting language. Much of its syntax is borrowed
from C, Java and Perl with a couple of unique PHP-specific features thrown
in. The goal of the language is to allow web developers to write
dynamically generated pages quickly.
Bugs: mailto:ubuntu-users@lists.ubuntu.com
Origin: Ubuntu
This is on Ubuntu 5.10.
TTT_travis
May 27th, 2006, 12:37 AM
Interestingly:
root@stumpy:~# apt-cache show php-auth
Package: php-auth
Priority: optional
Section: universe/web
Installed-Size: 236
Maintainer: Chris Anderson <chris@nullcode.org>
Architecture: all
Version: 1.2.3-2
Depends: php4-pear (>> 4:4.3.3)
Filename: pool/universe/p/php-auth/php-auth_1.2.3-2_all.deb
Size: 24758
MD5sum: 187e33f53f81ae6d93c2f0103bbec49e
Description: PHP PEAR modules for creating an authentication system
The PEAR::Auth package provides methods for creating an authentication
system using PHP.
.
Currently it supports the following storage containers to read/write
the login data:
.
* All databases supported by the PEAR database layer
* All databases supported by the MDB database layer
* Plaintext files
* LDAP servers
* POP3 servers
* IMAP servers
* vpopmail accounts
* RADIUS
* SAMBA password files
* SOAP
Bugs: mailto:ubuntu-users@lists.ubuntu.com
Origin: Ubuntu
Also
root@stumpy:~# apt-cache show php4-pear
Package: php4-pear
Priority: optional
Section: universe/web
Installed-Size: 24
Maintainer: Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>
Architecture: all
Source: php4
Version: 4:4.4.0-3ubuntu2
Depends: php-pear, php-db, php-http, php-mail, php-net-smtp, php-net-socket, php-xml-parser, php4-common (>= 4:4.4.0-3ubuntu2)
Filename: pool/universe/p/php4/php4-pear_4.4.0-3ubuntu2_all.deb
Size: 1178
MD5sum: 388a84f0749c6a0d16949f303ee959f9
Description: PHP Extension and Application Repository (transitional package)
This is a transitional package to move people to the "php-pear" package,
which is now generated from the php5 sources. It depends on php-pear, as
well as the classes which used to be in php4-pear, but are no longer in the
upstream PEAR distribution.
.
PHP4 is an HTML-embedded scripting language. Much of its syntax is borrowed
from C, Java and Perl with a couple of unique PHP-specific features thrown
in. The goal of the language is to allow web developers to write
dynamically generated pages quickly.
Bugs: mailto:ubuntu-users@lists.ubuntu.com
Origin: Ubuntu
This is on Ubuntu 5.10.
Yeah, I will look into that one, I hate even having to have pear at all, its required for the bookmarks, I wish all php scripts would just use php_mysql instead of compatibility layers like adodb etc.
Sorry bout the dep bug,
Travis
paradizelost
June 20th, 2006, 10:22 AM
Hey, i had this same error, it seems its not getting the apache_mod_php5 or whatever that would be. i did an apt-get remove php4* and then re-ran the above command and re-installed ubuntucenter, everything worked fine then.
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.