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: Upgrade problem -- themes & logging in  (Read 6379 times)

0 Members and 1 Guest are viewing this topic.

sweetman

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Upgrade problem -- themes & logging in
« on: January 07, 2006, 01:03:57 pm »

I recently upgraded to 1.4 and had the usual problems becuase I am using a cutom theme (Kubrick).  I started making the mods on the Theme Upgrade page but now halfway through, it looks like a lot of steps (and based on the output so far, I'm not convinced it's going to work).

As an alternate, I tried the temporary theme method passing the theme thru the URL.  When I do that, the gallery displays fine, but I still can't log in.

FYI, in reading thru the forum, I saw a refernce to some kind of db_update script, which I ran.  The output showed a bunch of added fields.

Any suggestiosn for getting this back under control?

If not, is there a way to export the photos so  can start with a fresh install?
« Last Edit: January 10, 2006, 09:14:07 am by GauGau »
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Upgrade problem -- themes
« Reply #1 on: January 07, 2006, 01:14:04 pm »

If the reason you can't login is because you are getting theme 'template errors', then you can get on by adding this to the end of your gallery url;

Code: [Select]
?theme=classic
This will then work normally.  Of course, for this to work, you have to have the classic theme in your themes folder, correctly updated.

Note also, this just affects you, as it is cookie based.  Once you have gone into your config and changed the theme to what you want, you need to correct your cookie, by doing the same as above but with 'theme=default'.

Otherwise you will be stuck in classic.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

sweetman

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Upgrade problem -- themes & logging in
« Reply #2 on: January 07, 2006, 01:23:09 pm »

Thanks for the quick response ;D -- it was so quick it came before I tried using a temporary theme (similar to your suggestion) and modified my post.

Any other suggestions?
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Upgrade problem -- themes & logging in
« Reply #3 on: January 07, 2006, 02:10:58 pm »

Is your gallery bridged?
If not, have you tried deleting your cookie and trying again?
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

sweetman

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Upgrade problem -- themes & logging in
« Reply #4 on: January 07, 2006, 02:30:54 pm »

Is your gallery bridged?
If not, have you tried deleting your cookie and trying again?

No bridges -- standalone as a redirected subdomain (sweetman.us/pix).

I tried clearing cookies under Coppermine and the cpg cookies under my domain, same problem.  I also tried using MSIE instead of my usual Mozilla, but no luck.
Logged

sweetman

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Upgrade problem -- themes & logging in
« Reply #5 on: January 10, 2006, 03:29:34 am »

For those keeping track, I found a way in.  I went into the db through MySQLAdmin and saw that in this version the passwords are not encrypted, so I just changes it. Voila!
Logged

kding

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Upgrade problem -- themes & logging in
« Reply #6 on: January 12, 2006, 04:21:54 am »

I am having the same problem.
For those keeping track, I found a way in.  I went into the db through MySQLAdmin and saw that in this version the passwords are not encrypted, so I just changes it. Voila!
  how did you do that? I can see users' password too. how can I encrypte them?
Thank you!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Upgrade problem -- themes & logging in
« Reply #7 on: January 12, 2006, 08:21:31 am »

if your coppermine gallery is up and running, go to coppermine's config - there's an option to encrypt the passwords (there's no way back though to unencrypted passwords - once you enable encryption, you have to live with it).
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Upgrade problem -- themes & logging in
« Reply #8 on: March 07, 2006, 09:39:40 am »

I recently upgraded to 1.4 and had the usual problems becuase I am using a cutom theme (Kubrick).
I have just released the Theme "Kubrick" for cpg1.4.x
Logged
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 19 queries.