PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old March 31st, 2005, 01:27 PM   #1 (permalink)
Registered User
 
Join Date: Mar 2005
Location: NC
Posts: 21
Send a message via ICQ to T00L Send a message via AIM to T00L Send a message via MSN to T00L Send a message via Yahoo to T00L
Question Login issue

I'm installing the latest Photopost V5.02 on a linux server and integrating with a php-nuke user database.

Currently I'm on step 5 but I am not quite sure what to enter here:

Server Path to Forum directory.

It pulls '/home/serve260/public_html/album/forum' however that does not exist. '/home/serve260/public_html/album/forums' does exist but is this the full path to our nuke forum index which is 'forums.260servers.net' ?

Or should it be '/home/serve260/public_html/modules/Forums' ? - that is where the forums really exist.

Last edited by T00L; March 31st, 2005 at 03:00 PM. Reason: Changed subject to login issue
T00L is offline   Reply With Quote
Old March 31st, 2005, 02:15 PM   #2 (permalink)
Registered User
 
Join Date: Mar 2005
Location: NC
Posts: 21
Send a message via ICQ to T00L Send a message via AIM to T00L Send a message via MSN to T00L Send a message via Yahoo to T00L
Ok - I think I have that part figured out.

Next problem

I can login fine (or so it seems) normally or via the admin panel. Both report login successful. I am then taken to what seems to be a default photo album with a welcome message and a couple of galleries. However in the top right there is still "Home · Search · Register · Login" and I do not have any admin options. Is this a cookie issue?
T00L is offline   Reply With Quote
Old March 31st, 2005, 02:50 PM   #3 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
answered your other thread
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old March 31st, 2005, 03:13 PM   #4 (permalink)
Registered User
 
Join Date: Mar 2005
Location: NC
Posts: 21
Send a message via ICQ to T00L Send a message via AIM to T00L Send a message via MSN to T00L Send a message via Yahoo to T00L
Ok - I'll stay in this thread so it doesn't get confusing:

here is what happens after trying your nuke.php file:

Quote:
Originally Posted by omegatron
Try this nuke plugin and reinstall

make sure to rename as nuke.php and upload to your forums subdirectory under your photopost install
Ok I deleted all the tables and re-installed.

After step 5 and clicking on the adm-index.php link I get an error at the top:

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/serve260/public_html/album/forums/nuke.php on line 330

Then a series of errors that popup real quick and disappear:


Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/serve260/public_html/album/forums/nuke.php on line 330

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/serve260/public_html/album/forums/nuke.php on line 330

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/serve260/public_html/album/forums/nuke.php on line 330

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/serve260/public_html/album/forums/nuke.php on line 330

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/serve260/public_html/album/forums/nuke.php on line 330

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/serve260/public_html/album/forums/nuke.php on line 330

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/serve260/public_html/album/forums/nuke.php on line 330

Warning: Cannot modify header information - headers already sent by (output started at /home/serve260/public_html/album/forums/nuke.php:330) in /home/serve260/public_html/album/forums/nuke.php on line 213

Warning: Cannot modify header information - headers already sent by (output started at /home/serve260/public_html/album/forums/nuke.php:330) in /home/serve260/public_html/album/forums/nuke.php on line 214

Warning: Cannot modify header information - headers already sent by (output started at /home/serve260/public_html/album/forums/nuke.php:330) in /home/serve260/public_html/album/forums/nuke.php on line 222


Then it takes me to the default index.php page and I am not logged in and the first error posted is still at the top
T00L is offline   Reply With Quote
Old March 31st, 2005, 03:26 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
I would watch how you saved it and that file is from a working Photopost nuke site I did today as I corrected it and it works fine.

Are you installing 502? your error tells me your usergroups table is not right. Meaning if this was a fresh install then everything should work

There are 14 fields in the usergroups table and 14 entries on those inserts so you truly need to delete any prior tables when reinstalling in case there where additional errors
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old March 31st, 2005, 03:37 PM   #6 (permalink)
Registered User
 
Join Date: Mar 2005
Location: NC
Posts: 21
Send a message via ICQ to T00L Send a message via AIM to T00L Send a message via MSN to T00L Send a message via Yahoo to T00L
Talking

Well I downloaded the zip this morning and it is named photopost502.zip so I assume that is the latest unless you released a patch today

I should clarify that I have a nuke platinum site installed but as far as I know the basic Nuke configuration is the same.

What table is nuke.php looking for? nuke_bbuser_group?
T00L is offline   Reply With Quote
Old March 31st, 2005, 03:49 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
No line 330 is our usergroups table

I am unsure whether nuke and nuke platinum are the same or not. We integrate with the nuke user table and the phpbb forum that comes with it.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old March 31st, 2005, 08:20 PM   #8 (permalink)
Registered User
 
Join Date: Mar 2005
Location: NC
Posts: 21
Send a message via ICQ to T00L Send a message via AIM to T00L Send a message via MSN to T00L Send a message via Yahoo to T00L
Quote:
Originally Posted by omegatron
No line 330 is our usergroups table

