|
|
Joined: Oct 2001
Posts: 42
Power User
|
Power User
Joined: Oct 2001
Posts: 42 |
Hi,
I have been having a hard time getting my ubbthreads to work well with Apple's Safari browser. Users can login, but when they go to the main index they appear to be getting logged out.
Threads is configured to use Cookies. Is this a Safari bug or something in ubbthreads? We are now running 6.2.1.
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
I've been able to use Safari no problem. The biggest issue is that you set it up to accept cookies... and not to cache pages. That'll fix any issues (but those rules apply to any browser/any platform). Also make sure your clock is set correctly, and that you are using the same domain name througout your site. In other words don't use www.yoursite.com interchangibly with yoursite.com (no www). This confuses things because it's possible to be logged in at www.yoursite.com, then click a link without the www and you are no longer logged in. Hope that helps. 
|
|
|
|
Joined: Jan 2003
Posts: 6
Lurker
|
Lurker
Joined: Jan 2003
Posts: 6 |
This is a bug in Safari that they should fix soon. In the meantime, your users can do this: Go to Safari's preferences and go to the Security pane. Click "Show Cookies" and remove all cookies from the domain of the site. Exit Safari, and open it again. Log into the site. Quit Safari again. Open the Cookies.plist ( /Users/yourusername/Library/Application Support/WebFoundation/Cookies.plist ) file in your Home directory with a text editor. Find the cookie for the domain of your site named "user". Replace (your <string> could be different) : <key>Path</key> <string>/threads/login.php</string> With: <key>Path</key> <string>/</string> Open Safari, and it should work now.
|
|
|
|
Joined: Jun 2001
Posts: 3,273
That 70's Guy
|
That 70's Guy
Joined: Jun 2001
Posts: 3,273 |
Thanks extreme 
|
|
|
|
Joined: Oct 2001
Posts: 42
Power User
|
Power User
Joined: Oct 2001
Posts: 42 |
I tried the above trick and it appears that Safari just created "new" entires in addition to the edited ones. In any case, if this is an Apple bug then I will just tell my users to wait for a fix. One other note, Safari seems to work for me at threadsdev, but not on our site: Dantz.com Thanks everyone
|
|
|
|
Joined: Jan 2003
Posts: 6
Lurker
|
Lurker
Joined: Jan 2003
Posts: 6 |
[]One other note, Safari seems to work for me at threadsdev, but not on our site: [/]
Maybe because index.php is at "/" here? I'm not sure why that would be happening..
|
|
|
|
Joined: Jun 2001
Posts: 3,273
That 70's Guy
|
That 70's Guy
Joined: Jun 2001
Posts: 3,273 |
Do you have your cookie path set to site wide at your site? That's what it is here. 
|
|
|
|
Joined: Oct 2001
Posts: 42
Power User
|
Power User
Joined: Oct 2001
Posts: 42 |
The people on this site totally rock.
I had the cookies item left as blank. I added the / and now it is working!
Advice for those who have trouble with Safari, use the /
|
|
|
|
Joined: Jun 2001
Posts: 3,273
That 70's Guy
|
That 70's Guy
Joined: Jun 2001
Posts: 3,273 |
Thanks! Everyone here tries their best to help when they can. 
|
|
|
|
Joined: Jan 2003
Posts: 1
Lurker
|
Lurker
Joined: Jan 2003
Posts: 1 |
Have you set your config's cookiepath to / or not?
when I was working through this issue I noticed that by default ubbthreads doesn't supply a path for the login cookies and when it does that Safari will default to the page that issued those cookies. That means that those cookies won't work throughout the rest of the sight.
The fix was the add "/" as the cookie path in the config.inc.php
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 87
Joined: December 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|