Jump to content

Displaying errors

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
11 replies to this topic

#1
Guest_Jaan_*

Guest_Jaan_*
  • Guests
Posted Image

Please tell me what do you think about this design.. i mean displaying error.. I want it to be perfect.. Critics now it's time to criticise!

#2
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
It looks alright. A couple of improvements:

1. The user has nowhere to go from here. Add a link or something to return to another page. Or, even better:
2. Write a script (or perhaps a form) that can be used to send the details automatically, without the user having to bother. I know if I saw that message, I would just leave the site, as they wouldn't be anything else there to do. See?
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums

#3
Guest_Jaan_*

Guest_Jaan_*
  • Guests
oh.. good good.. i'll hide this form with javascript.. ;) thanks for an idea dude

#4
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
Your welcome - the +rep button's just up there... :)
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums

#5
Guest_Jaan_*

Guest_Jaan_*
  • Guests
Creative Designs

I made a little demo.. well it's not a demo.. it's real thingy.. but i'm still coding it..
this is better now?

#6
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
It's nice. :) Still, somewhere to go afterwards?
Also, the link isn't the most prominent I've seen. Why does it need to be hidden at first?
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums

#7
Guest_Jaan_*

Guest_Jaan_*
  • Guests
Because it don't look very good when it's not hidden.. and it gives an opinion to an user who gets this page.. he/she can send a email.. when he/she clicks on this link.. and he/she dont have to send when he/she don't want.. and this form don't ruin the looks of this error page:D

#8
Guest_Jordan_*

Guest_Jordan_*
  • Guests
I think the design looks great. Where does the email get sent to?

#9
John

John

    Writes binary right handed and hex left handed

  • Moderators
  • 6,321 posts
I think its a little dull. Perhaps make "Database Error" in red. Moreover, unless in "development" mode, its a bad idea for your error to be that descriptive. A hacker now knows your username and your mysql host. I would simply put: "Sorry, an error has occurred. Please report this to the webmaster by clicking the following link. Thank you." If the actual error is important to you, encrypt the error in a hidden form field, then use your mail script to decrypt the error before it is sent.

#10
Guest_Jaan_*

Guest_Jaan_*
  • Guests
****.. good idea dude.. :D

#11
Guest_Kaabi_*

Guest_Kaabi_*
  • Guests
I think with the mentioned suggestions it would look great.

#12
chili5

chili5

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 7,248 posts
It looks great but I would make the warning message a little more generic not revealing your database host. :D