Update V2.2 » V2.3

New functions include delete, and move media files renaming pages and. The URL can be supplemented by virtual categories. Highlight the default links in the menu has been removed from the config and is now administered.

Update CKEditor to version 3.6.5, switching to version 4 comes the next time.

All PHP files was converted to classes that SQLite databases to version 3. Prerequisite for the operation of version 2.3 is therefore PHP 5.4 or higher.
In the array of files /access/languages.php and /access/offline.php the keys and values ​​must be enclosed in apostrophes. PHP 5.4 are otherwise Feher messages:

change $var[key] to $var['key']
change $var = array(value1,value2); to $var = array('value1','value2');
change $var = array(key => value); to $var = array('key' => 'value');

Users can now be sorted into several groups of users. Who has enabled the user administration and side panels must locked in its pages, change

<?PHP if($showpartfor == 'GROUPID') { ?>
to
<?PHP if(in_array('GROUPID', $showpartfor)) { ?>

All file and folder names are now checked on the characters a-z, 0-9, and the underscore (_). Other characters are no longer allowed.

In the file "/settings/baseconfig.php" the variable $webutler_config['chmod'] is added, in the file "/settings/globalvars.php" the variables $webutler_config['categories'], $webutler_config['highlite_current' ] and $webutler_config['admin pagename'].

What to do?

  1. Using FTP, delete the complete directory /admin
  2. Upload the new /admin directory
  3. Delete the index.php file and upload the new index.php
  4. Delete the "/includes/functions.php" file and upload the files for "loader.php" and "wbclass.php" into the /includes directory.
  5. By switching to PHP classes musten all PHP and template files for the modules to be changed. The simplest variant is the directories /includes and /modules secure from ftp, then delete and upload the new directories. Adjust the config files.
  6. Who made changes to the templates can also perform the following steps.
    • Replace all PHP files with the new.
    • In the template files to replace $webutler_ by $webutlercouple->.
      If necessary, in separate include files, this change also perform.
  7. In the file "/settings/baseconfig.php" the entire lower part from "if ($webutler_config[server_path] != '')" In the file "/settings/globalvars.php" the entire lower part after the line "$webutler_htmlsource['page_footer']" delete and copy the new variables pure.
  8. Adjust the values ​​in the files "/access/languages.php" and "/access/offline.php" (see description above).
  9. Check all filenames in the directory "/content" and adjust. There are allowed only the characters a-z, 0-9 and the underscore character. If filenames need to be renamed, the name must also be adjusted in the files themselves, otherwise they are not callable.

SQLite 2 databases to convert SQLite3 (Windows)

  1. Create a local directory (for example /mydbs).
  2. download sqlite.exe
  3. download sqlite3.exe
  4. Download DB files from the web space
  5. sqlite.exe, sqlite3.exe and copy the DB files in the local directory
  6. Click: Start > Run > cmd
  7. Call directory: cd /mydbs
  8. Command to convert a DB-Files:
    sqlite filename.db .dump | sqlite3 filename_new.db
  9. Back up the old DB files (remove _new) the new rename, and load it back onto your webspace.
  10. If everything works, the old DB files can be deleted.