<?xml version="1.0" encoding="UTF-8" ?><rss version="2.0"><channel><title>BEdita Documents and Resources | Setup</title><link>http://docs3.bedita.net/setup</link><description>Install &amp; configure</description><language>eng</language><item><title>Upgrade from BEdita 3.2 to BEdita 3.3</title><description>&lt;p&gt;Instructions to manually upgrade your BEdita installation from 3.2&amp;nbsp;to 3.3&lt;/p&gt;
&lt;hr/&gt;&lt;p&gt;Instructions to manually upgrade your BEdita installation from 3.2&amp;nbsp;to 3.3&lt;/p&gt;
&lt;hr/&gt;&lt;p&gt;Currently BEdita has not an automatic system to upgrade from a version to another but you can follow the steps below to upgrade BEdita 3.2&amp;nbsp;to BEdita 3.3.&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;backup your old BEdita installation&lt;/li&gt;
	&lt;li&gt;remove the old version of BEdita and extract the new version in the same folder&lt;/li&gt;
	&lt;li&gt;restore from your BEdita backup &lt;code&gt;bedita-app/config/database.php&lt;/code&gt;&lt;/li&gt;
	&lt;li&gt;copy your backupped file&amp;nbsp;&lt;code&gt;bedita-app/config/core.php&lt;/code&gt;&amp;nbsp;to &lt;code&gt;bedita-app/config/core.php&lt;/code&gt;&lt;/li&gt;
	&lt;li&gt;copy your backupped file&amp;nbsp;&lt;code&gt;bedita-app/config/bedita.cfg.php&lt;/code&gt;&amp;nbsp;to &lt;code&gt;bedita-app/config/bedita.cfg.php&lt;/code&gt;&lt;/li&gt;
	&lt;li&gt;make sure that &lt;code&gt;bedita-app/tmp&lt;/code&gt; (and subfolders) and &lt;strong&gt;mediaRoot&lt;/strong&gt; are writable by web server&lt;/li&gt;
	&lt;li&gt;execute the queries in:
	&lt;ul&gt;
		&lt;li&gt;&lt;code&gt;bedita-app/config/sql/upgrade/1.3.2-to-3.3-schema.sql&lt;/code&gt;&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;restore your frontends in &lt;code&gt;frontends&lt;/code&gt; folder.&lt;/li&gt;
&lt;/ol&gt;
</description><pubDate>Fri, 28 Feb 2014 11:31:03 +0100</pubDate><link>http://docs3.bedita.net/setup/upgrade-from-bedita-3-2-to-bedita-3-3</link><guid>http://docs3.bedita.net/setup/upgrade-from-bedita-3-2-to-bedita-3-3</guid></item><item><title>Choose and configure rich text editors</title><description>&lt;hr/&gt;&lt;p&gt;BEdita comes with two bundled rich text editors. &lt;a title=&quot;ckeditor&quot; href=&quot;http://ckeditor.com/&quot; target=&quot;_blank&quot;&gt;CKEditor&lt;/a&gt; the default and &lt;a href=&quot;http://www.tinymce.com/&quot; target=&quot;_blank&quot;&gt;TinyMCE&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Sometimes you could need to customize the rich text editor for example to simplify toolbar, add buttons, etc... or maybe you would use TinyMCE instead of CKEditor.&lt;/p&gt;
&lt;p&gt;Do that in BEdita is quite simple, you have to change a configuration var in &lt;code&gt;bedita.cfg.php&lt;/code&gt; file and eventually write your own rich text configuration.&lt;/p&gt;
&lt;h1&gt;File system structure&lt;/h1&gt;
&lt;p&gt;Rich text editors are located &lt;span&gt;under &lt;/span&gt;&lt;code&gt;bedita-app/webroot/js/libs/richtexteditors&lt;/code&gt;&lt;span&gt; folder&lt;/span&gt;&lt;/p&gt;
&lt;pre class=&quot;brush: bash; first-line: 1; tab-size: 4; toolbar: false; &quot;&gt;webroot
|
|--js
    |
    |--libs
        |
        |--richtexteditors
            |
            |--ckeditor
            |--tinymce
            |--conf
                |
                |--local&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;where &lt;/span&gt;&lt;code&gt;conf&lt;/code&gt;&lt;span&gt; folder contains default configurations for &lt;/span&gt;&lt;strong&gt;ckeditor&lt;/strong&gt;&lt;span&gt; and &lt;/span&gt;&lt;strong&gt;tinymce&lt;/strong&gt;&lt;span&gt;. &lt;/span&gt;&lt;br /&gt;&lt;span&gt;Custom configurations for specifics BEdita instances would go in &lt;/span&gt;&lt;code&gt;local&lt;/code&gt;&lt;span&gt; folder.&lt;/span&gt;&lt;/p&gt;
