Access Denied Error Access Denied Error
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Access Denied Error

Started by appliancedr, June 13, 2013, 09:59:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

appliancedr

on http://www.appliance-dr.com/portfolio/ of our site we're getting the error message that you see:

Quote
Notice: Undefined offset: 8192 in /hermes/waloraweb032/b850/pow.appliancedr/htdocs/portfolio/include/debugger.inc.php on line 112 Coppermine critical error:
Unable to connect to database !

MySQL said: Access denied for user 'appliancedr'@'walcustweb1205.int.bizland.net' (using password: YES)

any idea what that means and how to fix? please advise. thanks in advance.

phill104

It means that the script is trying to connect to your database but for some reason it cannot. If it was previously working and suddenly stopped you may need to contact your host as it could be there end. Check the credentials in include/config.inc.php match your database credentials.
It is a mistake to think you can solve any major problems just with potatoes.

appliancedr

making some progress. that error is gone and the portfolio functionality appears now: http://www.appliance-dr.com/portfolio/

however, there is a new error message at the top:
QuoteNotice: Undefined offset: 8192 in /hermes/waloraweb032/b850/pow.appliancedr/htdocs/portfolio/include/debugger.inc.php on line 112

this is the code from line 112 of that file:
            $this->report[$filename][] = $errortype[$errno]." line $linenum: ".$errmsg;

any idea what i need to do to fix? please advise. thanks in advance.

phill104

You will need to upgrade. You currently seem to be using CPG 1.4.10 which has been unsupported for some years. Please upgrade to the latest CPG1.5.24.
It is a mistake to think you can solve any major problems just with potatoes.

appliancedr

is there any cost for upgrading? where would i go to find the newest version?

fyi, we're taking over this project from the previous website designer that installed this software so just need a little direction. thanks.

phill104

The project link at the top of this page is where you can download the latest version. The documents link at the top will take you to the documents detailing upgrading. It is quite a simple task, just make sure you backup both your database and files before you start. The new version has too many improvements to miss. You need to upgrade as since 1.4.10 there have been a number of security fixes as I am sure you will appreciate.
It is a mistake to think you can solve any major problems just with potatoes.

appliancedr

we did the upgrade and the error message is gone. however now when we try and login, we cannot login. and we tried a password reset request but we get this error message "Selected user does not exist!"

maybe you could PM me the p-word? please advise. thanks in advance.

phill104

Not sure how I would know the password lol.

Did you remember to run update.php ?
It is a mistake to think you can solve any major problems just with potatoes.

appliancedr

yes, we did update.php.

is there any way to confirm exactly which e-mail is signed up for the account?

phill104

You can use phpmyadmin to view the contents of the cpg_users table. In there you will find the email address.

http://documentation.coppermine-gallery.net/en/dev_database.htm#db_users
It is a mistake to think you can solve any major problems just with potatoes.

appliancedr

and where would i go to login to the database?

phill104

For that you would need to ask your host. That is a functionality of your hosting package and therefore not something we could help with. They usually have a tool called phpmyadmin accessable from your control panel.
It is a mistake to think you can solve any major problems just with potatoes.

appliancedr

that worked. one last question... now that we're upgraded and logged in, we get this error message: "The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It's strongly recommended to turn it off."

how do we turn it off? we speak to our host about that? or do something else?

phill104

Yes, it is a server setting. Your host should be able to advise.
It is a mistake to think you can solve any major problems just with potatoes.