big problems help... [moved]

purd1

Registered
Sep 25, 2005
3
0
151
big problems help...

hi all, i am unable to use the scripts in the scripts library such as post nuke etc as they all give error messeges when i start a new one,

any ideas ? thanks in advance
 

purd1

Registered
Sep 25, 2005
3
0
151
webignition said:
Can you give an example of a specific script with which you are having problems, including where you find it and how you are attempting to run it, and include the full error you encounter?

--------------------------------------------------------------------------------
MamboOpenSource

PHP-Nuke

PostNuke

Xoops

e107

AdvancedGuestBook

InvisionBoard

PhpWiki

error....lib/WikiDB/backend/PearDB.php:32: Fatal[256]: Can't connect to database: wikidb_backend_mysql: fatal database error

DB Error: connect failed
( [nativecode=Access denied for user: 'ultimate_phpwiki1@localhost' (Using password: YES)] ** mysql://ultimate_phpwiki1:XXXXXXXX@localhost/ultimate_phpwiki1)

osCommerce


these are all in my cpanel scripts library, & i am getting session error etc etc.
 
Last edited:

webignition

Well-Known Member
Jan 22, 2005
1,876
2
166
As I said, could you include the full error you encounter? Without the exact error, no-one is likely to be able to suggest a solution.

In the meantime, I would recommend running /scripts/upcp --force from root shell as this tends to resolve odd cPanel issues. If you're not the server owner or administrator, you'd need to contact your hosting provider for support.
 

purd1

Registered
Sep 25, 2005
3
0
151
webignition said:
Aha - you editted your post - thanks for including the error in there too!

It looks like you're experiencing database connectivity problems. You'd need to contact your hosting provider about this so that they can investigate it server-side.
ok thanx alot, this will be my third email to them about this they keep asking me to explain further i am a bit annoyed with them at the moment lol
 

webignition

Well-Known Member
Jan 22, 2005
1,876
2
166
As far as explaining goes, all you'll need to do is clearly point out what you're trying to do and what happens when you do it.

As far as what you're trying to do is concerned, I find the best option is often to write a brief explanation followed by a list of what you do to get there, for example:

I'm trying to install PhpWiki from the scripts library in cPanel, however when I do so it look like PhpWiki is installed as I am encountering an error.

The steps I follow are:

cPanel > Scripts Library > PhpWiki > Install

When I do this, I encounter the following error:

"error....lib/WikiDB/backend/PearDB.php:32: Fatal[256]: Can't connect to database: wikidb_backend_mysql: fatal database error

DB Error: connect failed
( [nativecode=Access denied for user: 'ultimate_phpwiki1@localhost' (Using password: YES)] ** mysql://ultimate_phpwiki1:XXXXXXXX@localhost/ultimate_phpwiki1)"
If that isn't clear enough, or if your host is still unwilling to co-operate, you might want to consider moving to a new host as you're not really getting a very good service.
 

GeekPatrolMille

Well-Known Member
Mar 12, 2004
84
0
156
McKinney, Texas, USA
Was there any solution for this? I have a reseller who called this to my attemtion just last night and I have not found any answers yet. At first it seems like the problem was only on an account owned by a reseller but I am not to certain about that fact, still testing.

Any help is appreciated
 

Murtaza_t

Well-Known Member
Jan 24, 2005
474
0
166
Earth
cPanel Access Level
Website Owner
There are several reasons for "Access Denied" Error :
1. DB User is not created.
2, User is not assigned to the DB
3. User does not have ALL previleges on the database.
4. Either the user or the password is not correct.
 

abubin

Well-Known Member
Dec 7, 2004
401
3
168
one of the most common db error is the usage of new password in the transition from mysql 4.0 to 4.1. You probably want to look into using that old_password script method of fixing in the mysql website.

Sorry if this seems far fetch. Hope it is able to help you guys.
 

GeekPatrolMille

Well-Known Member
Mar 12, 2004
84
0
156
McKinney, Texas, USA
I did find a detailed answer and this is what I did to solve it on my server...
The info was also added to http://bugzilla.cpanel.net/show_bug.cgi?id=473

WHM 10.8.0 cPanel 10.8.1-C104
RedHat 9 i686 - WHM X v3.1.0

My solution to this has a few minor adjustments...

First was to edit one line in the index.php file in the root of the user
created wiki directory. This is under Part 2, Database Selection:

'dsn' => 'mysql://username_phpwiki1:PaSsWoRd@localhost/username_phpwiki1',

was changed to

'dsn' => 'mysql://username_phpwiki:PaSsWoRd@localhost/username_phpwiki1',

Second step was to add the user which was created by the installer script to
the database. I just gave it the default of all permissions.

Third step was to install the proper schema located in the
{docroot}/{wikidir}/schemas/ folder. I did this by copying this into
phpmyadmin.

This allows for the wiki to load the virgin wiki. There may be other issues to
consider. I do not know what the installer script is skipping so this could be
very insecure.