Skip to content

Commit 080060c

Browse files
committed
initial import from dokuwiki
0 parents  commit 080060c

File tree

450 files changed

+14105
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

450 files changed

+14105
-0
lines changed

bigace/admin_themes.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Admin Themes
2+
3+
Admin Themes customize the Look and Feel of the Administration the way you like it.
4+
It is possible to change Images, Stylesheet and even the Templates.
5+
6+
7+
* Here is a [HOWTO for creating own Administration Themes](bigace/developer/admintheme).
8+
9+
* Here is a [list of all available Administration Themes](bigace/extensions/admintheme).
10+
11+

bigace/administration.md

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Admin Handbook
2+
3+
Please choose any article of interest.
4+
5+
# User
6+
7+
1. Configuration of [available User attributes](bigace/administration/userattributes)
8+
9+
# Languages
10+
11+
1. Creating new [Languages](bigace/administration/languages)
12+
2. Migrating to [UTF8](bigace/administration/utf8)
13+
14+
# Updates
15+
16+
1. Creating a new [Update/Extension](bigace/update)
17+
2. Available [Extensions](bigace/extensions)
18+
3. Administration of [Updates](bigace/manual/updates)
19+
20+
# Search
21+
22+
1. Integration of [Search](bigace/administration/search) into your Website design
23+
24+
# Editors
25+
26+
1. Configuration and updating of [FCKeditor](bigace/administration/fckeditor)
27+
28+
# Security
29+
30+
1. [.htaccess Security](bigace/administration/htaccess) of your files
31+
2. [Password salting](bigace/administration/salting)
32+
3. Using [SSL](bigace/administration/ssl) for authentication and administration
33+
34+
# Mixed up
35+
36+
1. The most important [configuration files](bigace/administration/configfiles) at a glance
37+
2. BIGACE [URL Rewriting](bigace/administration/urlrewriting) features
38+
3. [Database tuning](bigace/administration/databasetuning) can increase the speed of item calls
39+
40+
41+

bigace/administration/bigace3setup.md

+94
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
# Bigace 3 - a secure Apache setup
2+
3+
The best way to install Bigace 3 is by installing it with the Apaches DocumentRoot pointing to the public/ folder.
4+
5+
This describes the config files and the required settings for a proper and secure setup.
6+
7+
We use www.example.com as domain and /var/www/bigace/ as home directory of this example installation.
8+
9+
## Apache VHost
10+
11+
First the config file for your Apache Virtual-Host in the most simpe way:
12+
13+
:::ini
14+
`<VirtualHost *:80>`
15+
ServerAdmin [email protected]
16+
ServerName www.example.com
17+
DocumentRoot /var/www/bigace/public/
18+
`</VirtualHost>`
19+
20+
21+
Or a bit more complex and improved setup:
22+
23+
24+
:::ini
25+
`<VirtualHost *:80>`
26+
ServerAdmin [email protected]
27+
ServerName www.example.com
28+
ServerSignature Off
29+
30+
DocumentRoot /var/www/bigace/public/
31+
php_admin_value open_basedir /var/www/bigace:/tmp/:/usr/share/php/
32+
php_admin_value memory_limit 64M
33+
34+
RewriteEngine On
35+
RewriteCond %{HTTP_HOST} !^www.example.com$ [NC]
36+
RewriteRule (.*) http://www.example.com$1 [R=301,L]
37+
`</VirtualHost>`
38+
39+
40+
## Apache Rewrite
41+
42+
The file /public/.htaccess needs these entries:
43+
44+
:::ini
45+
RewriteEngine On
46+
RewriteCond %{REQUEST_FILENAME} -s [OR]
47+
RewriteCond %{REQUEST_FILENAME} -l [OR]
48+
RewriteCond %{REQUEST_FILENAME} -d
49+
RewriteRule ^.*$ - [NC,L]
50+
RewriteRule ^.*$ index.php [NC,L]
51+
52+
53+
## Bigace configuration
54+
55+
Check that /application/bigace/configs/bigace.php contains the 'rewrite' setting 'true' ...
56+
57+
:::php
58+
return array (
59+
...
60+
'rewrite' => true
61+
);
62+
63+
64+
... and your Community setting in /application/bigace/configs/consumer.ini is correct:
65+
66+
:::ini
67+
[www.example.com]
68+
id = 1
69+
70+
71+
72+
## Error search
73+
74+
If you experience errors, try to add the following line to /public/.htaccess
75+
76+
:::ini
77+
SetEnv APPLICATION_ENV development
78+
79+
80+
... that it looks like this:
81+
82+
:::ini
83+
SetEnv APPLICATION_ENV development
84+
85+
RewriteEngine On
86+
RewriteCond %{REQUEST_FILENAME} -s [OR]
87+
RewriteCond %{REQUEST_FILENAME} -l [OR]
88+
RewriteCond %{REQUEST_FILENAME} -d
89+
RewriteRule ^.*$ - [NC,L]
90+
RewriteRule ^.*$ index.php [NC,L]
91+
92+
93+
Now Bigace error pages will display more information.
94+

