Skocz do zawartości

Witamy na polskim forum Contao
Zarejestruj się teraz, aby skorzystać ze wszystkich funkcji forum. Kiedy się zalogujesz, będziesz mógł tworzyć tematy, pisać posty, rozdawać punkty reputacji, korzystać z prywatnych wiadomości i zarządzać swoim profilem. Jeśli posiadasz już konto, zaloguj się - w przeciwnym wypadku zarejestruj się już teraz!
Zdjęcie

Brak modułów w panelu admina


  • Proszę się zalogować aby odpowiedzieć
8 odpowiedzi na ten temat

#1
Cosention

Cosention

    Nowy na forum

  • Zarejestrowani
  • Pip
  • 5 postów
Witam, niestety wyszukiwarka nie znalazła nic więc zadaję takie (mam nadzieję proste pytanie).
Strona postawiona jest na Contao 2.10.4. Dotychczas była w home.pl następnie wylądowała na serwerze loklanym (WampServer Version 2.0) i do tego momentu wszystko działa ok.
Nowy serwer jest w nazwa.pl i niby strona działa ale... po zalogowaniu się do zaplecza widać tylko "Opcje redaktora." - jak w załączonych pliku
Jeżeli ktoś ma pomysł gdzie szukać roziwązania problemu to będę wdzięczny za pomoc.

p.s. nie piszcie, żeby zmieniać hosting bo trochę za późno na taki ruch ;)

Załączone miniaturki

  • contao-admin.jpg

  • 0

#2
Kamil

Kamil

    Contao ambassador

  • Administratorzy
  • 1538 postów
  • Strona www:zobacz
  • LokalizacjaLidzbark Warminski
Czy jesteś zalogowany jako administrator?
  • 0

Codefog - Contao web development


#3
Cosention

Cosention

    Nowy na forum

  • Zarejestrowani
  • Pip
  • 5 postów
Tak. Dokładnie te same dane podczas logowania na lokalnym i na nazwa.pl.
  • 0

#4
spin80

spin80

    Ekspert

  • Zarejestrowani
  • PipPipPipPipPip
  • 296 postów
Może nie wszystkie pliki się przegrały. Miałem podobny przypadek bo jakimś cudem nie przegrał mi się moduł "catalog" i wtedy nie był widoczny w adminie.

Ale w Twoim przypadku to chyba nie możliwe, aby wszystkie moduły się nie wgrały. Sprawdź /systems/modules/
  • 0

#5
Cosention

Cosention

    Nowy na forum

  • Zarejestrowani
  • Pip
  • 5 postów
Wszystko sie przekopiowało. Nic nie wskazuje na to aby czegoś brakowało na nowym serwerze.
Czy Contao ma jakieś narzędzia do migracji z serwera na serwer?
  • 0

#6
Kamil

Kamil

    Contao ambassador

  • Administratorzy
  • 1538 postów
  • Strona www:zobacz
  • LokalizacjaLidzbark Warminski
Nie ma takich migracji, bo są niepotrzebne. Zawsze wystarczy skopiować tylko pliki i bazę danych, wszystko powinno działać. Naprawdę dziwny przypadek - podeślij może zawartość pliku /system/config/dcaconfig.php i /system/modules/backend/config/config.php.
  • 0

Codefog - Contao web development


#7
Cosention

Cosention

    Nowy na forum

  • Zarejestrowani
  • Pip
  • 5 postów
Tak wygląda plik /system/config/dcaconfig.php:

<?php if (!defined('TL_ROOT')) die('You cannot access this file directly!');
/**
* Contao Open Source CMS
* Copyright (C) 2005-2011 Leo Feyer
*
* Formerly known as TYPOlight Open Source CMS.
*
* This program is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this program. If not, please visit the Free
* Software Foundation website at <http://www.gnu.org/licenses/>.
*
* PHP version 5
* @copyright  Leo Feyer 2005-2011
* @author	 Leo Feyer <http://www.contao.org>
* @package	Config
* @license	LGPL
* @filesource
*/
 
/**
* -------------------------------------------------------------------------
* DATA CONTAINER SETTINGS
* -------------------------------------------------------------------------
*
* If you want to modify a data container file, you do not have to edit it
* directly. You can save your changes in this configuration file instead.
* Thus, you can update or replace the original files without having to
* worry about your modifications.
*
* Usage example:
*
*   $GLOBALS['TL_DCA']['tl_article']['config']['doNotCopyRecords'] = true;
*
* This line would prevent articles from being duplicated when you duplicate
* a page in module site structure.
*/
?>

A tak /modules/backend/config/config.php

<?php if (!defined('TL_ROOT')) die('You cannot access this file directly!');
/**
* Contao Open Source CMS
* Copyright (C) 2005-2011 Leo Feyer
*
* Formerly known as TYPOlight Open Source CMS.
*
* This program is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this program. If not, please visit the Free
* Software Foundation website at <http://www.gnu.org/licenses/>.
*
* PHP version 5
* @copyright  Leo Feyer 2005-2011
* @author	 Leo Feyer <http://www.contao.org>
* @package	Backend
* @license	LGPL
* @filesource
*/
 
