9 replies [Last post]
d41
d41's picture
Offline
Enthusiast
Last seen: 12 years 9 weeks ago
Timezone: GMT-7
Joined: 2007-07-07
Posts: 98
Points: 0

Hello, thanks for looking at my topic. My site's URL is http://d41games.freehostia.com . I would really appreciate it if someone could look at the site and see if there are any errors or anything. I have already validated all my code and checked it in most browsers and it looks fine.

Please let me know if you find any errors in my site. Thanks! Wink

Katie
Katie's picture
Offline
Enthusiast
Seattle, WA
Last seen: 6 years 47 weeks ago
Seattle, WA
Timezone: GMT-8
Joined: 2006-08-06
Posts: 357
Points: 2

Bad news

It 9:55 pm PDT and your site's down. Alas!

Unable to connect
Firefox can't establish a connection to the server at d41games.freehostia.com.

Blog: Pew Pew Laser Blog
Online File Storage: DropBox
Daily Deals on Local Activities: Groupon

Tyssen
Tyssen's picture
Offline
Moderator
Brisbane
Last seen: 7 years 50 weeks ago
Brisbane
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8201
Points: 1386

Working fine at this end.

Working fine at this end.

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 7 years 38 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

Couple of minor technical

Couple of minor technical points:

'input' element as a direct child of 'form' isn't allowed, and causes page to fail the validation.

argument separator '&' needs to be changed to it's entity definition '&' you might have to change the php.ini file to output the entity in place of '&' or add it to .htaccess or in the page itself.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

d41
d41's picture
Offline
Enthusiast
Last seen: 12 years 9 weeks ago
Timezone: GMT-7
Joined: 2007-07-07
Posts: 98
Points: 0

Thanks for posting The free

Thanks for posting

The free hosting I was using was temporarily down last night right after I posted. But it's back up now

@Hugo: Really? I thought I always put a <fieldset> in. What page was it that you saw this problem?

Also, I've noticed the &PHPSESSID=# at the end of each link thing. It only does that when cookies are disabled, and I don't know how to fix it. I think PHP must be adding that automatically. Is there a way to change PHP so that it puts '& amp;'? I don't think the hosting I use lets me change the PHP options (it might, I'll check) so I'm probably looking for something I could put at the top of the script.

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 7 years 38 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

*shrug* no sign of the

*shrug* no sign of the problem now, perhaps PHP was appending the session ID to the form which it does do but sadly it places it directly in the form.

To correct the argument seperator if no access to php.ini or .htaccess place this line at the top of the page (or each page)

<?php ini_set('arg_separator.output','&'); ?>

The session id problem is harder to deal with as it's a bug.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

d41
d41's picture
Offline
Enthusiast
Last seen: 12 years 9 weeks ago
Timezone: GMT-7
Joined: 2007-07-07
Posts: 98
Points: 0

Ok, I did what you said and

Ok, I did what you said and it fixed the "& instead of & amp;" problem, but now it seems to add a hidden form input right below the <form> tag: <input type="hidden" name="PHPSESSID" value="#" />

Other than that, I noticed the <h1> heading is cut off slightly on the left in IE6... Weird...

d41
d41's picture
Offline
Enthusiast
Last seen: 12 years 9 weeks ago
Timezone: GMT-7
Joined: 2007-07-07
Posts: 98
Points: 0

Ok, if I change h1's

Ok, if I change h1's text-indent so it's not negative, then IE6/IE5.5 doesn't cut it off. I'll have to find some way to do h1{text-indent:0} for only IE5.5 and IE6... I'm gonna see if I can check the browser using PHP $_HTTP_USER_AGENT or something and then if it's IE, change the text-indent.

Also, I get this weird bar on the right side in IE5.5/IE6. It's like 20px of gray stuff on the right. If I change the width of the content div, then it (sorta) works in IE5.5/IE6, but messes up in other browsers... I'm not sure what to do with this... Anyone know why it's doing this? (Stupid IE! lol)

http://browsershots.org/png/original/88/8893507fd71ebd80b40a389e3bbbea1e.png

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 7 years 38 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

The hidden input is what I

The hidden input is what I was refering to earlier php needs to ensure that the SID is passed through you can disable it by adding:

ini_set('session.use_trans_sid', false)

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

d41
d41's picture
Offline
Enthusiast
Last seen: 12 years 9 weeks ago
Timezone: GMT-7
Joined: 2007-07-07
Posts: 98
Points: 0

I found a way to make it go

I found a way to make it go below <fieldset> instead of <form>.

<?php ini_set('url_rewriter.tags','a=href,area=href,frame=src,input=src,fieldset='); ?>

By default, it is "a=href,area=href,frame=src,input=src,form=,fieldset=". By removing "form=,", it puts it below <fieldset> instead.

Now it validates, and can still be used without cookies. Smile