Forum Moderators: travelin cat

Message Too Old, No Replies

Database Issues with Safari and Leopard?

         

txbakers

5:47 pm on Mar 3, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



A customer just called with a bizarre problem.

When he viewed a page in Safari, he got an EOF error on that page. I showed him the Query and it was correct - all the session variables were still there, etc. but it just woldn't read the query.

So he tries it in Firefox on Leopard and it works just fine.

Does anyone know about this issue with Safari and Leopard?

The new page does open in a new window, but that shouldn't matter - it's keeping the session information between windows as evidenced by the query being correct.

Thanks.

LifeinAsia

6:09 pm on Mar 3, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



It's not a database issue- the database knows nothing about the browser being used. The database only communictes with the application server (PHP, ASP, etc.), which in turn communicated with the web server (Apache, IIS, etc.), which in turn communicates with the browser.
The new page does open in a new window, but that shouldn't matter - it's keeping the session information between windows as evidenced by the query being correct.

See if you can recreate the problem by not opening a new window. If so, there may be some browser-specific issue. The relevant session variables may be passing for the database to do its job, but possible something is not being passed that is causing problems with your application server.

P.S. No personal experience with Safari/Leopard.

[edited by: LifeinAsia at 6:11 pm (utc) on Mar. 3, 2008]

txbakers

6:20 pm on Mar 3, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



P.S. No personal experience with Safari/Leopard.

Thanks, but it is a Safari/Leopard problem.

timster

3:37 pm on Mar 7, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



txbakers, if we get a little more information here we might be able to help.

What evidence do you have that this a Safari/Leopard problem besides that's what the visitor experiencing the problem is using?

You can install Safari on Windows XP/Vista to try to replicate the problem.

txbakers

3:51 pm on Mar 7, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



[quote]What evidence do you have that this a Safari/Leopard problem besides that's what the visitor experiencing the problem is using? [quote]

It works with Firefox on the mac without a problem, only Safari throws the error.

I do have Safari on the XP but it doesn't throw an error there.

sonjay

6:32 pm on Mar 7, 2008 (gmt 0)

10+ Year Member



What is the exact wording of the error message that's being thrown? Is Safari set to accept cookies? If any javascript is used, is javascript enabled? Have you tried it without opening a new window, to determine if there might be some correlation between opening the new window and getting the error? Have you had anyone else using Safari on Leopard load that page, to see if it works for them? How about having someone using Safari on Tiger test it?

txbakers

6:40 pm on Mar 7, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



nope haven't tried any of those - I don't even remember who it was.

So few people use macs that it's really not worth bothering with, but if it comes up again we'll go through those troubleshooting steps.

thanks all.

timster

8:58 pm on Mar 7, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



it's really not worth bothering with

So your posts aren't worth bothering with? Guess I should remember that.

travelin cat

9:02 pm on Mar 7, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



So few people use macs that it's really not worth bothering with

What? Even if it is a measly 5-7% and growing rapidly, why would you want them (us) to see garbage?

And why would you even ask if you don't care?

travelin cat

9:06 pm on Mar 7, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Following up... what happens when your client is visiting some friends or perhaps other business people and wants to show off his shiny new site and they happen to be on Macs? I'd love to hear that phone call.

We have to keep a pc here in our mac based studio to make sure that all the people on pc's see what we want them to see. I would think that anyone developing sites would have both platforms and possibly even a linux box to view a site that someone paid them for.

txbakers

9:16 pm on Mar 7, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



What? Even if it is a measly 5-7% and growing rapidly, why would you want them (us) to see garbage?

And why would you even ask if you don't care?
Following up... what happens when your client is visiting some friends or perhaps other business people and wants to show off his shiny new site and they happen to be on Macs? I'd love to hear that phone call.
We have to keep a pc here in our mac based studio to make sure that all the people on pc's see what we want them to see. I would think that anyone developing sites would have both platforms and possibly even a linux box to view a site that someone paid them for.


First off, save your sarcasm for your friends.

Second, our system works very well on Macs. This is the first error encountered with Leopard and Safari. Not Tiger, or any of the other feline OSs.

That's why in the post I said specifically Leopard and Safari. The customer opened up Firefox and it worked perfectly.

So the problem is in Safari on Leopard.

As to the user percentage, you don't know my business, nor my customers, so you can't possibly know that less than 1% of my customers use Mac, and it's a nuisance to code for Safari quirks. I don't write "websites" for the general public. I have a very specific market where PC use is the norm.

If you can't be helpful, don't reply.