Recent Tweet
- I've never written a theme 100% from scratch, maybe 35%. This will be the last time. 87% next time. 1 hour ago
I was doing some PHP work after a long hiatus. You get used to one language and when you back to another, you just forget things sometimes. I received an unexpected T_AS. Parse error: syntax error, unexpected T_AS, expecting ‘;’ in /homepages/224/d19925234/htdocs/kdelli/working/index.php on line 18 The error is so descriptive! Well, more so than others, [...]
I was attempting to XHR a simple plain text file. MooTools sets the default request method to post. On my local testing development machine, it wasn’t a problem, but out in the wild on my 1and1 server, apparently post cannot be used to get a text file. I recived this error from the console. POST [...]
Today I was attempting to update from WordPress 3.1 to 3.1.1. I run my blog on 1and1 and since it is shared hosting, I have limited memory to work with. I tried updating and was given this wonderful error. Fatal error: Out of memory (allocated 29622272) (tried to allocate 3096504 bytes) in /homepages/27/d20110405/htdoc/blog1/wp-includes/class-http.php on line [...]
When making a SOCKS tunnel through the the terminal, sometimes the port might be skipped when you’re in a hurry. ryan@ryan-laptop:~$ ssh -D ryan@234.241.124.24 Bad dynamic forwarding specification ‘ryan@234.241.124.24′ Again, this is probably a silly error. I forgot to specify the port and ssh thought my host connection that server address was the port itself. [...]
I recently reinstalled my server and of course that means I needed to recreate my databases. I thought the obvious command, symfony doctrine:build-db would do it for me but I was wrong! It returned this horrible error. ryan@ryan-desktop:~/www/mr_app$ ./symfony doctrine:build-db >> doctrine Creating “dev” environment “doctrine” database >> doctrine SQLSTATE[HY000]: General error: 1…EATE DATABASE mr_app” [...]