application name

Symfony task “default” context - Anna Filina

Planet PHP  Mon, 05/16/2011 - 21:27

When creating Symfony 1.4 CLI tasks, I stumbled upon an error message:

The "default" context does not exist.

After searching some old forums, I found a solution.

Before you access any Doctrine class, you mus first bootstrap your context correctly. Here is an example:


 

Phil Sturgeon's Blog: Send iPhone notifications from CodeIgniter

PHPDeveloper.org  Mon, 11/23/2009 - 15:19

Phil Sturgeon has posted a fun little script CodeIgniter users can use to connect their application with Prowl.