coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upgrading => Topic started by: irm on December 31, 2005, 05:36:07 PM

Title: Some admin functions not showing up
Post by: irm 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.
Title: Re: Some admin functions not showing up
Post by: Tranz on December 31, 2005, 05:38:46 PM
That means you are not a gallery admin. Make sure you are using the correct account.
Title: Re: Some admin functions not showing up
Post by: irm on December 31, 2005, 05:42:16 PM
I only have one account set up, which works fine in 1.3.5
Title: Re: Some admin functions not showing up
Post by: Tranz on December 31, 2005, 06:27:57 PM
Do you have access to the database? Can you check the users table?
Title: Re: Some admin functions not showing up
Post by: irm on December 31, 2005, 08:04:57 PM
Yes.
Title: Re: Some admin functions not showing up
Post by: Tranz on December 31, 2005, 08:25:27 PM
And there's only one user?
Title: Re: Some admin functions not showing up
Post by: irm 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.
Title: Re: Some admin functions not showing up
Post by: Tranz 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.
Title: Re: Some admin functions not showing up
Post by: irm 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.
Title: Re: Some admin functions not showing up
Post by: irm 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.