forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 upgrading => Topic started by: xavier_d on November 17, 2010, 12:31:18 am

Title: can't login after update
Post by: xavier_d on November 17, 2010, 12:31:18 am
hello,
Updated form 1.4.8 to 1.5.8 using Fantastico.  I know you don't like it.  It's an easy way for me and I use Coppermine since years.
the website is www.debeerst.com (http://www.debeerst.com)

the problem I can't login with the admin login.

I've been reading the forum and tried to install a fresh version.  Copied the old config.inc.php to the new installation http://mindex.be/astronomy2 (http://mindex.be/astronomy2)
Same problem.

Is there a possibility to login again?

thank you for helping me.

Xavier
Title: Re: can't login after update
Post by: Αndré on November 17, 2010, 09:28:53 pm
What happens if you try to login?
Title: Re: can't login after update
Post by: xavier_d on November 17, 2010, 10:06:42 pm
I get the error:  Login failed. Try again.
Title: Re: can't login after update
Post by: Αndré on November 17, 2010, 10:14:51 pm
Does it also don't work when you install a fresh version of cpg1.5.8 (without changing the config.inc.php file)?
Title: Re: can't login after update
Post by: xavier_d on November 18, 2010, 12:20:09 am
I didn't try it.
Let you know
Title: Re: can't login after update
Post by: xavier_d on November 18, 2010, 12:32:25 am
With a fresh installation there is no problem to login
Is there an other way to link the old database to the fresh setup?
There are a lot of photos with unique descriptions in the old website.
This is the only photo archive of my astrophotos I have.

thanks for helping me
Title: Re: can't login after update
Post by: Joe Carver on November 18, 2010, 12:54:11 am
Updated form 1.4.8 to 1.5.8 using Fantastico.  I know you don't like it.  It's an easy way for me ....
Automatic installs and upgrades are an easy way to pain and suffering....

Your upgrade looks to be a bit of a mess. There might be files where they don't belong, as evidenced by: http://www.debeerst.com/index.php?theme=curve

The source of your upgraded page looks like this:
Code: [Select]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>www.debeerst.com</title>
</head>
<frameset rows='100%, *' frameborder='0' border='0' framespacing='0'>
<frame name='RTKGKGALDLD' src='http://www.mindex.be/astronomy/index.php'></frame>
<noframes>
<body>
<center>
<a href='http://www.mindex.be/astronomy/index.php'>www.debeerst.com</a>
</center>
</body>
</noframes>
</frameset>
</html>

Which, in my opinion, is not how a cpg page should look.....

Start by comparing the files and folders between the two installations. Clean it until the Curve theme works well. Then try logging in.

Remember that you will need to upgrade your theme to cpg 1.5.xx standards to use it.

    For all current and future readers:
    "Automatic installs and upgrades are an easy way to pain and suffering"
    Read your document package.
Title: Re: can't login after update
Post by: xavier_d on November 18, 2010, 07:39:08 am
I agree with you that the automatic installation and upgrade isn't the most clean way to do.
It's easy for somebody who hasn't much experience with programming and servers.

If I could retrieve the information from the database I can start with a fresh installation.

greetings,

Xavier
Title: Re: can't login after update
Post by: Αndré on November 18, 2010, 09:17:29 am
Seems that your password doesn't match. No need to install several galleries and adjust the database credentials. Just reset your admin password. If you don't know how to do that, read the docs and search the board.


It's easy for somebody who hasn't much experience with programming and servers.
You don't need that skills. All you need is an ftp client application to update (= replace) Coppermine's core files.