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: Some admin functions not showing up  (Read 5397 times)

0 Members and 1 Guest are viewing this topic.

irm

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Some admin functions not showing up
« on: December 31, 2005, 05:36:07 pm »

After upgrading to 1.4.3 from 1.3.5 the only admin functions that show up are:

Create / order my albums     Modify my albums     My profile     Sort my pictures

Also when I run versioncheck.php or config.php I get a You don't have permission to access this page. error.
« Last Edit: January 10, 2006, 04:34:16 pm by TranzNDance »
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Some admin functions not showing up
« Reply #1 on: December 31, 2005, 05:38:46 pm »

That means you are not a gallery admin. Make sure you are using the correct account.
Logged

irm

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Some admin functions not showing up
« Reply #2 on: December 31, 2005, 05:42:16 pm »

I only have one account set up, which works fine in 1.3.5
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Some admin functions not showing up
« Reply #3 on: December 31, 2005, 06:27:57 pm »

Do you have access to the database? Can you check the users table?
Logged

irm

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Some admin functions not showing up
« Reply #4 on: December 31, 2005, 08:04:57 pm »

Yes.
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Some admin functions not showing up
« Reply #5 on: December 31, 2005, 08:25:27 pm »

And there's only one user?
Logged

irm

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Some admin functions not showing up
« Reply #6 on: December 31, 2005, 08:30:12 pm »

There's 1 user user and a blank user. Also, there are user tables cpg135_user, cpg140_user and cpg_user. They are all identical except for prefix.
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Some admin functions not showing up
« Reply #7 on: December 31, 2005, 08:31:25 pm »

Then you might have done an installation when you were supposed to do an upgrade. Check the include/config.inc.php to get the prefix. Then check the corresponding table in the database.
Logged

irm

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Some admin functions not showing up
« Reply #8 on: December 31, 2005, 08:46:37 pm »

There's 1 user and a blank user in the corresponding table (cpg_). I deleted the rest.
Logged

irm

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Some admin functions not showing up
« Reply #9 on: December 31, 2005, 09:08:39 pm »

So I changed user group id from 2 to 1 for administrators and now all admin functions show up. Unfortunately xp_publish is broken again, which is where all my problems started. I've gone through all the stuff in the xp upload problem thread to no avail. I can do a clean install of 1.4.3 and it works but an upgrade breaks it. I looks like a db problem but I don,t know what.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.