Ошибка при установке пользовательского шаблона Joomla

Я сделал простой шаблон для Joomla 3.6.4, но когда я пытаюсь установить его на свой сервер Apache, он возвращает ошибку:

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''0','Template fuer emir - Default','{}')' at line 3 SQL=INSERT INTO `#__template_styles` (`template`,`client_id`,`home`,`title`,`params`) VALUES ('template',,'0','Template - Default','{}')

шаблондетаилс.xml:

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE install PUBLIC "-//Joomla! 2.5//DTD template 1.0//EN"
"http://www.joomla.org/xml/dtd/1.6/template-install.dtd">
<extension version="3.6" type="template" client="side">
  <name>template</name>
  <creationDate>05. jan 2017</creationDate>
  <author>[myname]</author>
  <authorEmail>[mymail]</authorEmail>
  <version>1.0</version>

  <description>Template</description>
  <files>
    <folder>img</folder>
    <file>index.php</file>
    <file>index.css</file>
    <file>templateDetails.xml</file>
  </files>
  <positions>
    <position>header</position>
    <position>navbar</position>
    <position>debug</position>
    <position>footer</position>
  </positions>
</extension>

Я понятия не имею, что это за ошибка.


person NiciBozz    schedule 06.01.2017    source источник


Ответы (1)


Вы можете изменить client="side" на client="site".

person Sven Bluege    schedule 06.01.2017