Some admin functions not showing up Some admin functions not showing up
 

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]

Main Menu

Some admin functions not showing up

Started by irm, December 31, 2005, 05:36:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

irm

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.

Tranz

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

irm

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

Tranz

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


Tranz


irm

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.

Tranz

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.

irm

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

irm

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.