 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
December 25th, 2004, 11:11 PM
|
#1 (permalink)
| | Junior Member Verified Customer
Join Date: Dec 2004
Posts: 9
| 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.
|
| |
December 26th, 2004, 08:47 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,647
|
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 strange problem after windows php upgrade / admin panel access |
| |
December 26th, 2004, 01:08 PM
|
#3 (permalink)
| | Junior Member Verified Customer
Join Date: Dec 2004
Posts: 9
|
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.
|
| |
December 26th, 2004, 06:25 PM
|
#5 (permalink)
| | Junior Member Verified Customer
Join Date: Dec 2004
Posts: 9
|
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?
|
| |
December 26th, 2004, 06:39 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,647
|
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.
|
| |
December 27th, 2004, 09:43 AM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,647
| |
| |
January 6th, 2005, 01:10 PM
|
#8 (permalink)
| | Member
Join Date: Jan 2005 Location: Norway
Posts: 56
|
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
|
| |
January 6th, 2005, 01:32 PM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,647
|
The php_users table does not get imported since we check for users against the php_users table not our own
|
| |
January 7th, 2005, 10:43 PM
|
#10 (permalink)
| | Junior Member Verified Customer
Join Date: Dec 2004
Posts: 9
| Quote: |
Originally Posted by omegatron | This fix did not work for me. I am going to try the upgrades I see have been posted. Hopefully this will solve my problem otherwise I'll be in trouble.
|
| |
January 8th, 2005, 09:03 AM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,647
|
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
|
| |
January 11th, 2005, 10:34 AM
|
#12 (permalink)
| | Member Verified Customer
Join Date: Jan 2005 Location: Kansas City
Posts: 69
|
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
|
| |
January 11th, 2005, 11:49 AM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,647
|
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.
|
| |
January 11th, 2005, 01:54 PM
|
#14 (permalink)
| | Member Verified Customer
Join Date: Jan 2005 Location: Kansas City
Posts: 69
|
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
|
| |
January 11th, 2005, 03:20 PM
|
#15 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,647
|
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
|
| |
January 12th, 2005, 11:30 AM
|
#16 (permalink)
| | Member Verified Customer
Join Date: Jan 2005 Location: Kansas City
Posts: 69
|
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
|
| |
January 12th, 2005, 11:32 AM
|
#17 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,647
|
I am talking about the photopost usergroups table phpbb does not have a usergroups table |
| |
January 12th, 2005, 11:36 AM
|
#18 (permalink)
| | Member Verified Customer
Join Date: Jan 2005 Location: Kansas City
Posts: 69
|
Ok, I didn't delete them, but I will add them!
Thanks.
sj
|
| |
January 12th, 2005, 11:44 AM
|
#19 (permalink)
| | Member Verified Customer
Join Date: Jan 2005 Location: Kansas City
Posts: 69
|
Appears to have worked like a champ, THANKS!
sj
|
| |
January 13th, 2005, 07:00 PM
|
#20 (permalink)
| | Junior Member Verified Customer
Join Date: May 2004
Posts: 11
|
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!
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | |
Similar Threads | | Thread | Thread Starter | Forum | Replies | Last Post | | Cannot Access Admin Page | atlantic2 | Photopost Pro Installation & Upgrades | 3 | October 10th, 2005 08:53 AM | | No admin access | firstcoastus | Photopost Pro Installation & Upgrades | 6 | August 22nd, 2005 11:28 AM | | admin access? | kelm | Photopost Pro Installation & Upgrades | 6 | July 8th, 2005 09:16 AM | | Cannot access Admin CP | DarknessDivine | Installs and Upgrade - vBulletin 3.0.X | 3 | March 31st, 2005 11:21 AM | | Unable to login as admin | V-Rodforums | Photopost Pro Installation & Upgrades | 6 | December 22nd, 2004 09:41 PM | All times are GMT -5. The time now is 04:01 AM. | |