Welcome To Snipplr


Everyone's Recent Snippets Tagged error



In a Project i had to save serialized arrays in a MYSQL Database, when i used that i got a Error Message for no reason (Error at offset XX of XX bytes in...). I wrote this little functions to fix that issue. (I dont recommend to save serialized Arra...
0 1499 posted 15 years ago by FreaKzero
0 1019 posted 15 years ago by javierav
Create config/initializers/paperclip.rb
0 1253 posted 15 years ago by Nek
Get error description from Lotus Notes C API
0 1344 posted 15 years ago by AlexLocust
This little guy will make Internet Explorer 6 crash and close.
0 1211 posted 15 years ago by vagrantradio
0 1125 posted 15 years ago by wilburhimself
0 1167 posted 15 years ago by magicrebirth
0 1202 posted 16 years ago by unravelme1
Put on top of script
1 1590 posted 16 years ago by gerhardsletten
2 1745 posted 16 years ago by iloveitaly
Just insert it into your .htaccess file to redirect all your 404 error pages to any address
2 1350 posted 16 years ago by caruso_g
ErrorConstructor produces error constructors that behave the same way as the seven native error constructors. Usage: `ErrorConstructor([constructorName])` *If no constructorName is specified, the default of `Error.prototype.name` is used* Us...
1 1302 posted 16 years ago by Sephr
how to read error message as string instead of complicated codes. usually people using taglib to read error messages. but how to read it in controller/service if you, for example, want to log or render just the message. here is how to do that.
0 1644 posted 16 years ago by callmeblessed
0 1337 posted 17 years ago by eugegim
https://www.chrisjmendez.com/2002/10/23/as3-placing-an-overlay-over-an-image/
0 1353 posted 17 years ago by chrisaiv
If you get "JPEG marker not found!" error when you try to open an image file you must read it in binary mode.
1 1361 posted 17 years ago by PixelMin
0 1061 posted 17 years ago by goo
1 1269 posted 17 years ago by cristiana
1 1342 posted 17 years ago by smartalec
Sometimes you can find error numbers in log files from various programs or even the kernel. This one-liner can be used to convert the error number into a meaningful message. "X" is the error number.
0 1274 posted 17 years ago by amosshapira
Add these lines to Drupals settings.php. Probably works on other systems, then Drupal too.
1 1748 posted 17 years ago by berkes
1 1807 posted 18 years ago by nicolaspar
Simple way to check see if a file exists and is readable before you include it. Stops nasty error messages onscreen.
5 2700 posted 18 years ago by 1man
1 1316 posted 19 years ago by Shpigford
1 1382 posted 19 years ago by gdonald