Skip to content
Alvaro Graves edited this page May 22, 2013 · 12 revisions

How do I start changing components?

You can start by editing html.template and the queries in queries directory. You should also read Debugging components for more information about knowing what is going on when you request a URL served b LODSPeaKr

I changed the view or model but I it looks the same!

You can try deleting the files in the cache/ directory. Sometimes Haanga doesn't seem to notices there is a change, so you have to force it.

I got 404 but the URI does exist!

It may be a problem with the permissions in the SQLite database. Remember to grant writing permissions to the apache user not only to the database file, but also to the directory where it is located (usually meta).

Haanga breaks!

This may be related to several reasons:

  • Using dash "-" in variables
  • Not closing a for loop or an if
  • Using a forloop outside of a loop
  • include file not found

The page is just plain blank

Using lodspk.sh

  • utils/lodspk.sh debug on
  • utils/lodspk.sh debug off

/var/log/apache2

Exception query : could not find driver meta/db.sqlite

Exception query : could not find driver meta/db.sqlite

Proposed solution: Install sqlite (Requisites) and reinstall lodspeakr

b/c meta/db.sqlite wasn't created by lodspeakr b/c sqlite wasn't available during install.

Can't write in SQLite database. Please check you have granted write permissions to meta/ and meta/db.sqlite.

Can't write in SQLite database. Please check you have granted write permissions to meta/ and meta/db.sqlite.

In case your problem persist, you can wipe out the database.

Clone this wiki locally