PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Classifieds Installation & Upgrades (http://www.photopost.com/forum/classifieds-installation-upgrades/)
-   -   Admin login in a loop (http://www.photopost.com/forum/classifieds-installation-upgrades/113120-admin-login-loop.html)

Wardsweb March 26th, 2005 07:05 PM

Admin login in a loop
 
Any clue why when I login for my classifieds admin console, I'm taken right back to my admin login page, instead of going into the admin console. I get the thank you for loggin in and am sent right back to the admin login page.

This is on a Red Hat 9, dedicated server, running Vb3.0.7 and PhotoPost 4.7 (I've down loaded 5.0.2 but wanted to get the classifieds fixed before changing anything else)

http://audiokarma.org/forums
http://audiokarma.org/gallery
http://audiokarma.org/ads

Chuck S March 26th, 2005 08:32 PM

check and make sure the cookie settings in your database are correct settings 181-183

most likely your cookie prefix is incorrect

It should be if your using the default vb prefix bb

Imajine March 26th, 2005 11:27 PM

I bought ReviewPost and ClassifiedsPost together with PhotoPost, but so far I could only manage to get PhotoPost to integrate with vBulletin.

I give up on ReviewPost, and have been trying to get the cookie settings to work on ClassifiedsPost, but I've been run into the same problem: infinite loop of the admin screen.

-----------------------------------------------
Below are the paths I had set in CONFIG-INC.PHP
-----------------------------------------------
// PhotoPost Classifieds Version Number
$VERSION = "2.11";

// Path to your PhotoPost Classifieds installation - no end slashes
$PP_PATH = "/home/mydomain/public_html/ads";

//**************** MySQL Database Configuration ****************//

// PhotoPost Classifieds database host address, or leave as localhost
$host="localhost";

// PhotoPost Classifieds database name
$database="mydomain_ads";

// MySQL username and password to access PhotoPost Classifieds database
//
// These two variables are for the userid and password needed to access
// the PhotoPost Classifieds database named above.
$mysql_user="mydomain_ads";
$mysql_password="cppassword";

// User database host address, or leave as localhost
$host_bb="localhost";

// If you want to use a prefix for your database tables, enter it here.
// NOTE: This variable can only be set PRIOR to your first installation of PhotoPost Classifieds;
// existing databases will not be changed and you will be unable to connect if you change
// this variable after performing a default installation.
$pp_db_prefix = "ads_";

// User database MySQL database name
//
// This is the variable for the User Database; if you are using Internal
// as your registration system, then these variables are the same as the
// ones above. If you are linking to a message board system,
// thse variables should be set to the database, user and password for that
// database.
$database_bb="mydomain_forum";

// MySQL username and password to access user database
//
// These two variables are for the userid and password needed to access
// the PhotoPost Classifieds or BB database.
$user_bb="mydomain_forum";
$password_bb="cppassword";

-----------------------------------------------
Below are the paths I had set in CONFIG-INT.PHP
-----------------------------------------------
// We need to know the server paths to both your vB installation and your Classifieds installation
$vbpath = "/home/mydomain/public_html/forum";
$pppath = "/home/mydomain/public_html/ads";

// We need the URL path to your PhotoPost and vb installation
$url_path = "http://www.mydomain.com/ads";
$vb_urlpath = "http://www.mydomain.com/forum";

// The URL of your photo dir where your images are stored (with / at end)
$data_dir = "http://www.mydomain.com/ads/data/";

// If your PhotoPost tables have a prefix, put it here
// Example:
// $pp_db_prefix = "pp_";
$pp_db_prefix = "ads_";
-----------------------------------------------

My vBulletin settings (?) that I used for both PhotoPost and ClassifiedsPost are:
vBulletin prefix is vb3_
vBulletin cookie is bb

Would someone please tell/show me where I have done wrong ? Thanks

Lionel March 27th, 2005 02:10 AM

I ran into the same problem today. Like omegatron said, check your mysql table ad_setting and make sure the cookie settings in your database are correct in settings 181-183

Wardsweb March 27th, 2005 08:00 AM

Quote:

Originally Posted by omegatron
check and make sure the cookie settings in your database are correct settings 181-183

most likely your cookie prefix is incorrect

It should be if your using the default vb prefix bb

Are you referring to a config setting or actual database tables? Sorry, I'm trying to fix what someone else installed, so am not as familiar with the setup.

Lionel March 27th, 2005 09:21 AM

actual database

rastacat March 30th, 2005 02:20 AM

I just did a fresh install yesterday and hit the same errors - again.

I thought this was fixed awhile ago (first came up in Jan for me), but the cookie field of bb is getting set in the paypal field of the mysql database - around the lines that omegatron mentioned.

Lonny May 24th, 2005 12:50 PM

I have the same problem, and for some reason it doesn't have any prefix at all... it just goes

access
adminhelp
administrator
adminlog
adminutil
adv_setting
adv_settinggroup
announcement
attachment
attachmenttype
attachmentviews
avatar
bbcode
calendar
calendarcustomfield
calendarmoderator
calendarpermission
cpsession
cron
cronlog
customavatar
customprofilepic
datastore
deletionlog
editlog
event
faq


etc.

instead of vb3_

so what do you advice?

Frost May 24th, 2005 01:13 PM

http://www.photopost.com/members/for...45#post1101045


All times are GMT -5. The time now is 12:05 PM.

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