 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
December 7th, 2010, 10:12 AM
|
#1 (permalink)
| | Member
Join Date: Feb 2002
Posts: 167
| ""You are not a valid administrator or moderator!"
Upgraded 4.8 to the latest version. Turned on integration. It does seem to recognize me as a user, but not as an admin. When I try to go to the admin page, it gives me another login then when I do login it says:
"You are not a valid administrator or moderator!"
What do I do now.
|
| |
December 7th, 2010, 11:14 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
Some more information may help here. did you also upgrade your forum? what type of integration. Url and test user login?
|
| |
December 7th, 2010, 12:51 PM
|
#3 (permalink)
| | Member
Join Date: Feb 2002
Posts: 167
|
No, we did not upgrade the forum. We only upgraded photpost. Unfortunately this is in my sandbox right now which is not online so I cannot give you a login because it is inaccessible. This is the test before we actually try this.. So far it is failing. It was never integrated with the forum before.
|
| |
December 7th, 2010, 01:11 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
If it was never integrated with the forum then your login from the forum would not work with photopost. To assign permissions correctly our product needs to be correctly installed with the product it is integrating with.
That would be the heart of your issue. There are several threads here on switching integration because there is alot to consider. What would happen with all your old photos and ownership because all the users would not exist on the forum. There are bound to be repercussions from switching sometimes minor to major. http://www.photopost.com/forum/1236444-post4.html
That would help you with steps on how to switch integrations.
|
| |
December 7th, 2010, 02:19 PM
|
#5 (permalink)
| | Member
Join Date: Feb 2002
Posts: 167
|
THe thread you posted is about converting phpbb to vbulletin? This is a stand alone photopost install going to vbulletin. Do you actually have a way to do that?
|
| |
December 7th, 2010, 02:29 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
The steps would be the same except you use the impex importer from vb and select photopost import
1. upgrade photopost if not using the latest
2. install vb
3. use vb impex system to import photopost
4. empty the pp_usergroups table in your photopost database so on next step your vb usergroups will get imported
5. rerun photopost install using same prefix and database to integrate with vb. this will not delete data
6. run the userfix script from our photopost import forum here to realign userid's when you switch integration
|
| |
December 7th, 2010, 04:54 PM
|
#7 (permalink)
| | Member
Join Date: Feb 2002
Posts: 167
| Quote:
Originally Posted by Chuck S 6. run the userfix script from our photopost import forum here to realign userid's when you switch integration | Thanks, do you have a link for this?
|
| |
December 7th, 2010, 05:22 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
| |
| |
December 8th, 2010, 06:13 AM
|
#9 (permalink)
| | Member
Join Date: Feb 2002
Posts: 167
|
OK, I did all those steps exactly as you laid it out and I still get this message:
"You are not a valid administrator or moderator!"
I deleted all cookies and still no avail.
By the way the pp_usergroups table is still empty, the vb groups did not import.
Last edited by Andy R; December 8th, 2010 at 06:20 AM.
|
| |
December 8th, 2010, 08:22 AM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
| Quote: |
By the way the pp_usergroups table is still empty, the vb groups did not import.
| then you did not install correctly it would appear. On the config in the user database portion you put the vb database. On step 4 we ask the integration type and forum mysql table prefix url etc etc. We then import the groups based on the info. If that information is correct your vb usergroups will be imported it not then they will not.
|
| |
December 8th, 2010, 09:53 AM
|
#11 (permalink)
| | Member
Join Date: Feb 2002
Posts: 167
|
Perhaps not but I am following your directions to the letter. Here is a screen shot of the page you are referring to: Code: Content visible to verified customers only.
I am noticing that this script does NOT ask for the VBULLETIN database prefix. Are you sure this is not the root of the issue here?
I have done this twice now as per your instructions and it has failed.
|
| |
December 8th, 2010, 12:55 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
Yes we do ask for the vbulletin mysql table prefix as I noted in my about the issue above. On step 4 where you set your forum integration type we ask the forum mysql table prefix.
It is on this step you are not inputting the correct info.
|
| |
December 8th, 2010, 01:04 PM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
Andy as I have noted in my past replies it is on step 4 of the installation process not the initial config screen.
|
| |
December 8th, 2010, 01:17 PM
|
#15 (permalink)
| | Member
Join Date: Feb 2002
Posts: 167
|
Excuse me, but where in here did you mention that? Quote:
1. upgrade photopost if not using the latest
2. install vb
3. use vb impex system to import photopost
4. empty the pp_usergroups table in your photopost database so on next step your vb usergroups will get imported
5. rerun photopost install using same prefix and database to integrate with vb. this will not delete data
6. run the userfix script from our photopost import forum here to realign userid's when you switch integration
| Anyway, step 4, I entered in the prefix, still not working. Still get the same error, still not moving over the usergroups.
|
| |
December 8th, 2010, 01:32 PM
|
#16 (permalink)
| | Member
Join Date: Feb 2002
Posts: 167
|
I am looking at this install code and am seeing a couple issues here.. Code: Content visible to verified customers only.
Our install of PP never had a prefix so you are assuming otherwise and inserting one here.
Second, I see no code in install.php that moves, creates, or otherwise inserts into a usergroup table.
|
| |
December 8th, 2010, 02:08 PM
|
#17 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
Andy if you select to integrate with vbulletin by selecting so on step 4 from the dropdown of all the integrations and enter the correct information asked it will install fine.
I meantioned step 4 of the install in posts 10,12 and 14 basically in every last reply I have made since you reported the issue in post 9.
Like I said if your usergroups are not being imported there can only be two possible issues which is what I laid out in post 10. You seem to have concentrated on the first half of my post where I talked about the config settings and missed the rest of that post.
If you are 100% sure your entering the correct information on the config section of install and the correct table prefix of step 4 where asked then the only issue this can be is you are selecting the wrong integration type in the dropdown on step 4. You should see a one line error telling you it can not insert results on step 5 if the wrong info is used.
Since we support 20 different integrations it is absolutely essential you select the correct information for all options asked. The way this works is each integration type has its own integration file which determines what functions ran in the program.
For vbulletin 3 or vbulletin 4 that file is vb3.php in the forums subdirectory of our code. If you select vb3 say from the dropdown on step 4 enter the correct table prefix and on the config have entered the correct database connection info then when you go to the last step of install step 5 we import the usergroups from the forum and make an entry in our usergroups table.
|
| |
December 9th, 2010, 07:00 AM
|
#18 (permalink)
| | Member
Join Date: Feb 2002
Posts: 167
|
Step 4: pp1.jpg
Step 5: pp2.jpg
Result: pp3.jpg
Database tables as shown in Navicat: pp4.jpg
Usergroup table after import: pp5.jpg
I have followed your directions exactly. The database for the forum is the same as the one for pp, same username, same login, etc..
Still empty usergroup table, still same error..
|
| |
December 9th, 2010, 08:34 AM
|
#19 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
Is MYSQL STRICT MODE ON? Turn that off and try.
|
| |
December 10th, 2010, 05:08 AM
|
#20 (permalink)
| | Member
Join Date: Feb 2002
Posts: 167
|
Strict mode is not enabled.
|
| | |
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 | | | All times are GMT -5. The time now is 02:27 PM. | |