/**
* Back end modules
*/
$GLOBALS['BE_MOD'] = array
(
// Content modules
'content' => array
(
  'article' => array
  (
   'tables' => array('tl_article', 'tl_content'),
   'table' => array('TableWizard', 'importTable'),
   'list' => array('ListWizard', 'importList')
  ),
  'form' => array
  (
   'tables' => array('tl_form', 'tl_form_field')
  )
),
// Design modules
'design' => array
(
  'themes' => array
  (
   'tables' => array('tl_theme', 'tl_module', 'tl_style_sheet', 'tl_style', 'tl_layout'),
   'importTheme' => array('Theme', 'importTheme'),
   'exportTheme' => array('Theme', 'exportTheme'),
   'import' => array('StyleSheets', 'importStyleSheet')
  ),
  'page' => array
  (
   'tables' => array('tl_page')
  )
),
// Account modules
'accounts' => array
(
  'member' => array
  (
   'tables' => array('tl_member')
  ),
  'mgroup' => array
  (
   'tables' => array('tl_member_group')
  ),
  'user' => array
  (
   'tables' => array('tl_user')
  ),
  'group' => array
  (
   'tables' => array('tl_user_group')
  )
),
// System modules
'system' => array
(
  'files' => array
  (
   'tables' => array('tl_files')
  ),
  'log' => array
  (
   'tables' => array('tl_log')
  ),
  'settings' => array
  (
   'tables' => array('tl_settings')
  ),
  'maintenance' => array
  (
   'callback' => 'ModuleMaintenance'
  )
),
// User modules
'profile' => array
(
  'undo' => array
  (
   'tables' => array('tl_undo')
  ),
  'login' => array
  (
   'tables' => array('tl_user'),
   'callback' => 'ModuleUser'
  ),
  'tasks' => array
  (
   'callback' => 'ModuleTasks'
  )
)
);
 
/**
* Form fields
*/
$GLOBALS['BE_FFL'] = array
(
'text'		   => 'TextField',
'password'	   => 'Password',
'textStore'	  => 'TextStore',
'textarea'	   => 'TextArea',
'select'		 => 'SelectMenu',
'checkbox'	   => 'CheckBox',
'checkboxWizard' => 'CheckBoxWizard',
'radio'		  => 'RadioButton',
'radioTable'	 => 'RadioTable',
'inputUnit'	  => 'InputUnit',
'trbl'		   => 'TrblField',
'chmod'		  => 'ChmodTable',
'pageTree'	   => 'PageTree',
'fileTree'	   => 'FileTree',
'tableWizard'	=> 'TableWizard',
'listWizard'	 => 'ListWizard',
'optionWizard'   => 'OptionWizard',
'moduleWizard'   => 'ModuleWizard',
'keyValueWizard' => 'KeyValueWizard',
'imageSize'	  => 'ImageSize',
'timePeriod'	 => 'TimePeriod'
);
 
/**
* Page types
*/
$GLOBALS['TL_PTY'] = array
(
'regular'   => 'PageRegular',
'forward'   => 'PageForward',
'redirect'  => 'PageRedirect',
'root'	  => 'PageRoot',
'error_403' => 'PageError403',
'error_404' => 'PageError404'
);
 
/**
* Maintenance
*/
$GLOBALS['TL_MAINTENANCE'] = array
(
'PurgeData',
'LiveUpdate',
'RebuildIndex'
);
 
/**
* Cache tables
*/
$GLOBALS['TL_CACHE'] = array
(
'tl_undo',
'tl_version',
'tl_search',
'tl_search_index'
);
 
/**
* Cron jobs
*/
$GLOBALS['TL_CRON']['daily'][]  = array('Automator', 'purgeTempFolder');
$GLOBALS['TL_CRON']['daily'][]  = array('Automator', 'checkForUpdates');
$GLOBALS['TL_CRON']['weekly'][] = array('Automator', 'generateSitemap');
$GLOBALS['TL_CRON']['weekly'][] = array('StyleSheets', 'updateStyleSheets');
 
/**
* Hooks
*/
$GLOBALS['TL_HOOKS'] = array();
 
/**
* Mime types
*/
$GLOBALS['TL_MIME'] = array();
?>

Porównałem pliki lokalnie i na serwerze i nie ma w nich żadnych różnic...
  • 0

#8
Kamil

Kamil

    Contao ambassador

  • Administratorzy
  • 1538 postów
  • Strona www:zobacz
  • LokalizacjaLidzbark Warminski
Kurczę, no aż niemożliwe. Screen, który załączyłęś, wygląda jak widok normalnego redaktora, który nie ma żadnych uprawnień. Jak możesz to sprawdź w bazie (tabela tl_user) czy twój użytkownik ma pole admin ustawione na 1.
  • 0

Codefog - Contao web development


#9
Cosention

Cosention

    Nowy na forum

  • Zarejestrowani
  • Pip
  • 5 postów
Po nitce do kłębka i własnie to był problem. Ale dziwne jest to, że nie było żadnych modyfikacji w bazie robionych. Tak jakby to zrobiło się samo....
Wielkie dzięki za pomoc.
  • 0




0 użytkowników czyta ten temat

0 użytkowników, 0 gości, 0 anonimowych użytkowników