&lt;h1&gt;&lt;span&gt;Choose and Configure&lt;/span&gt;&lt;/h1&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;In order to choose rich text editor and configuration, the &lt;/span&gt;&lt;strong&gt;richtexteditor&lt;/strong&gt;&lt;span&gt; var in &lt;/span&gt;&lt;code&gt;bedita.ini.php&lt;/code&gt;&lt;span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;pre class=&quot;brush: php; first-line: 1; tab-size: 4; toolbar: false; &quot;&gt;$config[&#039;richtexteditor&#039;] = array(
    &#039;name&#039; =&amp;gt; &#039;ckeditor&#039;,
    &#039;conf&#039; =&amp;gt; &#039;ckeditor_default_init&#039;,
);&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;has to be overridden in &lt;/span&gt;&lt;code&gt;bedita.cfg.php&lt;/code&gt;&lt;span&gt;.&lt;br /&gt;&lt;strong&gt;conf&lt;/strong&gt;&lt;span&gt; value is referred to &lt;/span&gt;&lt;code&gt;richtexteditor/conf&lt;/code&gt;&lt;span&gt; folder, so for example to use a file named &lt;/span&gt;&lt;code&gt;ckeditor_custom_init.js&lt;/code&gt;&lt;span&gt; located in &lt;/span&gt;&lt;code&gt;conf/local&lt;/code&gt;&lt;span&gt; folder the configuration var would be&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;pre class=&quot;brush: php; first-line: 1; tab-size: 4; toolbar: false; &quot;&gt;$config[&#039;richtexteditor&#039;] = array(
    &#039;name&#039; =&amp;gt; &#039;ckeditor&#039;,
    &#039;conf&#039; =&amp;gt; &#039;local/ckeditor_custom_init&#039;,
);&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;To create custom conf you should start from default con file and change what you need.&lt;br /&gt;If you want to use TinyMCE with default configuration:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;pre class=&quot;brush: php; first-line: 1; tab-size: 4; toolbar: false; &quot;&gt;$config[&#039;richtexteditor&#039;] = array(
    &#039;name&#039; =&amp;gt; &#039;tinymce&#039;,
    &#039;conf&#039; =&amp;gt; &#039;tinymce_default_init&#039;,
);&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;</description><pubDate>Thu, 28 Mar 2013 10:57:23 +0100</pubDate><link>http://docs3.bedita.net/setup/choose-and-configure-richtext-editors</link><guid>http://docs3.bedita.net/setup/choose-and-configure-richtext-editors</guid></item><item><title>Requirements</title><description>&lt;hr/&gt;&lt;p&gt;Most &lt;strong&gt;LAMP &lt;/strong&gt;(Linux Apache Mysql Php) hosts meet the minimum requirements to run BEdita. However BEdita can easily be installed also on other platforms like Windows or OSX, for example.&lt;/p&gt;

&lt;p&gt;Just be sure that your host environment &lt;em&gt;web server&lt;/em&gt;, &lt;em&gt;database server&lt;/em&gt; and &lt;em&gt;php&lt;/em&gt; are compatible with the version of BEdita you want to install.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;nbsp;BEdita 3.4 &lt;em&gt;corylus&lt;/em&gt;&amp;nbsp; - minimum requirements&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Web server(**) &lt;strong&gt;Apache2&lt;/strong&gt;&lt;/li&gt;
	&lt;li&gt;Database &lt;strong&gt;MySQL 5.1&lt;/strong&gt; or newer with &lt;em&gt;InnoDB&lt;/em&gt; engine enabled, PostgreSQL 9&lt;/li&gt;
	&lt;li&gt;&lt;strong&gt;PHP 5.3&lt;/strong&gt; or newer with&amp;nbsp;&lt;em&gt;gd, mbstring &lt;/em&gt;and&lt;em&gt; gettext (recommended) &lt;/em&gt;modules&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;(**) other web server like Nginx or Microsoft IIS should work but are not officially supported&lt;/p&gt;
