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

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

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.