 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
March 31st, 2005, 01:27 PM
|
#1 (permalink)
| | Registered User
Join Date: Mar 2005 Location: NC
Posts: 21
| 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
|
| |
March 31st, 2005, 02:15 PM
|
#2 (permalink)
| | Registered User
Join Date: Mar 2005 Location: NC
Posts: 21
|
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?
|
| |
March 31st, 2005, 02:50 PM
|
#3 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,945
|
answered your other thread
|
| |
March 31st, 2005, 03:13 PM
|
#4 (permalink)
| | Registered User
Join Date: Mar 2005 Location: NC
Posts: 21
|
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 |
| |
March 31st, 2005, 03:26 PM
|
#5 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
March 31st, 2005, 03:37 PM
|
#6 (permalink)
| | Registered User
Join Date: Mar 2005 Location: NC
Posts: 21
|
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?
|
| |
March 31st, 2005, 03:49 PM
|
#7 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
March 31st, 2005, 08:20 PM
|
#8 (permalink)
| | Registered User
Join Date: Mar 2005 Location: NC
Posts: 21
| 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 |
| |
March 31st, 2005, 08:32 PM
|
#9 (permalink)
| | Photopost Developer Verified Customer
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?
|
| |
April 1st, 2005, 07:04 AM
|
#10 (permalink)
| | Registered User
Join Date: Mar 2005 Location: NC
Posts: 21
| 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.
|
| |
April 1st, 2005, 09:22 AM
|
#11 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
April 1st, 2005, 10:11 AM
|
#12 (permalink)
| | Registered User
Join Date: Mar 2005 Location: NC
Posts: 21
|
Ok I just sent it - thanks for checking.
|
| |
April 1st, 2005, 01:25 PM
|
#13 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
April 1st, 2005, 01:27 PM
|
#14 (permalink)
| | Registered User
Join Date: Mar 2005 Location: NC
Posts: 21
|
Seems to be working well now Omegatron - Thanks for all your help! |
| |
April 2nd, 2005, 11:42 AM
|
#15 (permalink)
| | Registered User
Join Date: Mar 2005 Location: NC
Posts: 21
|
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?
|
| |
April 2nd, 2005, 12:08 PM
|
#16 (permalink)
| | Photopost Developer Verified Customer
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
Last edited by Chuck S; April 2nd, 2005 at 12:11 PM.
|
| |
April 2nd, 2005, 01:34 PM
|
#17 (permalink)
| | Registered User
Join Date: Mar 2005 Location: NC
Posts: 21
|
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
|
| |
April 2nd, 2005, 04:02 PM
|
#18 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,945
|
Yep that would do it
|
| |
April 2nd, 2005, 08:14 PM
|
#19 (permalink)
| | Registered User
Join Date: Mar 2005 Location: NC
Posts: 21
|
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.
|
| |
April 2nd, 2005, 08:44 PM
|
#20 (permalink)
| | Photopost Developer Verified Customer
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.
|
| | |
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 06:22 PM. | |