 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
October 12th, 2005, 03:46 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Jun 2004 Location: Edinburgh,Scotland
Posts: 147
| 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
regards
Edit: Forgot to say using vbportal 3.5 also,does it make a difference ?
__________________
Cheers for your help!
Last edited by hIBEES; October 12th, 2005 at 03:53 PM.
|
| |
October 12th, 2005, 05:04 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,666
|
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
|
| |
October 12th, 2005, 05:54 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Jun 2004 Location: Edinburgh,Scotland
Posts: 147
|
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.
__________________
Cheers for your help!
Last edited by hIBEES; October 12th, 2005 at 06:08 PM.
|
| |
October 12th, 2005, 06:36 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,666
|
Well if your cookie settings match in both apps and your vblicense is entered correctly in the photopost config you will have no issues
|
| |
October 12th, 2005, 06:40 PM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,666
| |
| |
October 12th, 2005, 06:57 PM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Jun 2004 Location: Edinburgh,Scotland
Posts: 147
| Quote: |
Originally Posted by omegatron | We are having to reinstall as lost the pics somehow
All sorted thanks,dunno how lol
__________________
Cheers for your help!
Last edited by hIBEES; October 12th, 2005 at 07:20 PM.
|
| |
October 13th, 2005, 09:10 AM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Jun 2004 Location: Edinburgh,Scotland
Posts: 147
|
Ok further to this lol
Got home today to find 234 DB error emails in my inbox  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.
My gallery is in a different DB from vbulletin's
__________________
Cheers for your help!
|
| |
October 13th, 2005, 09:50 AM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,666
|
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?
|
| |
October 13th, 2005, 09:54 AM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Jun 2004 Location: Edinburgh,Scotland
Posts: 147
| 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?
__________________
Cheers for your help!
Last edited by hIBEES; October 13th, 2005 at 10:12 AM.
|
| |
October 13th, 2005, 10:20 AM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,666
|
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);
|
| |
October 13th, 2005, 11:43 AM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Jun 2004 Location: Edinburgh,Scotland
Posts: 147
| 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
EDit: Found the DB error problem and nothing to do with PP lol..
DOH.apologises if led on wild goose chase lol
__________________
Cheers for your help!
Last edited by hIBEES; October 13th, 2005 at 01:30 PM.
|
| |
October 16th, 2005, 12:12 PM
|
#12 (permalink)
| | Junior Member Verified Customer
Join Date: May 2002 Location: Dallas, Texas, USA
Posts: 7
|
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  )
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 08:37 PM. | |