Advanced search  

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

Pages: [1]   Go Down

Author Topic: Webhosting Migration, now coppermine admin login doesnt work  (Read 5845 times)

0 Members and 1 Guest are viewing this topic.

corykantar

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Webhosting Migration, now coppermine admin login doesnt work
« on: September 14, 2009, 06:55:23 pm »

Hello all,

I appologize for my lack of knowledge on this subject.. But here is my scenario.

My webhost changed servers, and migrated all my websites and databases to a new server.  Upon restoration, i am seeing several problems in the coppermine gallery i setup for my future father-in-law.  His gallery is at www.corgiatphotos.com/gallery

I am not certain how to ascertain the exact version of coppermine but i installed it only a few months ago, so it should be 1.4.x (maybe someone can give me a guidance on how to determine the version number).

At the top of the index page i see this error:

Notice: Undefined offset: 8192 in /home/dennis/public_html/corgiatphotos.com/gallery/include/debugger.inc.php on line 112

Also, i am unable to login to the admin with the credentials that worked before.

When i try to login with the correct credentials the error message is:
*** Couldn't log in. Try again *** 
Warning your browser does not accept script's cookies 


It may also be pertinent to note that the hosting server went from mysql 4 to mysql 5, and all the pictures and comments, etc appear to still work on the site, but i cannot administer it.

Any help is much appreciated!
Logged

corykantar

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Webhosting Migration, now coppermine admin login doesnt work
« Reply #1 on: September 14, 2009, 07:14:11 pm »

I located in the README the version is:


  ********************************************
  Coppermine version: 1.4.21
  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/README.txt $
  $Revision: 5728 $
  $Author: gaugau $
  $Date: 2009-03-02 09:25:17 +0100 (Mo, 02 Mär 2009) $
**********************************************/
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1545
  • aka 'i-imagine'
    • Home Page
Re: Webhosting Migration, now coppermine admin login doesnt work
« Reply #2 on: September 14, 2009, 07:28:35 pm »

Also, i am unable to login to the admin with the credentials that worked before.

You could very well have been hacked. Yes, you need to upgrade to cpg1.4.25.

And you also need to read this thread - Yikes, I've been hacked Follow all steps.

Upgrading alone probably will not solve your problem.

Turn off Debug (in the Admin/Config menu) for the message that you see. However, if as you imply, things like the login have changed, but you haven't changed them then someone might have hacked into your site.

corykantar

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Webhosting Migration, now coppermine admin login doesnt work
« Reply #3 on: September 14, 2009, 07:30:06 pm »

hmmm... Okay, i can upgrade, however i think the fact that i was hacked is very very unlikely!
Logged

corykantar

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Webhosting Migration, now coppermine admin login doesnt work
« Reply #4 on: September 14, 2009, 07:35:32 pm »

actually can i even upgrade without login credentials to the admin section of my gallery?  I can ftp to my webhost... but wont i need to put the site into maintenance mode?
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1545
  • aka 'i-imagine'
    • Home Page

corykantar

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Webhosting Migration, now coppermine admin login doesnt work
« Reply #6 on: September 14, 2009, 08:28:08 pm »

the reason i say it is unlikely is because the site wasnt even on google..  It was a really new site maybe up for 2 months, and unless coppermine reports itself to some directory, i dont see how a hacker would have known to hack the site, or with the two users that visit, what motivation they would have to do so!
Logged

corykantar

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Webhosting Migration, now coppermine admin login doesnt work
« Reply #7 on: September 14, 2009, 08:47:15 pm »

alright, i updated to the latest version, one error message is gone:

Notice: Undefined offset: 8192 in /home/dennis/public_html/corgiatphotos.com/gallery/include/debugger.inc.php on line 112


but i still cant login to the gallery as my admin account. 
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Webhosting Migration, now coppermine admin login doesnt work
« Reply #8 on: September 14, 2009, 09:16:45 pm »

Use phpmyadmin to check if there are any other users with admin rights.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

corykantar

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Webhosting Migration, now coppermine admin login doesnt work
« Reply #9 on: September 14, 2009, 11:32:21 pm »

pardon my ignorance, but assuming i have phpmyadmin, what do i look for?
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Webhosting Migration, now coppermine admin login doesnt work
« Reply #10 on: September 15, 2009, 01:12:05 am »

In the database (accessable via phpmyadmin) you will have a table marked CPGxxx_Users (where xxx will be numbers but is not important here). When you browse that table you will see a list of usernames. Associated with each username there will be a number of details, one of these will be marked user_group. If a user has a 1 in that user group he will be classed as an admin. So if any users are in that group that should not be then you need to do something about it.

If you do not have phpmyadmin the Nibbler has written just the plugin you need, a basic phpmyadmin install as a plugin for coppermine.

http://forum.coppermine-gallery.net/index.php/topic,58906.0.html

Please make a backup of your database efore doing any work on it. Also, if you are not familiar with phpmyadmin and databases google phpmyadmin basics where you will find loads of tutorials
Logged
It is a mistake to think you can solve any major problems just with potatoes.

corykantar

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Webhosting Migration, now coppermine admin login doesnt work
« Reply #11 on: September 15, 2009, 05:31:51 pm »

My original problem is solved i recovered the password through email and after upgrading everything seems to work fine.

new question:

I want to move my coppermine gallery from www.domain.com/gallery   to www.domain.com/

Can i simply move the files?  Is there a config in the admin section i need to change first and then move the files?
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Webhosting Migration, now coppermine admin login doesnt work
« Reply #12 on: September 15, 2009, 06:02:16 pm »

That question has been asked many times before. Please use the search facility where you will find some very detailed answers.

Additionally, we have a strict one question per thread rule. This is to aid users when using the aformentioned search facility.

Locking.
Logged
It is a mistake to think you can solve any major problems just with potatoes.
Pages: [1]   Go Up
 

Page created in 0.04 seconds with 19 queries.