Previous Thread
Next Thread
Print Thread
Rating: 5
#233979 01/24/2003 8:07 PM
Joined: Oct 2001
Posts: 42
Power User
Power User
Offline
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.

Sponsored Links
Goshik #233980 01/24/2003 11:18 PM
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.

Daine #233981 01/25/2003 12:36 AM
Joined: Jan 2003
Posts: 6
Lurker
Lurker
Offline
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.

#233982 01/25/2003 12:42 AM
Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
Thanks extreme

Joined: Oct 2001
Posts: 42
Power User
Power User
Offline
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

Sponsored Links
Goshik #233984 01/25/2003 1:43 AM
Joined: Jan 2003
Posts: 6
Lurker
Lurker
Offline
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..

Goshik #233985 01/25/2003 1:44 AM
Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
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
Offline
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 /

Goshik #233987 01/25/2003 2:44 AM
Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
Thanks! Everyone here tries their best to help when they can.

Goshik #233988 01/29/2003 7:42 AM
Joined: Jan 2003
Posts: 1
Lurker
Lurker
Offline
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

Sponsored Links

Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)