</description><pubDate>Fri, 21 Sep 2012 12:53:51 +0200</pubDate><link>http://docs3.bedita.net/setup/requirements</link><guid>http://docs3.bedita.net/setup/requirements</guid></item><item><title>Handling mod_rewrite in BEdita and CakePhp</title><description>How to fix mod_rewrite related issues on BEdita environment setup&lt;hr/&gt;&lt;p&gt;BEdita is built to work with mod_rewrite out of the box, just like CakePhp. If something doesn&#039;t work nicely on your system, it can be related to apache/mod_rewrite settings.&lt;/p&gt;
&lt;p&gt;Typical scenario: .css, .js and image file paths are wrong and BEdita interface is missing styles/images and appears almost blank (see screenshot at the end of this article).&lt;/p&gt;
&lt;p&gt;Possible configurations:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;mod_rewrite&lt;/strong&gt; enabled (BEdita default setup)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;mod_rewrite&lt;/strong&gt; disabled (BEdita custom setup)&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Check your apache configuration, for example using a &quot;phpinfo&quot; page:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Save under DocumentRoot directory a php file with content
&lt;pre class=&quot;brush: php; first-line: 1; tab-size: 4; toolbar: false; &quot;&gt; &lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Open that page with the browser and take a look in &lt;em&gt;Loaded Modules&lt;/em&gt;: if mod_rewrite is already loaded, it&#039;s listed in that section.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;If mod_rewrite is already loaded, default BEdita setup is ok for your system.&lt;/p&gt;
&lt;p&gt;Decide if you prefer to change your apache configuration (enabling mod_rewrite) or you prefer to customize BEdita setup (for systems without mod_rewrite).&lt;/p&gt;
&lt;p&gt;In case you want to change your apache configuration, you can find useful &lt;a href=&quot;http://book.cakephp.org/1.3/view/917/Apache-and-mod_rewrite-and-htaccess&quot;&gt;this CakePhp article about Apache and mod_rewrite and htaccess&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;mod_rewrite enabled - default BEdita setup&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Default setup provides 3 .htaccess files and &#039;App.baseUrl&#039; line commented, in $BEDITA_HOME/bedita-app/config/core.php.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;$BEDITA_HOME/.htaccess&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;$BEDITA_HOME/bedita-app/.htaccess&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;$BEDITA_HOME/bedita-app/webroot/.htaccess&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;in &lt;code&gt;$BEDITA_HOME/bedita-app/config/core.php&lt;/code&gt;:
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;//Configure::write(&#039;App.baseUrl&#039;, env(&#039;SCRIPT_NAME&#039;));&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;mod_rewrite disabled - customize BEdita setup&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In order to let BEdita work with mod_rewrite disabled, it&#039;s necessary to remove the 3 .htaccess files and uncomment &#039;App.baseUrl&#039; line in $BEDITA_HOME/bedita-app/config/core.php:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;Configure::write(&#039;App.baseUrl&#039;, env(&#039;SCRIPT_NAME&#039;));&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;</description><pubDate>Fri, 21 Sep 2012 08:21:19 +0200</pubDate><link>http://docs3.bedita.net/setup/handling-mod_rewrite-in-bedita-and-cakephp</link><guid>http://docs3.bedita.net/setup/handling-mod_rewrite-in-bedita-and-cakephp</guid></item><item><title>Install BEdita 3.1</title><description>&lt;p&gt;First BEdita 3.1 install&lt;/p&gt;&lt;hr/&gt;&lt;p&gt;First BEdita 3.1 install&lt;/p&gt;&lt;hr/&gt;&lt;h2&gt;Foreword&lt;/h2&gt;
&lt;p&gt;Below you will see &lt;strong&gt;how to install a backend application&lt;/strong&gt;. At the end of this procedure you will find a folder named &lt;code&gt;frontends&lt;/code&gt;, containing some frontend examples. Start from here to &lt;a href=&quot;/documentation/frontend-overview&quot; target=&quot;_self&quot;&gt;develop a frontend application&lt;/a&gt;.&lt;br /&gt;There is not an automatic setup/install procedure with a graphical user interface for BEdita 3.1 &lt;em&gt;ulmus&lt;/em&gt;, but you have to follow some easy steps. A graphical user interface has been introduced from BEdita version 3.2 &lt;em&gt;populus.&lt;/em&gt;&lt;/p&gt;
&lt;h2&gt;Before installing BEdita&lt;/h2&gt;
&lt;p&gt;First it is necessary that some preliminary requirements are satisfied. See &lt;a href=&quot;requirements&quot;&gt;BEdita requirements&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;Download BEdita package&lt;/h2&gt;
&lt;p&gt;If your system does support the requirements listed above you can &lt;a href=&quot;http://www.bedita.com/beopen/be-download&quot;&gt;download&lt;/a&gt;&lt;strong&gt; &lt;/strong&gt;the package. This package contains everything you need to setup and use BEdita.&lt;/p&gt;
&lt;p&gt;There you will find the real BEdita application (&lt;em&gt;bedita-app &lt;/em&gt;directory), the &lt;a title=&quot;CakePHP&quot; href=&quot;http://cakephp.org/&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;CakePHP&lt;/span&gt;&lt;/a&gt; framework (&lt;em&gt;cake &lt;/em&gt;folder), the template engine &lt;a title=&quot;Smarty template engine&quot; href=&quot;http://www.smarty.net/&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;Smarty&lt;/span&gt;&lt;/a&gt; (&lt;em&gt;vendors/smarty &lt;/em&gt;dir) and the &lt;a title=&quot;phpThumb&quot; href=&quot;http://phpthumb.sourceforge.net/&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;phpThumb&lt;/span&gt;&lt;/a&gt; library (&lt;em&gt;vendors/phpThumb &lt;/em&gt;dir), and many other libraries used.&lt;/p&gt;
&lt;hr /&gt;
&lt;h2&gt;&lt;br /&gt;Quick install&lt;/h2&gt;
&lt;p&gt;Copy or unpack &lt;em&gt;bedita &lt;/em&gt;directory (content of the compressed source package) in a directory served by the web server. Then:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;create an empty database, create/choose a user with grants on data (DELETE, UPDATE...) and structure (DROP, CREATE,...)&lt;/li&gt;
&lt;li&gt;edit  &lt;code&gt;bedita-app/config/database.php&lt;/code&gt; adding database connection details (host, user,...)&lt;/li&gt;
&lt;li&gt;edit &lt;code&gt;bedita-app/config/bedita.sys.php&lt;/code&gt;; in &lt;code&gt;$config[&#039;beditaUrl&#039;]&lt;/code&gt; write the web URL to BEdita installation, in &lt;code&gt;$config[&#039;mediaUrl&#039;]&lt;/code&gt; write the web URL to the media files, normally you can use &lt;code&gt;$config[&#039;beditaUrl&#039;] . &quot;/files&quot; &lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;make sure &lt;code&gt;bedita-app/tmp &lt;/code&gt;is writable from your web server&lt;/li&gt;
&lt;li&gt;if you haven&#039;t  &lt;strong&gt;mod_rewrite&lt;/strong&gt; enabled remove &lt;code&gt;.htaccess&lt;/code&gt; files and uncomment &lt;code&gt;App.baseUrl&lt;/code&gt; in &lt;code&gt;bedita/bedita-app/config/core.php&lt;/code&gt;. For more detail read the &lt;a href=&quot;#htaccessNote&quot;&gt;Note&lt;/a&gt; below.&lt;/li&gt;
&lt;li&gt;launch &lt;code&gt;./cake.sh bedita init&lt;/code&gt; to check your setup&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Optional steps:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;create a root directory for media files, served by your webserver; or use default dir &lt;code&gt;bedita-app/webroot/files&lt;/code&gt;, already present &lt;/li&gt;
&lt;li&gt;edit &lt;code&gt;bedita-app/config/bedita.sys.php&lt;/code&gt;, in &lt;code&gt;$config[&#039;mediaRoot&#039;]&lt;/code&gt; write the absolute path to this media root dir, in &lt;code&gt;$config[&#039;mediaUrl&#039;]&lt;/code&gt; write the web URL to the same directory&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;h2&gt;&lt;br /&gt;Installation details&lt;/h2&gt;
&lt;p&gt;Here the same instruction from above in more detail.&lt;/p&gt;
&lt;p&gt;1. Create the database&lt;/p&gt;
&lt;p&gt;Just create an empty database on MySQL and define a mysql user having grants on data (INSERT, DELETE, etc....) and on structure (CREATE, DROP, etc....). Make sure you have stored procedures available on your installation.&lt;/p&gt;
&lt;p&gt;2. Launch &lt;em&gt;bedita init &lt;/em&gt;shell script&lt;/p&gt;
&lt;p&gt;To initialize the system correctly, BEdita has a PHP script that you have to launch from the command line (a cake shell script, more precisely). Just go to the &lt;em&gt;bedita&lt;/em&gt; directory above on the shell and type:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;./cake.sh bedita init&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;(on Linux/Mac/*nix systems, on Windows use &lt;code&gt;cake.bat&lt;/code&gt; instead of &lt;code&gt;./cake.sh&lt;/code&gt;). This script first checks your configuration, if it finds something wrong or not properly setup it will suggest you what to do. For instance if the database connection fails it will tell you which file to check and which variable to edit.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;HINT: edit $default array in bedita-app/config/database.php, have a look at cakePHP documentation.&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Don&#039;t worry!&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;There are just two files to edit, &lt;code&gt;bedita-app/config/database.php&lt;/code&gt; for the database connection (&lt;a title=&quot;CakePHP database configuration&quot; href=&quot;http://book.cakephp.org/view/40/Database-Configuration&quot; target=&quot;_blank&quot;&gt;look at the CakePHP docs&lt;/a&gt;) and &lt;code&gt;bedita-app/config/bedita.sys.php&lt;/code&gt; where you have to define three fundamental variables for BEdita.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;the first one is &lt;code&gt;$config[&#039;mediaRoot&#039;]&lt;/code&gt; that indicates a directory on your filesystem where BEdita will put any file uploaded (through a form) on the system. Verify that the webserver has the right permissions to read and write in this directory.&lt;/li&gt;
&lt;li&gt;the second is &lt;code&gt;$config[&#039;mediaUrl&#039;]&lt;/code&gt; that indicates the base URL from which you can reach the uploaded files.&lt;/li&gt;
&lt;li&gt;the third is &lt;code&gt;$config[&#039;beditaUrl&#039;] &lt;/code&gt;that indicates the base URL of your BEdita installation&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;padding: 5px; background-color: #ededed;&quot;&gt;
&lt;p&gt;&lt;strong&gt;Note: &lt;/strong&gt;to define paths on filesystem you may use &lt;code&gt;DS&lt;/code&gt; as generic &lt;em&gt;directory separator,&lt;/em&gt; it will be &quot;/&quot; oni *nix systems (Linux, McOSX,...) or &quot;\&quot; on Windows.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;You can obviously have more complex configurations creating the &lt;em&gt;media&lt;/em&gt; directory somewhere else defining a virtual host that points to it (recommended for production systems).&lt;/p&gt;
&lt;p&gt;Once the system is correclty configured the script wil create and initialize the database. At last it will ask if you want to check the &lt;strong&gt;status&lt;/strong&gt; of BEdita, just press &lt;strong&gt;y&lt;/strong&gt; and you will receive a short summary of your configuration.&lt;/p&gt;
&lt;p&gt;Be aware of the permissions on &lt;strong&gt;bedita-app/tmp&lt;/strong&gt; directory that has to be recursively writable from your webserver.&lt;/p&gt;
&lt;div style=&quot;padding: 5px; background-color: #ededed;&quot;&gt;
&lt;p&gt;&lt;a name=&quot;htaccessNote&quot;&gt;&lt;/a&gt;&lt;strong&gt;Note:&lt;/strong&gt; BEdita is based on CakePHP framework. CakePHP is built to work with &lt;strong&gt;mod_rewrite&lt;/strong&gt; out of the box (&lt;a href=&quot;http://book.cakephp.org/view/37/Apache-and-mod_rewrite-and-htaccess&quot; rel=&quot;nofollow&quot;&gt;http://book.cakephp.org/view/37/Apache-and-mod_...&lt;/a&gt;). If you want/can use it (recommended) check if it&#039;s enabled, otherwise if you want to configure CakePHP not to use mod_rewrite remove &lt;code&gt;.htaccess&lt;/code&gt; files in&lt;br /&gt;&lt;br /&gt;&lt;code&gt;/bedita/.htaccess&lt;br /&gt;/bedita/bedita-app/.htaccess&lt;br /&gt;/bedita/bedita-app/webroot/.htaccess&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;And uncomment the &lt;code&gt;App.baseUrl&lt;/code&gt; in &lt;code&gt;bedita/bedita-app/config/core.php&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;//Configure::write(&#039;App.baseUrl&#039;, env(&#039;SCRIPT_NAME&#039;));&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;You can find more information in &lt;a href=&quot;http://docs.bedita.com/handling-mod_rewrite-in-bedita-and-cakephp&quot;&gt;Handling mod_rewrite in BEdita and CakePhp&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;h2&gt;&lt;br /&gt;And now?&lt;/h2&gt;
&lt;p&gt;Open your browser and write on the address bar the location that points to your BEdita installation.&lt;/p&gt;
&lt;p&gt;You will be redirected to the login page. Type &lt;strong&gt;bedita&lt;/strong&gt; as &lt;strong&gt;username&lt;/strong&gt; and also as &lt;strong&gt;password&lt;/strong&gt; &lt;em&gt;et voilà&lt;/em&gt;...have fun with BEdita!!&lt;/p&gt;
&lt;div id=&quot;_mcePaste&quot; style=&quot;overflow: hidden; position: absolute; left: -10000px; top: 2166px; width: 1px; height: 1px;&quot;&gt;&lt;code&gt;mediaRoot&lt;/code&gt;&lt;/div&gt;</description><pubDate>Tue, 23 Dec 2008 12:48:38 +0100</pubDate><link>http://docs3.bedita.net/setup/installation-setup</link><guid>http://docs3.bedita.net/setup/installation-setup</guid></item><item><title>If something goes wrong - 4 steps</title><description>4 simple steps to follow if your BEdita applications are not working&lt;hr/&gt;&lt;p&gt;Your application is not responding, you have a blank page, some elements are not displayed, page layout is broken, you get mysterious error messages.....but you don&#039;t know what&#039;s going wrong and how to fix it? Ok, don&#039;t panic :-)&lt;/p&gt;
&lt;p&gt;Here a simple checklist in four steps to use in such situations:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;debug level - core.php&lt;/strong&gt; - it&#039;s a common practice to set a debug level during development/testing of your application, you do so by setting &lt;em&gt;Configure::write(&#039;debug&#039;, 1);&lt;/em&gt; in &lt;span style=&quot;text-decoration: underline;&quot;&gt;bedita-app/config/core.php&lt;/span&gt; in backend or in &lt;span style=&quot;text-decoration: underline;&quot;&gt;frontends/&lt;em&gt;[frontend-name]&lt;/em&gt;/config/core.php&lt;/span&gt; in your specific &lt;em&gt;[frontend-name]&lt;/em&gt; frontend. It may help: additional information should be displayed in your browser and in log files. Remember to remove debug level by setting &lt;em&gt;Configure::write(&#039;debug&#039;, 0) &lt;/em&gt;for a production system.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;view BEdita log files&lt;/strong&gt; - backend log files are in &lt;span style=&quot;text-decoration: underline;&quot;&gt;bedita-app/tmp/logs&lt;/span&gt; folder for backend and in &lt;span style=&quot;text-decoration: underline;&quot;&gt;frontends/&lt;em&gt;[frontend-name]&lt;/em&gt;/tmp/logs&lt;/span&gt; for your &lt;em&gt;[frontend-name]&lt;/em&gt; frontend. Look at &lt;em&gt;error.log&lt;/em&gt; file first, then view &lt;em&gt;debug.log&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;view web servers log files&lt;/strong&gt; - if you&#039;re using Apache usually these files are located in a common log directory for your web server, but you can specify other custom log directories for both backend and frontend. In typical Unix setup you may find these files in &lt;span style=&quot;text-decoration: underline;&quot;&gt;/var/log/apache2/&lt;/span&gt; (without custom log directories). Read &lt;span style=&quot;text-decoration: underline;&quot;&gt;&lt;em&gt;error.log&lt;/em&gt;&lt;/span&gt; first, then look at &lt;span style=&quot;text-decoration: underline;&quot;&gt;&lt;em&gt;access.log&lt;/em&gt;&lt;/span&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;get online support&lt;/strong&gt; - if the problem is still obscure, write to our &lt;a title=&quot;BEdita google group&quot; href=&quot;https://groups.google.com/forum/#!forum/bedita&quot; target=&quot;_blank&quot;&gt;google group to get support&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description><pubDate>Mon, 19 Mar 2012 18:10:21 +0100</pubDate><link>http://docs3.bedita.net/setup/if-something-goes-wrong-in-bedita</link><guid>http://docs3.bedita.net/setup/if-something-goes-wrong-in-bedita</guid></item><item><title>BEdita folder structure</title><description>&lt;p&gt;A brief description of the most important files and folders (for developers)&lt;/p&gt;
&lt;hr/&gt;&lt;p&gt;A brief description of the most important files and folders (for developers)&lt;/p&gt;
&lt;hr/&gt;&lt;p&gt;Inside &lt;em&gt;bedita&lt;/em&gt; folder you will see:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;addons&lt;br /&gt;
bedita-app&lt;br /&gt;
bedita-doc&lt;br /&gt;
cake&lt;br /&gt;
frontends&lt;br /&gt;
modules&lt;br /&gt;
vendors&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;addons&lt;/h2&gt;

&lt;p&gt;BEdita addons, you can put here new components, helpers, models to extend or customize BEdita&lt;/p&gt;

&lt;h2&gt;bedita-app&lt;/h2&gt;

&lt;p&gt;This folder contains the backend/core application: a typical &lt;a href=&quot;http://book.cakephp.org/view/20/The-App-Folder&quot; target=&quot;_blank&quot; title=&quot;CakePHP application structure&quot;&gt;CakePHP application&lt;/a&gt; with controllers, components, models, views, etc...&lt;/p&gt;

&lt;h2&gt;bedita-app/config&lt;/h2&gt;

&lt;p&gt;Here you can find configuration files like database configuration (database.php) and BEdita instance configuration (bedita.ini.php, bedita.sys.php and bedita.cfg.php).&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;&lt;strong&gt;database.php&lt;/strong&gt;: put database connection parameters (host, user, password, database...) in&amp;nbsp;$default array;&lt;/li&gt;
	&lt;li&gt;&lt;strong&gt;bedita.ini.php&lt;/strong&gt;:&lt;strong&gt; &lt;/strong&gt;internal configuration parameters - &lt;strong&gt;DO NO EDIT&lt;/strong&gt;&lt;span style=&quot;font-family: mceinline;&quot;&gt;!&lt;/span&gt; It may be overwritten on BEdita software update;&lt;/li&gt;
	&lt;li&gt;&lt;strong&gt;bedita.cfg.php&lt;/strong&gt;: application and system/server configuration; here you can override some configuration parameters of bedita.ini.php like: languages used, default UI/content language for your application, semantic relations between BEdita objects (through &lt;span style=&quot;text-decoration: underline;&quot;&gt;&lt;em&gt;objRelationType&lt;/em&gt;&lt;/span&gt;) and system settings like: &lt;span style=&quot;text-decoration: underline;&quot;&gt;&lt;em&gt;beditaUrl&lt;/em&gt;&lt;/span&gt; (BEdita backend instance URL), &lt;span style=&quot;text-decoration: underline;&quot;&gt;&lt;em&gt;mediaRoot&lt;/em&gt;&lt;/span&gt; (media files root folder), &lt;span style=&quot;text-decoration: underline;&quot;&gt;&lt;em&gt;mediaUrl&lt;/em&gt;&lt;/span&gt; (mediaRoot URL), &lt;em&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;smtpOptions&lt;/span&gt;&lt;/em&gt; (smtp server configuration), etc...&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;bedita-doc&lt;/h2&gt;

&lt;p&gt;API doc folder, generate it with doxygen.&lt;/p&gt;

&lt;h2&gt;cake&lt;/h2&gt;

&lt;p&gt;the CakePHP framework&lt;/p&gt;

&lt;h2&gt;frontends&lt;/h2&gt;

&lt;p&gt;frontend applications; here you will find some examples: a simple &lt;span style=&quot;text-decoration: underline;&quot;&gt;&lt;em&gt;site&lt;/em&gt;&lt;/span&gt;, a simple &lt;span style=&quot;text-decoration: underline;&quot;&gt;&lt;em&gt;blog/wordpress&lt;/em&gt;&lt;/span&gt; like frontend,&lt;em&gt; a &lt;span style=&quot;text-decoration: underline;&quot;&gt;dummy &lt;/span&gt;&lt;/em&gt;one, and a &lt;span style=&quot;text-decoration: underline;&quot;&gt;&lt;em&gt;debug&lt;/em&gt;&lt;/span&gt; application&lt;/p&gt;

&lt;h2&gt;modules&lt;/h2&gt;

&lt;p&gt;BEdita plugin modules, to extend BEdita functionality&lt;/p&gt;

&lt;h2&gt;vendors&lt;/h2&gt;

&lt;p&gt;Third party libraries like &lt;strong&gt;Smarty&lt;/strong&gt; &lt;em&gt;or&lt;/em&gt; &lt;strong&gt;phpThumb&lt;/strong&gt;.&lt;/p&gt;
</description><pubDate>Thu, 26 Jan 2012 16:51:35 +0100</pubDate><link>http://docs3.bedita.net/setup/bedita-structure-32</link><guid>http://docs3.bedita.net/setup/bedita-structure-32</guid></item><item><title>BEdita shell: introducing command line tools</title><description>A collection of useful command line tools to execute simple tasks from shell&lt;hr/&gt;&lt;p&gt;A collection of useful command line tools to execute simple tasks from shell&lt;/p&gt;&lt;hr/&gt;&lt;p&gt;Command line tools are an important (and not well known) part of the BEdita framework.&lt;br /&gt;There are many commands available to accomplish many tasks:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;export or import a complete instance&lt;/li&gt;
&lt;li&gt;send notification mails or newsletter&lt;/li&gt;
&lt;li&gt;create a new BEdita instance&lt;/li&gt;
&lt;li&gt;check instance status&lt;/li&gt;
&lt;li&gt;remove cache and compiled templates&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;How do I use them?&lt;/h2&gt;
&lt;p&gt;There is a simple shell/batch script (cake.sh for Linux/Max/Unix cake.bat for Windows) to launch those tasks.&lt;br /&gt;Point to the root BEdita directory with the command line where you have bedita-app, bedita-db, cake, vendors directories.&lt;/p&gt;
&lt;p&gt;Under Linux or MacOSX (or other UNIX-like systems) type:&lt;/p&gt;
&lt;pre class=&quot;brush: bash; first-line: 1; tab-size: 4; toolbar: false; &quot;&gt;./cake.sh bedita help&lt;/pre&gt;
&lt;p&gt;&lt;code&gt; &lt;/code&gt;Under Windows:&lt;/p&gt;
&lt;pre class=&quot;brush: bash; first-line: 1; tab-size: 4; toolbar: false; &quot;&gt;cake.bat bedita help&lt;/pre&gt;
&lt;p&gt;&lt;code&gt; &lt;/code&gt;You will get some informations and usage hints regarding the main &lt;strong&gt;bedita&lt;/strong&gt; script.&lt;br /&gt;Now you can play with this script and discover what services it provides.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;To name a few (without cake.sh/bat):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;bedita cleanup&lt;/code&gt; - cache and compiled templates cleanup&lt;/li&gt;
&lt;li&gt;&lt;code&gt;bedita export/import&lt;/code&gt; - exports or imports a complete BEdita instance&lt;/li&gt;
&lt;li&gt;&lt;code&gt;bedita modules&lt;/code&gt; - adds/removes instance modules&lt;/li&gt;
&lt;li&gt;&lt;code&gt;bedita checkApp&lt;/code&gt; - checks application status, missing config files, db connections, checks main URLs, paths and permissions on filesystem&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Besides the main script (&lt;strong&gt;bedita&lt;/strong&gt;) there are other BEdita shell tools available:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;em&gt;&lt;strong&gt;dbadmin&lt;/strong&gt;&lt;/em&gt;: some methods to check/fix some db data, some to insert test objects&lt;/li&gt;
&lt;li&gt;&lt;em&gt;&lt;strong&gt;gettext&lt;/strong&gt;&lt;/em&gt;: parses views/php files, extracts i18n entries and updates .po files (gettext format)&lt;/li&gt;
&lt;li&gt;&lt;em&gt;&lt;strong&gt;mail&lt;/strong&gt;&lt;/em&gt;: sends notification mail and newsletters&lt;/li&gt;
&lt;li&gt;&lt;em&gt;&lt;strong&gt;migrate&lt;/strong&gt;&lt;/em&gt;: data migration scripts from previous BEdita versions&lt;/li&gt;
&lt;li&gt;&lt;em&gt;&lt;strong&gt;newsletter&lt;/strong&gt;&lt;/em&gt;: some newsletter related tools (data import)&lt;/li&gt;
&lt;/ul&gt;</description><pubDate>Wed, 22 Jul 2009 17:33:22 +0200</pubDate><link>http://docs3.bedita.net/setup/bedita-shell-introducing-command-line-tools</link><guid>http://docs3.bedita.net/setup/bedita-shell-introducing-command-line-tools</guid></item><item><title>Upgrade from BEdita 3.1 to BEdita 3.2</title><description>Instructions to manually upgrade your BEdita installation from 3.1 to 3.2&lt;hr/&gt;&lt;p&gt;Instructions to manually upgrade your BEdita installation from 3.1 to 3.2&lt;/p&gt;&lt;hr/&gt;&lt;p&gt;Currently BEdita has not an automatic system to upgrade from a version to another but you can follow the steps below to upgrade BEdita 3.1 to BEdita 3.2.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;backup your old BEdita installation&lt;/li&gt;
&lt;li&gt;remove the old version of BEdita and extract the new version in the same folder&lt;/li&gt;
&lt;li&gt;restore from your BEdita backup &lt;code&gt;bedita-app/config/database.php&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;copy &lt;code&gt;bedita-app/config/core.php.sample&lt;/code&gt; to &lt;code&gt;bedita-app/config/core.php&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;copy &lt;code&gt;bedita-app/config/bedita.cfg.php.sample&lt;/code&gt; to &lt;code&gt;bedita-app/config/bedita.cfg.php&lt;/code&gt; and restore config vars &lt;strong&gt;beditaUrl&lt;/strong&gt;, &lt;strong&gt;mediaUrl&lt;/strong&gt;, &lt;strong&gt;mediaRoot&lt;/strong&gt; from bedita.sys.php and any other configurations you did in old bedita.cfg.php. You can edit some of these configurations through the Admin module.&lt;/li&gt;
&lt;li&gt;make sure that &lt;code&gt;bedita-app/tmp&lt;/code&gt; (and subfolders) and &lt;strong&gt;mediaRoot&lt;/strong&gt; are writable by web server&lt;/li&gt;
&lt;li&gt;check if these two files exist:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;bedita-app/config/sql/upgrade/0.3.1-to-3.2-data.sql&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;bedita-app/config/sql/upgrade/1.3.1-to3.2-schema.sql&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
and execute the queries of first file and then of second file. If some of these files are missing don&#039;t worry, it means that no relative queries for data and/or schema needs.&lt;/li&gt;
&lt;li&gt;restore your frontends in &lt;code&gt;frontends&lt;/code&gt; folder and follow the &lt;a href=&quot;/migrating-from-bedita-3-2-from-3-1&quot;&gt;migration guide&lt;/a&gt; to make your frontends compatible with BEdita 3.2&lt;/li&gt;
&lt;/ol&gt;</description><pubDate>Fri, 23 Dec 2011 11:02:10 +0100</pubDate><link>http://docs3.bedita.net/setup/upgrade-from-bedita-3-1-to-bedita-3-2</link><guid>http://docs3.bedita.net/setup/upgrade-from-bedita-3-1-to-bedita-3-2</guid></item><item><title>Install BEdita</title><description>&lt;div&gt;
&lt;p&gt;From BEdita 3.2 comes with a new web based wizard installer&lt;/p&gt;
&lt;/div&gt;
&lt;hr/&gt;&lt;p&gt;From version 3.2 &lt;strong&gt;BEdita&lt;/strong&gt; comes with a new web based wizard installer&lt;/p&gt;
&lt;hr/&gt;&lt;p&gt;Follow the instructions below to start working with BEdita&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;make sure your host meets &lt;a href=&quot;requirements&quot;&gt;BEdita requirements&lt;/a&gt;;&lt;/li&gt;
	&lt;li&gt;download the &lt;a href=&quot;/download/beditaopen3-unstable&quot;&gt;package&lt;/a&gt;;&lt;/li&gt;
	&lt;li&gt;unpack the package in a directory served by the web server. For instance (shell example):
	&lt;pre class=&quot;brush: bash; first-line: 1; tab-size: 4; toolbar: false; &quot;&gt;
tar -xvpzf package.tar.gz /var/www/bedita&lt;/pre&gt;
	(assuming that DocumentRoot is /var/www);&lt;/li&gt;
	&lt;li&gt;point your web browser to the url relative at your bedita folder (the system will show you a web wizard installer); following the above example, url would be something like &lt;code&gt;http://localhost/bedita&lt;/code&gt;&lt;/li&gt;
	&lt;li&gt;follow these basci steps and configure BEdita
	&lt;ul&gt;
		&lt;li&gt;Filesystem: set/check permissions&lt;/li&gt;
		&lt;li&gt;Database: setup your BEdita database&lt;/li&gt;
		&lt;li&gt;Admin User: create admin user for BEdita&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ol&gt;
</description><pubDate>Fri, 23 Dec 2011 15:22:43 +0100</pubDate><link>http://docs3.bedita.net/setup/install-bedita</link><guid>http://docs3.bedita.net/setup/install-bedita</guid></item></channel></rss>