forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: appliancedr on June 13, 2013, 09:59:08 pm

Title: Access Denied Error
Post by: appliancedr on June 13, 2013, 09:59:08 pm
on http://www.appliance-dr.com/portfolio/ (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.
Title: Re: Access Denied Error
Post by: phill104 on June 13, 2013, 10:25:45 pm
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.
Title: Re: Access Denied Error
Post by: appliancedr on June 14, 2013, 12:12:21 am
making some progress. that error is gone and the portfolio functionality appears now: http://www.appliance-dr.com/portfolio/ (http://www.appliance-dr.com/portfolio/)

however, there is a new error message at the top:
Quote
Notice: 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:
Code: [Select]
            $this->report[$filename][] = $errortype[$errno]." line $linenum: ".$errmsg;
any idea what i need to do to fix? please advise. thanks in advance.
Title: Re: Access Denied Error
Post by: phill104 on June 14, 2013, 01:36:06 am
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.
Title: Re: Access Denied Error
Post by: appliancedr on June 14, 2013, 06:23:50 pm
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.
Title: Re: Access Denied Error
Post by: phill104 on June 14, 2013, 06:50:23 pm
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.
Title: Re: Access Denied Error
Post by: appliancedr on June 20, 2013, 08:48:36 pm
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.
Title: Re: Access Denied Error
Post by: phill104 on June 20, 2013, 11:13:16 pm
Not sure how I would know the password lol.

Did you remember to run update.php ?
Title: Re: Access Denied Error
Post by: appliancedr on June 21, 2013, 04:55:51 am
yes, we did update.php.

is there any way to confirm exactly which e-mail is signed up for the account?
Title: Re: Access Denied Error
Post by: phill104 on June 21, 2013, 08:40:04 am
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
Title: Re: Access Denied Error
Post by: appliancedr on June 21, 2013, 03:39:36 pm
and where would i go to login to the database?
Title: Re: Access Denied Error
Post by: phill104 on June 21, 2013, 05:03:08 pm
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.
Title: Re: Access Denied Error
Post by: appliancedr on June 21, 2013, 07:41:17 pm
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?
Title: Re: Access Denied Error
Post by: phill104 on June 21, 2013, 08:18:03 pm
Yes, it is a server setting. Your host should be able to advise.