Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: No login, After upgrade 1.3.x to 1.4.8  (Read 8403 times)

0 Members and 1 Guest are viewing this topic.

quake101

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 44
No login, After upgrade 1.3.x to 1.4.8
« on: August 25, 2006, 08:32:41 pm »

I've followed the online documentation and everything went well. Now that it's been upgraded I can't log in (even as an admin). I get the following error.

"You don't have permission to access this page."

I upgraded from 1.3.8 to 1.4.8
« Last Edit: September 10, 2006, 08:42:30 am by GauGau »
Logged

Nibbler

  • Guest
Re: After upgrade..
« Reply #1 on: August 25, 2006, 08:42:23 pm »

Do you mean that you can't login or you are not recognised as admin?
Logged

quake101

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 44
Re: After upgrade..
« Reply #2 on: August 25, 2006, 10:02:47 pm »

It's like It lets me log in, but then logs me right back out. as in...


I put in my username/password
I then get the "Welcome quake101 ..."
(I also noticed I don't see any of the menus as if I was loged in)Then when I try to access the admin.php or any other "admin" page I get the..

"You don't have permission to acces this page." error.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: After upgrade..
« Reply #3 on: August 25, 2006, 10:55:14 pm »

So after all you can log in, but the login doesn't stick. This sounds like a cookie or browser issue to me. Post a link to your page and (if you have one available) a non-admin test user account. If you don't have a test user account, just post the link to your page.
Logged

quake101

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 44
Re: After upgrade..
« Reply #4 on: August 25, 2006, 11:24:18 pm »

Logged

quake101

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 44
Re: After upgrade..
« Reply #5 on: August 25, 2006, 11:28:39 pm »

I've cleared my cookies, and tried it on both firefox and IE.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: After upgrade..
« Reply #6 on: August 26, 2006, 07:02:25 am »

You haven't upgraded your theme as per docs:
Quote
Template error
Failed to find block 'ecard_button'(#(<!-- BEGIN ecard_button -->)(.*?)(<!-- END ecard_button -->)#s) in :

        <tr>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{THUMB_TGT}" class="navmenu_pic" title="{THUMB_TITLE}"><img src="images/folder.gif" width="16" height="16" align="absmiddle" border="0" alt="{THUMB_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="javascript:;" onClick="blocking('picinfo','yes', 'block'); return false;" title="{PIC_INFO_TITLE}"><img src="images/info.gif" width="16" height="16" border="0" align="absmiddle" alt="{PIC_INFO_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{SLIDESHOW_TGT}" title="{SLIDESHOW_TITLE}"><img src="images/slideshow.gif" width="16" height="16" border="0" align="absmiddle" alt="{SLIDESHOW_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" witdh="100%">
                        {PIC_POS}
                </td>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{ECARD_TGT}" title="{ECARD_TITLE}"><img src="images/ecard.gif" width="16" height="16" border="0" align="absmiddle" alt="{ECARD_TITLE}"></a>
                </td>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{PREV_TGT}" class="navmenu_pic" title="{PREV_TITLE}"><img src="images/prev.gif" width="16" height="16" border="0" align="absmiddle" alt="{PREV_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{NEXT_TGT}" class="navmenu_pic" title="{NEXT_TITLE}"><img src="images/next.gif" width="16" height="16" border="0" align="absmiddle" alt="{NEXT_TITLE}" /></a>
                </td>
        </tr>
is what I get when going to any intermediate image. That's expected behaviour if you don't do as suggested in http://coppermine-gallery.net/demo/cpg14x/docs/theme/
Logged

quake101

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 44
Re: After upgrade..
« Reply #7 on: August 26, 2006, 03:11:02 pm »

I'm using the smf theme, so I just downloaded the newist version for 1.4.x and I'm still getting the same thing after login.

(I re-named the old outdated theme to smf_old and put the new smf theme in it's place, so coppermine should be using the new theme)
« Last Edit: August 26, 2006, 11:34:26 pm by quake101 »
Logged

quake101

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 44
Re: After upgrade..
« Reply #8 on: August 28, 2006, 01:41:57 pm »

Help?  ???
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: After upgrade..
« Reply #9 on: August 28, 2006, 08:03:49 pm »

- Your [CPG] cookie setting is fine , check for some security app on your local computer , something like ZoneAlarm,Norton Internet security & ....
- post a test user if you can
Logged
‍I don't answer to PM with support question
Please post your issue to related board

quake101

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 44
Re: After upgrade..
« Reply #10 on: August 29, 2006, 01:43:56 pm »

- Your [CPG] cookie setting is fine , check for some security app on your local computer , something like ZoneAlarm,Norton Internet security & ....
- post a test user if you can

I'm not running any type of local security app. And I am unable to post a test user as if right now. :(
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: After upgrade..
« Reply #11 on: August 29, 2006, 02:39:16 pm »

check this thread:
http://forum.coppermine-gallery.net/index.php?topic=33629.0
and download attachment , unzip it under root of gallery and run it , this way you have a test user with
username:testuser
password:test
make sure to delete that file , after user creation
Logged
‍I don't answer to PM with support question
Please post your issue to related board

quake101

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 44
Re: After upgrade..
« Reply #12 on: September 01, 2006, 04:26:46 pm »

check this thread:
http://forum.coppermine-gallery.net/index.php?topic=33629.0
and download attachment , unzip it under root of gallery and run it , this way you have a test user with
username:testuser
password:test
make sure to delete that file , after user creation

Ok, I ran the support.php, but I don't belive it created the testuser.

http://www.badassmustangs.com/gallery


I did notice I now have bebug into... :)
« Last Edit: September 01, 2006, 04:32:49 pm by quake101 »
Logged

quake101

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 44
Re: No login, After upgrade 1.3.x to 1.4.8
« Reply #13 on: September 02, 2006, 07:51:48 pm »

Any ideas?

I've deleted all the files and re-uploaded them. I've been looking into it, but I'm lost on what the heck is going on.
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: No login, After upgrade 1.3.x to 1.4.8
« Reply #14 on: September 02, 2006, 08:40:52 pm »

PM me the admin account of gallery and also a ftp & Mysql account to gallery I'll check it for you
Logged
‍I don't answer to PM with support question
Please post your issue to related board

quake101

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 44
Re: No login, After upgrade 1.3.x to 1.4.8
« Reply #15 on: September 05, 2006, 02:20:13 pm »

PM me the admin account of gallery and also a ftp & Mysql account to gallery I'll check it for you

Thank you for helping me. I really don't like to give out admin info. Maybe we can work together on a fix? If you want to can pm me more details.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: No login, After upgrade 1.3.x to 1.4.8
« Reply #16 on: September 05, 2006, 07:25:41 pm »

bmossavari is an experienced supporter and his reputation is flawless. He knows what he's doing and I think you can savely trust him not to ruin anything. It's very generous of him to offer individual support. I would re-consider his offer and send him the admin details if I were you. If you're afraid/paranoid, you could change those admin details once bmossavari is done with support.
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: No login, After upgrade 1.3.x to 1.4.8
« Reply #17 on: September 10, 2006, 12:08:36 am »

I think we can mark this one solved,
he didn't have any group under xxx_usergroups and the solution was re-creating them manualy by run this query under phpmyadmin
Code: [Select]
INSERT INTO xxx_usergroups VALUES (1, 'Administrators', 0, 1, 1, 1, 1, 1, 1, 0, 0, 3, 0, 5, 3);
INSERT INTO xxx_usergroups VALUES (2, 'Registered', 1024, 0, 1, 1, 1, 1, 1, 1, 0, 3, 0, 5, 3);
INSERT INTO xxx_usergroups VALUES (3, 'Anonymous', 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 5, 3);
INSERT INTO xxx_usergroups VALUES (4, 'Banned', 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 5, 3);

xxx is the prefix of tables
for others that see this post :
   if you want to run that query please change the xxx with your gallery's prefix
Logged
‍I don't answer to PM with support question
Please post your issue to related board
Pages: [1]   Go Up
 

Page created in 0.059 seconds with 19 queries.