CakePHP: Database connection "Sqlite" is missing, or could not be created

Just downloaded 2.1.1 stable to read a SQLite database. There’s a nice diagnostics page to welcome any developer, except it complained about my database config: Database connection “Sqlite” is missing, or could not be created. So I thought it might’ve been a missing driver, or something, so I looked in lib/Cake/Model/Datasource/Database: -rw-rw-r– 1 kzhiwei kzhiwei […]

Read More CakePHP: Database connection "Sqlite" is missing, or could not be created

Synaptic games deinstall for Xubuntu 10.04

Copy the following text for use w/ Synaptic when marking game-related packages for deinstall in Xubuntu 10.04. It may also work with other GNOME2-based, Ubuntu derivatives. The alternate installer does not provide the option to mark/unmark any packages at inastall time, hence the need for this. aisleriot deinstall quadrapassel deinstall gnome-mahjongg deinstall gnome-games-common deinstall gnome-sudoku […]

Read More Synaptic games deinstall for Xubuntu 10.04

OCIEnvNlsCreate() failed

Wanted to work on an Oracle project from home last weekend, but I received this message: Warning (2): ocilogon() [function.ocilogon]: OCIEnvNlsCreate() failed. There is something wrong with your system – please check that ORACLE_HOME and LD_LIBRARY_PATH are set and point to the right directories [CORE/cake/libs/model/datasources/dbo/dbo_oracle.php, line 171] A little bit of system background here. I’m […]

Read More OCIEnvNlsCreate() failed

Shell commands for Ubuntu Netbook Edition 9.10

As above, useful when deploying a client PC. # installing Wine, IEs4Linux sudo add-apt-repository ppa:ubuntu-wine/ppa sudo apt-get update sudo apt-get install wine wget http://www.tatanka.com.br/ies4linux/downloads/ies4linux-latest.tar.gz tar zxvf ies4linux-latest.tar.gz cd ies4linux-* ./ies4linux # removing games sudo apt-get remove gnome-games sudo apt-get autoremove # clearing command history history -c

Read More Shell commands for Ubuntu Netbook Edition 9.10