cPanel 11 problems.

Having trouble installing serendipity?
Post Reply
sh3llz.org
Posts: 4
Joined: Sun Jul 22, 2007 11:30 am

cPanel 11 problems.

Post by sh3llz.org »

Has anyone managed to get this going in cpanel 11 or on a server with it. ive tried installing it but i get an access database error. when they released 11 it screwed up their own cppanel addons and fantastico and both needed bugfixes to fix this access database error. I was wondering if thats in the works or not. The other alternative is that with the new cpanel addons you can actually set the script up so you can install it directly in there and webmasters can offer it to all their customers. The only problem is getting it set up to install in cpanel 11 is way beyond my comprehension so i thought id leave the url for the instructions for you to browse and see what you think. I get a lot of ppl enquiring about serendipity and its terrible i cant get it working. Your help would be greatly appreciated if you could find a solution for this.

http://www.cpanel.net/docs/cpaddons/
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: cPanel 11 problems.

Post by garvinhicking »

Hi!

Sadly the documentation isn't very helpful at all. Seems to be only for Perl-Scripts? Do you know of any example PHP application that is installed by cpanel11?

Can you specify the 'Access Database' error? I'd love to help, but I know next to nothing about cpanel.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
sh3llz.org
Posts: 4
Joined: Sun Jul 22, 2007 11:30 am

Post by sh3llz.org »

Could not connect to database; check your settings.
The mySQL error was: Access denied for user 'test'@'localhost' (using password: YES)


i unrar it, go to the page, get the permissions right, set a user and password and database. make the user and database in mysql in cpanel and join them with all privelidges. all my mysql stuff run thru cpaddons and fantastico work fine.

it should be working but its not.

any help would be appreciated.
sh3llz.org
Posts: 4
Joined: Sun Jul 22, 2007 11:30 am

Post by sh3llz.org »

i know its differnet but i thought this might give you more of an insight into what the problem is. this is basically the error from fantastico. and the thread it ran in. Im just hoping this helps explain the error.

---- from the fantastico forum
The following code fails to function normally:
Code:
mysql_connect ( 'localhost' , 'cPanel_Username' , 'cPanel_Password' ) ;

i.e.: It does not result in a successful database connection (as it used to happen in pre 11.1.0 releases).

We use it to obtain the numeric suffix for new databases ($Script{$Suffix}).

At the moment, we do not have an alternate method.

-----

the url for this thread is...

http://netenberg.com/forum/viewtopic.php?t=5786

its only 2 pages long.

thanks in advance for checking it out.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Phew, that is a very general problem.

The error message tells you that with the givven cpanel username and password, no mysql connection is allowed. This can have multiple reasons:

1. The MySQL library for PHP uses MySQL 3.23, but the MySQL server uses MySQL 4.1. The password authentication scheme has changed: http://dev.mysql.com/doc/refman/5.0/en/old-client.html

2. The MySQL mysql.users Table does no longer hold a valid DB access means for the given user. Maybe this uses is no longer listed to validly connect on 'localhost'

3. Instead of TCP/IP authorization, cpanel might use socket authentication and does not properly match the MySQL user.

The problem definitely lies in the DB connectivity. The application itself can't do anything about it, so Serendipity has no way at all to change anything about the problem, you'll need to check/work this out with cpanel who provide the basic MySQL and PHP setups.

Good luck,
garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
sh3llz.org
Posts: 4
Joined: Sun Jul 22, 2007 11:30 am

Post by sh3llz.org »

yeah, im almost positive its a cpanel error. and the guys at fantastico talked to the guys at cPanel to work thru the known problem then they released a patch so fantastico worked.

thanks for checking it out tho for me. It was appreciated. My customers will just have to go without for now.
Post Reply