Ryan Rampersad
Thoughts, Ideas & Opinions

Browse: Home / errors

errors

Parse error: syntax error, unexpected T_AS

By Ryan on October 25, 2011

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, [...]

Posted in Errors, PHP | Tagged errors, loops, PHP | Leave a response

POST 405 (Method Not Allowed)

By Ryan on May 23, 2011

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 [...]

Posted in Errors, JavaScript | Tagged errors, unified | Leave a response

Fatal error: Out of memory – WordPress Update

By Ryan on April 7, 2011

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 [...]

Posted in WordPress | Tagged errors, unified, WordPress | 11 Responses

Bad dynamic forwarding specification – Terminal

By Ryan on February 24, 2011

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. [...]

Posted in Tips | Tagged errors, terminal, ubuntu, unified | Leave a response

Symfony Error SQLSTATE[HY000]

Symfony Error SQLSTATE[HY000]

By Ryan on December 1, 2010

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” [...]

Posted in Abstract | Tagged errors, PHP, unified | Leave a response

Next »

Navigation

  • Home
  • About
  • Contact
  • Archives

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

Recent Posts

  • Centralization
  • Fall Schedule 2012
  • Spring Advising
  • Restart HP TouchPad
  • BestBuy’s Great Potential
  • Do-While Loop in Python
  • New At The Nexus & Nexus Special
  • Random Integers in Python
  • Motorola Triumph Review
  • Align To Artboard – Illustrator

Popular Topics

Apple Browsers errors exam Google Java JavaScript linux Microsoft MooTools PHP podcast review terminal Tips twitter ubuntu unified Windows WordPress

Search

Archives

  • May 2012
  • April 2012
  • March 2012
  • February 2012
  • January 2012
  • December 2011
  • November 2011
  • October 2011
  • September 2011
  • August 2011

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

Copyright © 2012 Ryan Rampersad.

Powered by WordPress, Hybrid, and Defined Mass.