View Full Version : Problem with admin login post install
March 19th, 2006, 11:02 AM
Ok, I did some searching, but didn't find anything that covered this.
After completing the install, I tried to login to the admin screen. I see that it tells me it can't find misc.php. Look at the server, yes it is there. Check the url on the page... it sent me to http://www.domain.com/photopost/misc.php.
At this point I remembered there was a single url (PhotoPost URL) in the install that did not correctly prepop with my domain, it had http://www.domain.com/photopost in it instead. During the install I had corrected this to http://www.twistedbinderz.org/photopost. I did the install process again to make sure that I had not accidentally failed to correct this.
I still have this problem on admin login attempt. Any help would be appreciated.
I am using VB3 integration (VB3 up and running). If there is more information required, please let me know.
Thanks for the assistance,
March 19th, 2006, 12:04 PM
I can not say exactly what the issue is since all I see is a white page. Now off hand coupe things here. If you have phpmyadmin check your photopost settings table in the database and make sure the urls entered correctly in the first 20 settings of that table ;)
Now I would assume here the first issue I see on your site is that your forum server path is incorrect. Try turning off your vb3 integration switches from on to off in config-int.php and see if Photopost loads. If it does then check the $vbpath variable and make sure it is the correct server path to your vbulletin forum and turn the switches for vb3 integration back on and see if the page loads now. I see just a white page with nothing now.
March 19th, 2006, 01:19 PM
Thanks for the DB info, that covered the first set of issues just fine. Not sure why the data wasn't put in the DB correctly, but I was able to get that updated.
As you suspected, VB3 integration was causing the other issues, with it off, I can get to the base pages. Made the forum directory update, turned it back, and it is now using VB3 info.
Now, I am assuming it didn't store my preference to use the VB3 login system either as my id/pwd will not allow me to log in. Where is this last bit stored so I can hand edit this? Oh, and can you think of anything else I should check that might have not been correctly updated on install that would cause issues? :D
Thanks a ton for the assistance.
March 19th, 2006, 01:32 PM
Ok, did some random browsing of the settings table and found that the registration system was set to vb2. Changed to vb3 and now can log in. When I log into the admin I am redirected to the "user" pages. Does PhotoPost require a different group for admin access to it than the VB group?
I will keep plugging away...
March 19th, 2006, 01:42 PM
Found the entry for the cookie, changed to bb and now I can move between VB3 and PP without it losing my identity. Got it to explicitly tell me I am not an admin with my user, so the last item I really need to cover is how to get that solved. Is there a default admin account that is created during install that I should be using to log in and finish the setup?
March 19th, 2006, 01:58 PM
There is a default admin usergroup inserted into Photopost of groupid 6 and cpaccess set to 1
Check the usergroups table of Photopost and see if you have an entry with a groupid of 6. If your integration was wrong there is a good change you have no usergroup entries in the table which is besides the cookie prefix being wrong also why you do not have admin access.
March 19th, 2006, 03:56 PM
photopost_usergroups is empty as is photopost_users.
What can I do to correct this? Do I need to remove all the DB tables and start the installation fresh?:confused:
March 19th, 2006, 05:01 PM
Try rerunning install.php and reinstall making sure to specify the proper answers and integration type so we can successfully integrate with vb3
March 19th, 2006, 05:42 PM
Rather than start a new thread, I thought I'd add to this one since I'm having the same problem. Except the usergroups and users tables are not empty and I am showing the Admin groupid 6 - yet I cannot get to the admin control panel.
I can login to Photopost fine - but when I click on "admin" I end up back at the login again. I've tried logging out of vB first and logging into Photopost - same thing. Both Photopost and vB recognize me...everything looks great...until I click on "admin" to set up Photopost.
If it's a cookie problem, which table would I need to look at in order to confirm the cookie?
Any other idea?
March 19th, 2006, 06:25 PM
There are numerous cookie threads in the support forums on vb3
March 19th, 2006, 06:29 PM
I was able to get into the admin after a reinstall. Several of the items were updated back to the default incorrect values even though I filled them in correctly during the install.php script run. Several hand edits and I think it is all running correctly now.
Really appreciate the assistance. Let me know if you need any information out of me as a followup for any reason.
March 31st, 2006, 09:05 AM
I've dropped the database, deleted my photopost directed, and started fresh.
I've confirmed permissions on directories, confirmed my directory/url config, cleared cookies, waved a dead chicken over my head while jumping up and down on one leg, to no avail.
Running IIS 6.0, Windows 2003 server, MySQL 5, PHP 5, with GD 2 libraries.
This server is under my control.
What simple, idiotic mistake am I doing? I'd be happy to post what I'm entering in as my settings as I run through this thing.
Thanks for any help/handholding.
** Update **
Ok, I went and did a fresh install, after dropping the DB, then went into the DB to check the settings table, and found the "domain.com" entries, changed them, and boom, everything is good to go.
Sorry for the firedrill!
March 31st, 2006, 10:06 AM
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.