bigace/administration/bigaceconfig.md

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Bigace configuration file
2+
3+
The main configuration file for Bigace that configures the following server settings:
4+
5+
* Database connection
6+
7+
* SSL Support
8+
9+
* URL Rewriting
10+
11+
is located at ''application/bigace/config/bigace.php''.
12+
13+
If you accidentally deleted it, you can recreate by pasting the following code inside the file and change the settings to your server environment:
14+
15+
:::php
16+
<?php
17+
return array (
18+
'database' =>
19+
array (
20+
'type' => 'Mysqli',
21+
'host' => 'localhost',
22+
'name' => 'bigace',
23+
'user' => 'username',
24+
'pass' => 'password',
25+
'prefix' => 'cms_',
26+
'charset' => 'utf8',
27+
),
28+
'ssl' => false,
29+
'rewrite' => true,
30+
);
31+
32+
33+
Note: It is correct that there is no closing PHP Tag ?> - read [bigace:developer:codeconventions](bigace/developer/codeconventions).
+60
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# Transfer / Move BIGACE to a new Server
2+
3+
If you move to a new hoster, you need to transfer BIGACE installation and database there.
4+
As BIGACE comes __not__ with a built-in backup system, you need to copy and download the data manually.
5+
6+
## Filesystem backup
7+
8+
You need the complete BIGACE root folder including ALL files and the subfolders.
9+
10+
Good hoster have a solution for filesystem backup, to create ZIP or TAR archives of the directory structure.
11+
In most cases you might need to download all files with FTP. Just choose your BIGACE folder and get a coffe ;) while downloading.
12+
13+
If you have terminal access like SSH or Windows Remote Desktop you can easily create the archive using zip/tar or any other tool of your choice. If there is no tool available you can ask your provider to create the archive for you.
14+
15+
## Database backup
16+
17+
Using phpMyAdmin will be the solution for most of the people hosting on shared systems. Just select your BIGACE database, switch to Export, select to export:
18+
19+
* Structure
20+
21+
* Content
22+
23+
* all BIGACE tables (using the BIGACE Database Prefix)
24+
25+
* into a (zipped) file
26+
and GO.
27+
28+
If you have shell access, use mysqlexport or mysqladmin if you have GUI access, what is the best way to transfer mysql data from one machine to another.
29+
30+
If the backup fails, because of too much data, truncate (empty) the "logging" and "session" tables. With activated statistics, you might create a single backup from the "statistics" data, truncate it afterwards and recreate the full backup.
31+
32+
## Reimport Database
33+
34+
Using phpMyAmin, simply create a new database on your new server. Select import and choose the exported file created in the step before. Upload and wait, everything should be fine.
35+
36+
Using a MySQL Tool you can choose between shell with mysqlimport and GUI with mysqladmin.
37+
38+
## Re-upload file structure
39+
40+
Using FTP upload the BIGACE folder into your webroot.
41+
42+
If you have shell access, upload the archive and extract it.
43+
44+
## Reconfigure BIGACE on the new host
45+
46+
After you moved database and filesystem to the new machine, you can now change the BIGACE config, according to your new environment.
47+
48+
1. Edit **/system/config/consumer.ini** and replace the old domain with the new one (for example [www.example.com] with [www.mynewhost.com])
49+
2. Edit **/system/config/config.system.php** and change the database connecting parameter
50+
51+
## Environment changed
52+
53+
If your new webhost does not support URL Rewriting and you want to turn it off, or you want to activate it because your new hoster supports .htaccess files, please read the [URL Rewriting](bigace/administration/urlrewriting) Guide.
54+
55+
If you now run in a subfolder of your domain, read how to change that in the config file [consumer.ini](bigace/manual/community#consumer.ini).
56+
57+
# SEO
58+
59+
Moving BIGACE to a new host is often connected with a domain change. In this case, think about keeping the old domain and activating a 301 .htaccess redirects to the new site for at least several weeks.
60+

bigace/administration/configfiles.md

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Configuration Files
2+
3+
There are two types of configuration Files, the first one are valid for the entire System, the othe ones are Community dependend.
4+
5+
## System Configurations
6+
7+
System wide configurations can be found in Config Files within the directory **/system/config/**.
8+
9+
**config.system.php**
10+
In dieser Datei finden sich die wichtigsten Einstellungen, z.B. die Verbindungsdaten zur Datenbank. Diese Datei ist interessant für Systemadministratoren, hier können unter anderem Session Einstellungen verändert werden.
11+
12+
**[consumer.ini](bigace/manual/community#consumer.ini)**
13+
Hier finden Sie die Verknüpfungen zwischen Domain Namen zu Consumer ID, Wartungsarbeiten und Default Consumer. Zum Editieren dieser Datei stehen mehrere Administratrationsmasken zur Verfügung. Es wird dringend davon abgeraten diese Datei manuell anzupassen!
14+
15+
**mimetypes.ini**
16+
Diee Datei enthält die Konfiguration für die Zuordnung zwischen Dateitypen und Itemtypes. Sollten Sie nicht in der Lage sein bestimmte Dateitypen hochzuladen, ist hier der richtige Ansatzpunkt.
17+
18+
**services.ini**
19+
Diese Datei ist ein elementarer Bestandteil des Core Systems, hier werden die Implementationen der API Interfaces konfiguriert. Seien Sie vorsischtig wenn Sie hier Änderungen vornehmen. Hier können Sie z.B. das Loglevel anpassen.
20+
21+
22+
## Community Configurations
23+
24+
Community dependend configurations can be found in your Community Directory [/consumer/cid{CID}/config/](bigace/cid_cid).
25+
26+
**config.system.cid{CID}.inc.php**
27+
Alle hier aufgeführten Werte überschreiben die Einstellungen der Datei config.system.php (siehe auch the section called “System Configurations”). Die so überschriebenen Einstellungen gelten dann nur für den jeweiligen Consumer.
28+
29+
Kopieren Sie die entsprechenden Einstellungen einfach von den System Dateien in die Community Konfiguration und passen sie dort entsprechend an.
30+
31+
Zum Beispiel wäre es möglich eigene Datenbanken für bestimmte Communitys zu verwenden. Häufiger wird man aber das Loglevel für einzelne Communitys anpassen wollen...
32+
33+
**config.statistic.cid{CID}.inc.php**
34+
Hier ist die Datenbankverbindung für die Statistik Tabellen eingetragen. Da bei eingeschalteten Statistiken eine große Menge an schreibenden Zugriffen stattfindet, sollten diese - aus Performancegründen - in eine andere Datenbank ausgelagert werden.
35+
36+
**config.email.cid{CID}.inc.php**
37+
Hier finden Sie die Einstellungen, welche benutzt werden um Emails zu versenden (z.B. über das "Nachrichten versenden" Modul). Die wichtigsten dieser Einstellungen werden von Ihnen während der Installation eingetragen.
38+
39+
**config.select.inc.php**
40+
In dieser Datei können die Spalten konfiguriert werden, welche von bei Datenbank Abfragen selektiert werden. Dies kann die Performance der Abfragen erhöhen. Sie sollten diese Einstellungen jedoch nur unter Vorsicht ändern, da hierdurch auch einiges "kaputt" konfiguriert werden kann (siehe auch the section called “Database Tuning”).
41+
42+
**user_attributes.ini**
43+
In dieser Datei konfigurieren Sie, welche Felder in der Benutzeradministration für einen Benutzer angezeigt werden sollen. Sie können diese Werte bedenkenlos anpassen, vorhandene Werte werden in der Datenbank nicht verändert oder gelöscht, sie werden schlimmstenfalls nicht mehr angezeigt. Sollte sich in den Übersetzungsdateien (/system/language/XX/userAdmin.lang.php) kein Schlüssel für den jeweiligen Wert finden, wird der Wert zweite Wert als Bezeichnung angezeigt.
44+
45+
+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Database Tuning
2+
3+
You have the abbility to define which columns may be fetched from the Database for Item calls.
4+
5+
A configuration holds all columns for the several Itemtypes.
6+
7+
Look at the File [/consumer/cid{CID}/config/config.select.inc.php](bigace/cid_cid) for further information. Tuning these select columns may result in better performance.
8+
9+
**Tip:** If the system might not be running after modifing the configuration, use the backup file from **/consumer/cid{CID}/config/config.select.inc.php**.

bigace/administration/fckeditor.md

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Updating the FCKeditor
2+
3+
This page describes how to configure and update the FCKeditor.
4+
5+
6+
## Updating
7+
8+
If you do not want to wait for the next BIGACE release (where the newest Editor will be shipped with) you can manually update the Editor in your Installation. It is quite simple and no system files need to be touched at all!
9+
10+
1. Download the latest version
11+
2. Delete all files and directorys from **/addon/fckeditor/**
12+
3. Extract all files from the download archive to **/addon/fckeditor/**
13+
4. If you like, remove unused files like the test directory
14+
15+
If the new version brings improvements, that require new configuration settings, you should NOT edit the editors configuration file, but add those entrys in the BIGACE configuration for the FCKeditor...
16+
17+
## Configuration File
18+
19+
The FCKeditor specific configurations are saved in the file **/system/editor/fckeditor/javascript.php**.
20+
21+
If you want to add new settings or edit the existing configuration, scroll down to the end of the file and search backward through the javascript entrys.
22+
23+
24+
## Dynamic configurations
25+
26+
**Toolbar:** You can (Community-wide) change which toolbar is used by the FCKeditor. Therefor edit the [Configuration](bigace/manual/configurations) entry **editor** -> **fckeditor.toolbar**.
27+
28+
Possible values are:
29+
30+
* **full** (default - for all available buttons)
31+
32+
* ... FIXME ... add all config names
33+
34+

bigace/administration/filelogger.md

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# File Logger
2+
3+
This short tutorial will tell you how to activate File logging in BIGACE. Logging to a file instead of database logging has the big advantage that it works even when no database connection could be established (usefull for debugging).
4+
5+
Please note, that the admin pnael at System/Logging will not work in combination with the FileLogger, you need to read the log files with a text editor!
6+
7+
Two simple steps are required:
8+
9+
## Activate File Logger
10+
11+
Read how to [configure the logger class](bigace/developer/logger).
12+
13+
## Reload the page
14+
15+
After you activated the logger, all new log entries will be written to files instead of the database. These files can be locate at **/misc/logging/**.
16+
17+
Take the last changed/created file and open it in a text editor to see the last written log entries.
18+
19+
You can delete the file, it will be recreated the next time you load the page and log entries are written.
20+
21+
## Logfile format
22+
23+
24+
Logfiles have the format "system_log_" + YEAR + "_" + MONTH + "_" + DAY + ".txt"
25+
26+
## More about logging
27+
28+
29+
* [bigace:manual:configurations:system:logger.loglevel](bigace/manual/configurations/system/logger.loglevel)
30+
31+
* [bigace:developer:logger](bigace/developer/logger)
32+
33+
* [bigace:extensions:development:firephp](bigace/extensions/development/firephp)
34+

0 commit comments

Comments
 (0)