How do I set up the Free Realty database?
The database can be populated using the configurator.sql script from the command line or by
using the configurator.php script in the /admin folder. Creating the database from the command
#mysql -u <username> -p
mysql> create database realty;
Configure common.php, and run /admin/configurator.php
To configure from the command line, edit the file configurator.sql if you are using an
existing database and are taking advantage of the $table_prefix setting in common.php.
configurator.sql must be edited to add the table prefix to table name eg.
change: CREATE TABLE agents... to: CREATE TABLE prefixagents where prefix is the name you have
chosen to be the prefix in an existing table.
Then, from the command line:
#myslq -u <username> -p realty <configurator.sql
I get: Fatal error: Call to undefined function: getdb()
You need to edit common.php making sure that the $installpath = '' is set to the correct path
name eg. /var/www/FR-2.8.5 (make sure to change this if you rename the directory)
Why is the basic FreeRealty install so "ugly"?
The plain truth is that I'm no great graphical artist or web site designer. Only the basic
functionality is provided by the FreeRealty scripts. Some work has gone into the beginnings of a stylesheet, named
freerealty.css that should give some nicer looking pages. As of 2.9, there is a default background image, some basic
formatting of colors, borders around images and the featured image box. Over time there may be additional stylesheets
available depending upon how much time I have to work on them, and how much others want to contribute :)
Where can I find better, more complete documentation?
I'm glad you asked. There is sporadic work underway to create better documentation for the entire
FreeRealty project. Files can be found in the /doc directory in a stock install. First there
are the doxygen created files in /doc/html which is the first attempt to
document the functions and scripts in the package. Then there are is the docbook documentation in
/doc/docbook/freerealty.html. This documentation will
be expanded over time to hopefully be a useful resource in your FreeRealty installation.