Website Initialization
This is a technical section to document the setting up of a new Cradur web-site.
- If required, set up a subdirectory for main web site (recommended solution).
- Copy 'index.php' and 'admin.php' (and possibly gallery.php) from another Cradur site and modify.
- If using subdirectory set up an index.php file in the root directory (see www.cradur.com/index.php for example)
Configuring the Cradur system
For standalone site - i.e. running as its own host, not as a subsite of an existing host (such as www.cradur.com), then the following steps are necessary to initialize the host:
- Copy the Cradur libraries to a directory named "cradur" immediately below root level.
- Modify the siteConfig.xml file with correct database name, user and password.
Run admin.php and login as __initializor__ (Welsh Wizard and no Welsh Fox)
- Check the configuration parameters (site)
- In the SQL Workbench do "show tables". There should not be any "cradur_" tables.
- Init User Tables.
- Init Page Tables.
- In the SQL Workbench do "show tables". There should now be five "cradur_" tables: log, user, user_access, page, and page_element.
- Update the configuration parameters paying particular attention to subsystem name (this will be used in all database records).
- Log out.
Assigning a systems administrator
Run admin.php, on the login screen register the user who will act as system administrator.
When this is complete log out.
Run admin.php and login as __initializor__
- Assign the above user as system administrator.
- Log out.