![]() |
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 ? |
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 |
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. |
Well if your cookie settings match in both apps and your vblicense is entered correctly in the photopost config you will have no issues |
|
Quote:
All sorted thanks,dunno how lol |
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 |
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? |
Quote:
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? |
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); |
Quote:
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 |
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