I am unsure whether nuke and nuke platinum are the same or not. We integrate with the nuke user table and the phpbb forum that comes with it.
Here is a copy of the tables I have
Attached Files
File Type: txt tables.TXT (6.7 KB, 6 views)
T00L is offline   Reply With Quote
Old March 31st, 2005, 08:32 PM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
No in the photopost database is there a usergroups table and does it have entries under it?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 1st, 2005, 07:04 AM   #10 (permalink)
Registered User
 
Join Date: Mar 2005
Location: NC
Posts: 21
Send a message via ICQ to T00L Send a message via AIM to T00L Send a message via MSN to T00L Send a message via Yahoo to T00L
Quote:
Originally Posted by omegatron
No in the photopost database is there a usergroups table and does it have entries under it?
Oh ok - Yes - there are 14 fields and and then if you browse the table there are: Anonymous, Admin, and Members.
Attached Images
File Type: jpg usergroups.jpg (33.6 KB, 4 views)
T00L is offline   Reply With Quote
Old April 1st, 2005, 09:22 AM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
PM url to site admin login and database login

We support nuke and obviously there is something different about this nuke platinum
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 1st, 2005, 10:11 AM   #12 (permalink)
Registered User
 
Join Date: Mar 2005
Location: NC
Posts: 21
Send a message via ICQ to T00L Send a message via AIM to T00L Send a message via MSN to T00L Send a message via Yahoo to T00L
Ok I just sent it - thanks for checking.
T00L is offline   Reply With Quote
Old April 1st, 2005, 01:25 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
Your set

two things

your cookie domain was set differently

Your usergroups table for no reason that I can see in the code if you installed with the new file had no prefix as that was the main issue

I renamed the table to pp_usergroups
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 1st, 2005, 01:27 PM   #14 (permalink)
Registered User
 
Join Date: Mar 2005
Location: NC
Posts: 21
Send a message via ICQ to T00L Send a message via AIM to T00L Send a message via MSN to T00L Send a message via Yahoo to T00L
Thumbs up

Seems to be working well now Omegatron - Thanks for all your help!
T00L is offline   Reply With Quote
Old April 2nd, 2005, 11:42 AM   #15 (permalink)
Registered User
 
Join Date: Mar 2005
Location: NC
Posts: 21
Send a message via ICQ to T00L Send a message via AIM to T00L Send a message via MSN to T00L Send a message via Yahoo to T00L
Omegatron - one more quick question. I can stay logged in on our Nuke site pretty much as long as I keep the window open - but if I have photopost open and go away for 10 minutes and come back - I have to login again. Is there a separate cookie timeout for photopost?
T00L is offline   Reply With Quote
Old April 2nd, 2005, 12:08 PM   #16 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
setcookie("{$Globals['cookieprefix']}_data", serialize($sessiondata), $sesstime + 31536000, "{$Globals['cookie_path']}", $Globals['domain_path'] );

31536000 translates to 1 year

I think your cookie timeout would be on the other side if you login with nuke
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; April 2nd, 2005 at 12:11 PM.
Chuck S is offline   Reply With Quote
Old April 2nd, 2005, 01:34 PM   #17 (permalink)
Registered User
 
Join Date: Mar 2005
Location: NC
Posts: 21
Send a message via ICQ to T00L Send a message via AIM to T00L Send a message via MSN to T00L Send a message via Yahoo to T00L
Ok I may have found it but the Nuke setup is confusing because you have cookie settings for Nuke itself and also cookies for the integrated phpbb forums. Anyway the session timeout in the forums defaults to 3600 seconds. I'll try playing with that a bit.

Thanks
T00L is offline   Reply With Quote
Old April 2nd, 2005, 04:02 PM   #18 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
Yep that would do it
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 2nd, 2005, 08:14 PM   #19 (permalink)
Registered User
 
Join Date: Mar 2005
Location: NC
Posts: 21
Send a message via ICQ to T00L Send a message via AIM to T00L Send a message via MSN to T00L Send a message via Yahoo to T00L
Well after spending the better part of the day on these damn cookies I think I may have stumbled on the way to go for Nuke installs.

Problem was I could login to our site, immediately go to the photo album and have to login again. After trying all sorts of things I decided to return the cookie name in the phpbb admin panel to the default setting of phpbb2mysql and also changed the photopost settings to match that. I have no idea why this works for Nuke-Platinum installs other than the 'protector' system might be interferring with custom settings.

The other problem I was having is not staying logged in to photopost. No matter how long I increased the session timeout I would still have to login again after 15 or so minutes of inactivity. Setting the default cookie name also fixed this.

So I'm a happy camper right now - still testing the session length though - hopefully I can go away for a while and still be logged in.
T00L is offline   Reply With Quote
Old April 2nd, 2005, 08:44 PM   #20 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
I beleive with Nuke platinum the different is the forum cookie is not being written until you visit the forum and this could be the issue.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Data Directory on a Different Server? swanienufan Photopost Pro How Do I...? 3 June 9th, 2009 10:04 AM
3.01 install problem: The URL to your forum directory must be filled in criscokid ReviewPost Installation & Upgrades 19 September 27th, 2005 11:20 AM
Full path to PhotoPost data directory - On Windows system TL408 Photopost Pro Installation & Upgrades 3 April 29th, 2005 09:37 AM
Server Path problem? Cyricx Photopost Pro Installation & Upgrades 17 March 23rd, 2005 02:43 PM


All times are GMT -5. The time now is 06:22 PM.

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