PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Installation & Upgrades (http://www.photopost.com/forum/photopost-pro-installation-upgrades/)
-   -   Unable to login as admin (http://www.photopost.com/forum/photopost-pro-installation-upgrades/111105-unable-login-admin.html)

V-Rodforums December 22nd, 2004 06:09 PM

Unable to login as admin
 
I changed my VB3 forum to another type of gallery and and decided to use my PP license with a private forum that I own running phpBB2. The setup goes fine and members and myself show up as logged in however I have no access to the admin panel. If I try the adm-index.php link direct it tells me that I am not the admin. It also has one more member listed then the forum does.

phpBB2 version is 2.0.11
fresh install of photopost 4.8.5 with no errors

When I check the data base phpBB2 list guest as member number 0 and I wonder if PP is picking up on guest and calling them the extra member.

Thanks in advance

Max

Chuck S December 22nd, 2004 07:45 PM

what are your usergroup inserts?

There should be an insert for admins with cpaccess set to 1 and groupid of 2 in the photopost usergroups table

V-Rodforums December 22nd, 2004 07:59 PM

If your refering to the DB usergroup table it looks like this

CREATE TABLE `pp_usergroups` (
`groupid` int(5) NOT NULL auto_increment,
`groupname` varchar(50) NOT NULL default '',
`cpaccess` smallint(3) NOT NULL default '0',
`modaccess` smallint(3) NOT NULL default '0',
`uploads` smallint(3) NOT NULL default '1',
`comments` smallint(3) NOT NULL default '1',
`diskspace` int(10) default NULL,
`uploadsize` int(10) default NULL,
`uplimit` int(5) NOT NULL default '0',
`editpho` int(3) NOT NULL default '0',
`editposts` int(3) NOT NULL default '0',
`useralbums` int(3) NOT NULL default '0',
`reqmod` int(3) NOT NULL default '0',
`canassign` int(3) NOT NULL default '0',
PRIMARY KEY (`groupid`)
) TYPE=MyISAM;

Chuck S December 22nd, 2004 08:07 PM

what are the inserts to that table not the table structure?

V-Rodforums December 22nd, 2004 08:12 PM

omegatron I'm afraid that I'm not sure what information your asking for. When I search the DB for inserts I get no response.

Chuck S December 22nd, 2004 09:02 PM

try inserting these

INSERT INTO pp_usergroups VALUES ('1','Anonymous','','','','','',0,0,0,0,0,0,0)
INSERT INTO pp_usergroups VALUES ('2','Admin',1,1,1,'','',1,1,1,1,0,0,0)
INSERT INTO pp_usergroups VALUES ('3','Regular Users','',1,1,'','',1,1,0,1,0,0,0)

V-Rodforums December 22nd, 2004 09:41 PM

Thanks omegatron, that did the trick.

Max


All times are GMT -5. The time now is 10:18 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97