PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Installation & Upgrades (http://www.photopost.com/forum/photopost-pro-installation-upgrades/)
-   -   Cant Log In as admin (http://www.photopost.com/forum/photopost-pro-installation-upgrades/116137-cant-log-admin.html)

hIBEES October 12th, 2005 03:46 PM

Cant Log In as admin
 
Just upgraded from 4.8.1 to latest 5.2 with vbulletin 3.5 now I cant login to admin on photopost

Keeps directing me to /gallery/adm-index.php :confused:

regards

Edit: Forgot to say using vbportal 3.5 also,does it make a difference ?

Chuck S October 12th, 2005 05:04 PM

Hello

I would suggest the following.

In your config-inc.php make sure to have the vblicense number entered in there correctly

Then view your mysql table for photopost settings and entries 171-173 make sure they match vb cookie settings

Most common mistake is users forget the vb cookie prefix which is set in there config file. It is by default bb

hIBEES October 12th, 2005 05:54 PM

I have

PhotoPost Cookie Path /

Forum Cookie Prefix bb

PhotoPost Cookie Domain .hibeesbounce.com

I got in through a thread adding my IP addy to the file and changed removed it them logged back in after clearing cookies

It then said I didnt have admin permission.

Oh and to top it all off none of my pics are showing lol

Having a great time

ONE good thing is it looking good :)

Edit: ive done all of this

Go to vB adminCP => vB Options => Cookies and HTTP Header Option, and write down the following settings:

* Path to Save Cookies
* Cookie Domain

Next go to the vB config.php file, and write down the following setting:

* $cookieprefix

Then in the PP admin panel, set the following:

* PhotoPost Cookie Path => VALUE OF Path to Save Cookies
* Forum Cookie Prefix => VALUE OF $cookieprefix
* PhotoPost Cookie Domain => VALUE OF Cookie Domain

Click the Save Changes button, logout, remove that piece of code from adm-inc.php, clear your browser cookies, and login.

Chuck S October 12th, 2005 06:36 PM

Well if your cookie settings match in both apps and your vblicense is entered correctly in the photopost config you will have no issues

Chuck S October 12th, 2005 06:40 PM

You seem pretty integrated right now

http://www.hibeesbounce.com/gallery/index.php

hIBEES October 12th, 2005 06:57 PM

Quote:

Originally Posted by omegatron
You seem pretty integrated right now

http://www.hibeesbounce.com/gallery/index.php

We are having to reinstall as lost the pics somehow :eek:

All sorted thanks,dunno how lol

hIBEES October 13th, 2005 09:10 AM

Ok further to this lol

Got home today to find 234 DB error emails in my inbox :D I'm popular I thought alas no lol

Error Below

Database error in vBulletin 3.5.0:

Invalid SQL:

INSERT INTO session
(sessionhash, userid, host, idhash, lastactivity, location, styleid, languageid, loggedin, inforum, inthread, incalendar, badlocation, useragent, bypass)
VALUES
('67d5c1411ca30608c185860b36381453', 2888, '80.192.8.75', '7ad050a556485cbc6843189c98731cd3', 1129212043, '/', 15, 0, 0, 0, 0, 0, 0, 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; FunWebProducts; .NET CLR 1.0.3705)', 0);


MySQL Error : Table 'db_name_gallery.session' doesn't exist
Error Number : 1146

Do I need to add a table in my VBulletin DB named db_name_gallery.session.:confused:

My gallery is in a different DB from vbulletin's

Chuck S October 13th, 2005 09:50 AM

There should be no issues that I see as long as you use the current files

ppmysql_query("INSERT INTO {$Globals['dprefix']}session (sessionhash, userid, host, idhash, lastactivity, useragent)
VALUES ('$session_id',{$User['userid']},'$ipaddr','$idhash','$sesstime','$browser')",$db_link);


$db_link clearly uses the port command which is what vb 35 requires. Is your pp-inc.php the new one?

hIBEES October 13th, 2005 09:54 AM

Quote:

Originally Posted by omegatron


$db_link clearly uses the port command which is what vb 35 requires. Is your pp-inc.php the new one?

Yes just downloaded the package last night when I renewed my membership

Should I re-upload all the files then..
Took a while to get the cookies settings right so dont really want too lol..

Pics error on upload too,althou it still uploads the pic


Warning: imagecopy(): supplied argument is not a valid Image resource in /home/myDBname/public_html/gallery/image-inc.php on line 194


lots of them showing,will I download the package again and overwrite everything?

Chuck S October 13th, 2005 10:20 AM

imagecopy that would seem to be a watermark issue you sure watermarking is set correct path to watermark etc?

ImageCopy($photoImage, $logoImage, $horizmargin, $vertmargin, 0, 0, $logoW, $logoH);

hIBEES October 13th, 2005 11:43 AM

Quote:

Originally Posted by omegatron
imagecopy that would seem to be a watermark issue you sure watermarking is set correct path to watermark etc?

ImageCopy($photoImage, $logoImage, $horizmargin, $vertmargin, 0, 0, $logoW, $logoH);

Yes thanks that will be why,as ive lost the overlay image and its not in images

I'll re-do it and upload :)

One down ,one problem to go lol :D

EDit: Found the DB error problem and nothing to do with PP lol..

DOH.apologises if led on wild goose chase lol

Bitbender October 16th, 2005 12:12 PM

Proof that reading the threads here HELPS!!

This thread solved my admin login problem!!

Other threads here solved the other problems I was having, too.. So far, I haven't had to post once to get an answer...(well, so far, my skin mods are whoopin my butt, but that is my issue ;) )


All times are GMT -5. The time now is 04:31 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