![]() |
Unable to access admin page Hi, I'm quite new to PhotoPost so the answer to my question may be quite obvious. I just installed PhotoPost on my site and logging-in to PhotoPost is fine but once I'm logged in I can't access the admin page to change PhotoPost settings. When I go to the adm-index.php page it gives me a message saying: "You are not a valid administrator or moderator!" Now, I'm pretty sure I am a valid admin :) and PhotoPost is using the same database as my PHPBB board and so log-in works fine but obviously the permissions aren't. Is there a way to solve this? Thanks so much. Happy Christmas. |
I think your issue might be related to that new terrible php safety release that hosts are jumping over installing everywhere that is wreaking havoc with everything http://www.photopost.com/members/for...d.php?t=111150 |
I tried this fix but it did not help. I'm not sure the problem has to do with cookies but perhaps it has something to do with usergroups. I don't recall anything in the PhotoPost install relating to usergroups so perhaps PhotoPost isn't recognizing I am an admin or I skipped over editing any usergroup info in the install? Any help is appreciated. Thanks. |
If your using phpbb and then there is no fix at this time as I explained here http://www.photopost.com/members/for...=1#post1086145 |
Now at this time I can not upload any images to the Gallery I assume because I can not access any settings in the admin panel correct? If I can upload images without the admin panel at this time that would be wonderful. When will there be a fix for this issue? |
As I stated above and explained in further detail in the other thread I linked this is an issue we are working on as several hosts have updated there servers to a new PHP release that is causing this problem. There is no update on when a fix will be posted as the posted fix we have does not seem to work for everyone as you posted it did not work for you. |
|
I had the same problem as you... I just installed Photopost today to use with my phpBB2 forum (version 2.0.11). I am the admin, but I could not access the admin panel. I searched here and came across this fix, but it didn't work for me. I went in and checked the DB with phpMyAmin and found that only the user groups have been imported to the pp_usergroups table. The pp_users table is empty. So what I ended up doing was creating a new usergroups on my forum and then I manually added that group to the pp_usergroups table. I then set that group to have access to the admin panel (with me as the only user in the group) and voila! I had access to the admin panel. It works perfectly fine to log in using the username and password from the forum, but Photo Post just isn't recognizing the permissions, I guess. And when I logged in to the admin panel, there is no listing for "Users" - only "User groups" (I looked in the online instruction manual and saw that there is supposed to be a "Users" listing, too). I had no problems installing the program, so I'm guessing everything went well. I just think it's strange that the phpbb_user_groups table have been imported and not the phpbb_users table. Or is this how it's supposed to be? Will new registrations still be stored in the phpbb_users table? Thanks for your help! ~Marit |
The php_users table does not get imported since we check for users against the php_users table not our own |
Quote:
|
With 4.8.6 there is no issues with phpbb installs in fact I did two yesterday for customers. any fixes I posted where included in the build |
Newbie user here, I just installed 4.8.6 with PHPBB integration and also cannot get to my admin page using an admin from the phpbb system. I suspect I have done something stupid. "You are not a valid administrator or moderator!" is the message I receive. I did put the patch in phpbb2.php you sugguested, but to no avail. Thanks! sj |
I do not know what everyone does wrong on phpbb installs. There are no issues with a phpbb install unless your using 4.8.5 There is no need to patch anything. If you view your database table usergroups in phpmyadmin what entries are in there. |
My five groups, which are my pHpBB groups that transferred over are: Cross Country Members Moderators Rant and Raver Skunks I am not a member of the moderators group, since I am an admin. Do I need to add myself to that group for this to work? sj |
Where are your phpbb usergroups that we normally have before you go adding additional ones? $deleteq = "DELETE FROM {$Globals['pp_db_prefix']}usergroups"; $resultd = ppmysql_query($deleteq, $link); $query = array(); $query[] = "INSERT INTO {$pp_db_prefix}usergroups VALUES ('1','Anonymous','','','','','',0,0,0,0,0)"; $query[] = "INSERT INTO {$pp_db_prefix}usergroups VALUES ('2','Admin',1,1,1,'','',1,1,1,1,0)"; $query[] = "INSERT INTO {$pp_db_prefix}usergroups VALUES ('3','Regular Users','',1,1,'','',1,1,0,1,0)"; There 3 are absolute and should be there as these are needed for things to work. admin usergroups should have cpaccess set to 1 |
Hmm, I run about 10 phpBB websites and have never seen those groups added by default in a phpbb system. Maybe in the newer versions as I have been just upgrading for years? If I am understanding you correctly, I need these usergroup in the PHPBB usergroup file, or do I need them in the phpphotopost file? I did not know where your code snippet was from. sj |
I am talking about the photopost usergroups table phpbb does not have a usergroups table ;) |
Ok, I didn't delete them, but I will add them! Thanks. sj |
Appears to have worked like a champ, THANKS! sj |
Omegatron - I'm not sure, but this might be the problem. A user installed 4.8.6 and PHPBB and could upload etc. However, when we created usergroups for her new board and then went into Photopost admin under edit categories and clicked 'refresh usergroups from your forum software" that is when we started to have these problems. The admin disappeared completely. I followed your other thread and made the changes to the showphoto and phpbb2 files. Now this is a new install of 4.8.6 so shouldn't they already have been fixed? I hope this helps. I'm going into the table via PHPMyAdmin to fix that. Thanks! |
| All times are GMT -5. The time now is 03:22 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0