View Full Version : Cannot browse admin panel
November 7th, 2011, 02:03 AM
I am testing the forum with Rp on a sub domain. I got it all integrated fine, but when I go into the contol panel and click on anything on the left, I get a login prompt.
This is probably a cookie path I messed up as I was changing paths. I just do not kow how to go about changing it since I cannot get into any of the options.
November 7th, 2011, 07:06 AM
Yes in the PhotoPost FAQ forum we have a cookie tutorial you want to set your cookies like this and make sure your vb license has been entered correctly that is all covered in there. ;)
November 7th, 2011, 11:16 AM
I did that. When in the admin and I click on the left it gives me a login. When I login as admin, it takes me to my forum (un-logged in). Is there a config file I can see to make changes?
November 7th, 2011, 11:18 AM
When I hover over links on the left, it is pointing to my old site address. There must be a config file I can look at to make sure I am pointing correctly.
Also when I hover over submit, it poits to the old address
November 7th, 2011, 07:36 PM
If your pointing to an old site then you moved sites and did not reinstall your gallery to work with the new forum site info?
If thats the case you want to rerun the install and reinstall to properly integrate making sure to specify all the correct forum database info urls etc.
That should work.
November 7th, 2011, 07:46 PM
Here is what I did. I should have clarified before.
Old site (live site) www.sitename.com
test site (new server) sitename.subdomain.com
Installed reviewpost on sitename.subdomain.com. Works OK but all admin links point to www.sitename.com
submit button in admin panel submits to sitename.com
I am using the subdomain to test the forum as well as the reviewpost. When I make changes, it "submits" to the old site.
November 8th, 2011, 06:39 AM
Maybe there is some miscommunication on what you actually mean by you installed it on the subdomain. ;)
To actually setup a functional test site you would need to move the database to the new server as well as the reviewpost directory and then you need to run the install script so that all the right information is being used as well as the new database
if you did not do this then you really have not setup a test site. I would assume you just moved the files over to some new site but are maybe trying to access things using your production database which of course is the heart of your issue.
I really can not give a more indepth response without actually seeing the site but I am pretty sure I am right on target.
November 8th, 2011, 10:03 AM
The test site is on a new server entirely. Links are pointing to the old server, including the submit button.
November 8th, 2011, 02:15 PM
Yes which is why I have said you need to reinstall the application. You can move a database and files to a new server and even update config files to point to that new database etc however without actually reinstalling the program on the new server so that all paths and urls are correct for the new server then yes links are going to be to an old site and should be until you reinstall. The pp_settings table in the database holds all the urls and server paths.
November 8th, 2011, 02:34 PM
ok, thanks. I will give it a go.
November 8th, 2011, 02:51 PM
ok, I did as you asked and now get these errors.
Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/eastval2/public_html/reviewpost/header-inc.php on line 57
Warning: require(./global.php) [function.require]: failed to open stream: No such file or directory in /home/eastval2/public_html/reviewpost/header-inc.php on line 58
Fatal error: require() [function.require]: Failed opening required './global.php' (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/eastval2/public_html/reviewpost/header-inc.php on line 58
here are the lines referenced in the header-inc.php
November 8th, 2011, 03:15 PM
I believe I have corrected the issue. The only issue is the style sheets are not coming over in the forum. I will look into the forum paths. Thanks for your assistance Chuck.
November 8th, 2011, 03:27 PM
After doing what you said chuck, my database seems to be in tact. Here are a few issues I am having.
There seems to be no more forum integration.
When I do the admin panel (admin-inc) it asks me for a log in and takes me to the front page of the review post.
Chuch, If you wish, I can give you access and you can look.
November 8th, 2011, 04:54 PM
If you do not have a forum integration you sure you installed to integrate with the forum you did move that right. You would need to send a url and admin login if you want me to comment further.
November 8th, 2011, 05:20 PM
I submitted a contect request with the information.
November 9th, 2011, 07:55 AM
Yes and I beleive I responded via that email so we can keep contact there.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.