 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
December 5th, 2005, 01:44 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Mar 2002
Posts: 499
| Problem with Who's Online
My Who's Online is not showing anyone except yourself. www.powwows.com/galleries
Thanks
|
| |
December 5th, 2005, 02:34 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,703
|
There are no restrictions on the who's online
It will pull whomever is online
$oqueryz = ppmysql_query("SELECT userid,date FROM {$Globals['pp_db_prefix']}iponline ORDER BY date DESC", $link);
Mine shows multiple people if they are online. Your site does not load for me it just sites there with a dark blue background and couple part way loaded images
|
| |
December 5th, 2005, 02:54 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,703
|
There is nothing wrong with the who's online that I can see You simply have no one on your site viewing the gallery look at the contents of your IPONLINE table and see whats there
Last edited by Chuck S; December 5th, 2005 at 03:00 PM.
|
| |
December 5th, 2005, 02:59 PM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Mar 2002
Posts: 499
|
That's why I think something is wrong. I've never seen less than 20-30 members view photos.
I've viewing it on 2 different computers under different accounts and it still only lists 1.
Did the table get corrupt?
|
| |
December 5th, 2005, 03:13 PM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Mar 2002
Posts: 499
|
I changed php from running as cgi to isapi this weekend.
Apparently it messed up my uploading as well. Here's that error message:
Unable to move file [C:\WINDOWS\Temp\php1AA.tmp] [C:/Inetpub/vhosts/powwows.com/httpdocs/galleries/uploads/7787/.....
So my upgrade broke somethings. Where should I start??
Thanks!!
|
| |
December 5th, 2005, 05:24 PM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,703
|
I would check your folder permissions in photopost for data and uploads and all there children they should be read write execute.
You would need to view your iponline table the who's online function prints out whatever is in there.
|
| |
December 5th, 2005, 06:33 PM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Mar 2002
Posts: 499
| Quote: |
Originally Posted by Chuck S I would check your folder permissions in photopost for data and uploads and all there children they should be read write execute.
You would need to view your iponline table the who's online function prints out whatever is in there. | I'm chaning permission now I'll let you know if that works.
The table just has 1 entry??
|
| |
December 5th, 2005, 06:36 PM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,703
|
Okay well that explains why you only see one user yourself. No one is on your gallery right now
|
| |
December 5th, 2005, 06:38 PM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Mar 2002
Posts: 499
|
Ok, like I said I tried at the same time on 2 different machines with 2 different accounts.
Wouldn't I see the other account??
I have a very large active group of users, I know there are more than just 1 person viewing the photos!
|
| |
December 5th, 2005, 06:52 PM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,703
|
No not yourself cause it updates against your IP so unless the IP is difference it only updates one record
|
| |
December 5th, 2005, 06:59 PM
|
#12 (permalink)
| | Member Verified Customer
Join Date: Mar 2002
Posts: 499
|
Ok, so how can I convince you it isn't working?
I just remote desktop'ed into another computer. Logged in with a different account than mine and browsed the gallery on my laptop with my account.
Still they both show only 1 user!
|
| |
December 5th, 2005, 07:14 PM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,703
|
You can remote desktop anywhere but your IP is still the same I am going to assume here
I have 5 computers in my house but they are all on my network. I have one IP address my cable provider assigns. So everywhere I go no matter where I go whether its remote tunneling to another server etc my IP is still going to be the one I am assigned for my internet connection.
I have viewed many Photopost sites and who's online functions perfectly. Here are some snapshots I took not 5 minutes ago to 2 well known sites defensetalk.com and extremefitness.com
Here is the query to update the iponline table
$resultb = ppmysql_query("REPLACE INTO {$Globals['pp_db_prefix']}iponline (userid,ipaddr,date,what,item) VALUES ('$username','$ipaddr','$date','$what','$where')", $link);
Note the primary key is ipaddr which means it will replace the record with the matching IP.
Last edited by Chuck S; December 5th, 2005 at 07:20 PM.
|
| |
December 5th, 2005, 07:17 PM
|
#14 (permalink)
| | Member Verified Customer
Join Date: Mar 2002
Posts: 499
|
On the uploads. I have the permissions set so that the photos are uploaded. But when you get the notice that is was uploaded it displays a message at the top. Then refreshes and shows your photo. Here's the error:
Warning: imagejpeg(): Unable to open 'C:/inetpub/vhosts/powwows.com/httpsdocs/galleries/data/500/forthepeople.jpg' for writing in c:\inetpub\vhosts\powwows.com\httpdocs\galleries\image-inc.php on line 195
What is that??
|
| |
December 5th, 2005, 07:19 PM
|
#15 (permalink)
| | Member Verified Customer
Join Date: Mar 2002
Posts: 499
|
AHHHHH, please I know this isn't working!
I Remote Desktop'ed into the server that is in Texas and I'm in SC. If I browse with the browser on the server, it is a different ip!
|
| |
December 5th, 2005, 07:22 PM
|
#16 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,703
|
The server can have any IP it wants that your going to.
Your not understanding the issue here as I am explaining it
Your IP is still the same!! Your IP is not going to change no matter what you do. Your internet connection assigns you an IP and everywhere you go on the internet you are going to report the same IP it is how things identify you.
|
| |
December 5th, 2005, 07:25 PM
|
#17 (permalink)
| | Member Verified Customer
Join Date: Mar 2002
Posts: 499
| Quote: |
Originally Posted by Chuck S The server can have any IP it wants that your going to.
Your not understanding the issue here as I am explaining it
Your IP is still the same!! Your IP is not going to change no matter what you do. Your internet connection assigns you an IP and everywhere you go on the internet you are going to report the same IP it is how things identify you. | I'm sorry but I have to disagree!
If I use the browser on the server to surf the net. The ip address that websites see is the ip of the server!
I tried this site: http://www.whatismyip.com/
On the server I get:
67.15.(I'll hide the rest)
Laptop:
24.168.234.215
Those are 2 different ip's!
Last edited by pgowder; December 5th, 2005 at 07:31 PM.
|
| |
December 5th, 2005, 07:34 PM
|
#18 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,703
|
You can disagree I am just showing you the query and saying if it is overwriting the record your IP has to be the same as the primary key of that table is ipaddr
Now do you even have update who's online turned on.
What is this set to?
Display number of viewers on categories?
Adds a query to main index, but shows numbers of viewers per category
Last edited by Chuck S; December 5th, 2005 at 07:36 PM.
|
| |
December 5th, 2005, 07:37 PM
|
#19 (permalink)
| | Member Verified Customer
Join Date: Mar 2002
Posts: 499
| Quote: |
Originally Posted by Chuck S You can disagree I am just showing you the query and saying if it is overwriting the record your IP has to be the same as the primary key of that table is ipaddr
Now do you even have update who's online turned on.
What is this set to?
Display number of viewers on categories?
Adds a query to main index, but shows numbers of viewers per category | It's set to yes.
|
| |
December 5th, 2005, 07:47 PM
|
#20 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,703
|
There is nothing else I can really suggest here except to keep physically checking your iponline table here.
The query is correct. The code definately works as seen on the examples I posted.
who's online will update as long as you have the onlinepal selected to view and to display number of viewers as posted above. Code: Content visible to verified customers only.
For quick reference our site is showing who's online as well here http://www.photopost.com/photopost/index.php
Last edited by Chuck S; December 5th, 2005 at 07:51 PM.
|
| | |
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 04:21 PM. | |