PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   ReviewPost How do I...? (http://www.photopost.com/forum/reviewpost-how-do-i/)
-   -   Cannot browse admin panel (http://www.photopost.com/forum/reviewpost-how-do-i/146826-cannot-browse-admin-panel.html)

pcgorilla November 7th, 2011 02:03 AM

Cannot browse admin panel
 
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.

Chuck S 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. ;)

pcgorilla 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?

pcgorilla 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

Chuck S November 7th, 2011 07:36 PM

HMM.

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.

pcgorilla 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.

Chuck S 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.

pcgorilla 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.

Chuck S 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.

pcgorilla November 8th, 2011 02:34 PM

ok, thanks. I will give it a go.

pcgorilla 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

57 chdir($vbpath);
58 require("./global.php");
59 unset($date);

pcgorilla 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.

pcgorilla 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.

Chuck S 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.

pcgorilla November 8th, 2011 05:20 PM

I submitted a contect request with the information.

Chuck S November 9th, 2011 07:55 AM

Yes and I beleive I responded via that email so we can keep contact there.


All times are GMT -5. The time now is 08:35 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97