Joomla

From PostgreSQL_wiki
Jump to: navigation, search

Joomla! is een open source Content Management Systeem (CMS).

install

apt-get update
apt-get install apache2 mysql-server php5 php5-mysql php5-gd libapache2-mod-php5 php5-mysql less lynx bzip2 postfix
wget http://joomlacode.org/gf/download/frsrelease/16024/69674/Joomla_a.b.c-Stable-Full_Package.zip

Tutorials

Issues

Joomla 3

Component install fails

Bij het installeren van componenten ontstaat het volgende probleem:

Failed to parse time string (jerror)

De oplossing is het vervangen van een "," door een "." in regel 260 van folder.php.

// Create the path
            if (!$ret = @mkdir($path, $mode))
            {
                @umask($origmask);
                JLog::add(
                    __METHOD__ . ': ' . JText::_('JLIB_FILESYSTEM_ERROR_COULD_NOT_CREATE_DIRECTORY'). 'Path: ' . $path, JLog::WARNING, 'jerror'
                );
                return false;
            }

docman

Docman heeft de neiging om het php bestand /var/www/<site>/administrator/components/com_docman/docman.config.php kapot te maken, waarna de module niet meer werkt. De oplossing is vanuit versiebeheer een oude terug te zetten.

<?php

if( defined( '_dmConfig') ) {
 return true;
 } else {
define('_dmConfig',1);
 }
class dmConfig
{
// Last Edit: Wed, 2011-May-25 12:16
// Edited by:
var $author_can = "2";
var $days_for_new = "5";
var $default_editor = "-6";
var $default_order = "name";
var $default_order2 = "DESC";
var $default_reader = "0";
var $default_viewer = "-1";
var $display_license = "1";
var $dmpath = "/var/www/<site>/dmdocuments";
var $docman_version = "1.4.0 RC3";
var $editor_assign = "2";
var $emailgroups = "0";
var $extensions = "zip|rar|pdf|txt";
var $fname_blank = "0";
var $fname_lc = "0";
var $fname_reject = "index.htm|index.html|index.php";
var $hide_remote = "1";
var $hot = "100";
var $icon_size = "1";
var $icon_theme = "default";
var $individual_perm = "1";
var $isDown = "0";
var $log = "0";
var $maintainer = "1";
var $maxAllowed = "10485760";
var $methods = array (
  0 => 'http',
  1 => 'link',
  2 => 'transfer',
);
var $overwrite = "0";
var $perpage = "5";
var $process_bots = "0";
var $reader_assign = "3";
var $registered = "2";
var $security_allowed_hosts = "localhost";
var $security_anti_leech = "0";
var $specialcompat = "0";
var $trimwhitespace = "1";
var $user_all = "0";
var $user_approve = "-3";
var $user_publish = "-3";
var $user_upload = "0";
var $viewtypes = "html|htm|pdf|doc|txt|jpg|jpeg|gif|png";
}
?>

Terug naar: Webhuis Infrastructuur