Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 12:28 pm EST
Geeklog Forums
Mac OS X Server Support
Status: offline
rekozlo
Forum User
Newbie
Registered: 04/25/03
Posts: 2
I just transferred my geeklog site from a Mac G4/450 running OS X 10.2.4 Client to a Mac XServer running OS X Server 10.2.6.
Everything appears to be working except for the following strange behavior.
If I log in to Geeklog remotely I get to the "Home" page with no problems. I then log in as a user and everythign still works. Now if I log out back to the "home" page everything appears to be Ok and the "Logged out successfully" mseeage appears.
If I now click on the General News page it works properly. However, when I then click on the home page it takes me back to the user's home page not the guest level home page.
What did I miss in the transfer?
rekozlo
rekozlo
15
13
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Not sure if I understand the problem correctly (especially since I'm not sure what you're referring to by "user's home page" and "guest level home page".
However, could this be a caching problem? Some browsers are notorious for caching pages for too long ...
If this happens again, try a "forced" reload (holding down the shift or command key while clicking on the reload icon). If you then get the correct page, it's probably a caching issue.
bye, Dirk
13
12
Quote
Status: offline
rekozlo
Forum User
Newbie
Registered: 04/25/03
Posts: 2
Sorry about the confusion.
By guest level I mean the home page not logged in as anyone. The
page that you first enter when you log into the site. The page you return
to when you Log out as a registered user.
Users home page is what you see when you "login as a registered user"
Tried the forced reload and that doesn't solve it. Logged in from three
different machines using both IE 5 and Safari on each. The old site is
still up and running and logging into it (running OS X Client) from
the same computer is OK. The problem only appears when logging into
the OS Xserver running the server software.---rekozlo
rekozlo
rekozlo
13
11
Quote
Status: offline
jbcorwin
Forum User
Newbie
Registered: 05/11/05
Posts: 11
Location:Houston
I'd like to revisit this problem.
I copied everything from my linux server to the new G5 Xserve that runs OS X 10.4.1. The only problem I have is that on the new box when you login as *any* user, we will use admin, I get this strange behavior:
I hope this works out for an explanation:
If you login as any user, admin, mod, general user, you can do anything on the site you want like normal. Once you log out geeklog shows a successful logout confirmation.
Now this is the strange part. If you, after logging out, click on any of the links in a left or right block, it logs you back in as the user you just were.
I know it's cacheing, but I don't know where to look for this setting to change.
Has anyone else had this, or know where to look?
=P
I copied everything from my linux server to the new G5 Xserve that runs OS X 10.4.1. The only problem I have is that on the new box when you login as *any* user, we will use admin, I get this strange behavior:
I hope this works out for an explanation:
If you login as any user, admin, mod, general user, you can do anything on the site you want like normal. Once you log out geeklog shows a successful logout confirmation.
Now this is the strange part. If you, after logging out, click on any of the links in a left or right block, it logs you back in as the user you just were.
I know it's cacheing, but I don't know where to look for this setting to change.
Has anyone else had this, or know where to look?
=P
13
15
Quote
Chrispcritters
Anonymous
Make sure that your turn off the "Performance Caching"
I think that there are also some caching-header issues as well. Let me dig up the cache busters that I found to have resolved the issue on my site.
I think that there are also some caching-header issues as well. Let me dig up the cache busters that I found to have resolved the issue on my site.
10
14
Quote
Status: offline
Chrispcritters
Forum User
Chatty
Registered: 05/11/05
Posts: 49
Location:Tustin, CA
I really only had issues with the homepage so I stuck the following into the index.php after it looks for block/plugin redirects (can't think of the exact term at the moment).
Make sure the following code doesn't have any trailing spaces...
// Date in the past
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
// always modified
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
// HTTP/1.1
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", FALSE);
// HTTP/1.0
header("Pragma: no-cache");
Make sure the following code doesn't have any trailing spaces...
Text Formatted Code
// Date in the past
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
// always modified
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
// HTTP/1.1
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", FALSE);
// HTTP/1.0
header("Pragma: no-cache");
13
13
Quote
Status: offline
jbcorwin
Forum User
Newbie
Registered: 05/11/05
Posts: 11
Location:Houston
Ok, crispy had it correct, for my installation i needed:
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
// always modified
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
// HTTP/1.1
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", FALSE);
// HTTP/1.0
header("Pragma: no-cache");
On both index.php and users.php and it completly resolved my problems.
=P
Text Formatted Code
// Date in the pastheader("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
// always modified
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
// HTTP/1.1
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", FALSE);
// HTTP/1.0
header("Pragma: no-cache");
On both index.php and users.php and it completly resolved my problems.
=P
12
12
Quote
All times are EST. The time is now 12:28 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content