Komunikat o błędzie

  • User warning: The following module is missing from the file system: bueditor. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • User warning: The following module is missing from the file system: field_validation_extras. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • User warning: The following module is missing from the file system: field_validation_ui. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • User warning: The following module is missing from the file system: geshifield. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • User warning: The following module is missing from the file system: geshifilter. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • User warning: The following module is missing from the file system: google_plusone. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • User warning: The following module is missing from the file system: linkit. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • User warning: The following module is missing from the file system: property_validation. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • User warning: The following module is missing from the file system: taxonomy_menu. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • User warning: The following module is missing from the file system: tweetbutton. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • User warning: The following module is missing from the file system: wysiwyg. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • User warning: The following module is missing from the file system: field_validation. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • Notice: Undefined index: execute_responsive_theme w drupal_theme_initialize() (linia 100 z /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/theme.inc).
  • Notice: Trying to get property 'filename' of non-object w _drupal_theme_initialize() (linia 146 z /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/theme.inc).
  • Notice: Trying to get property 'name' of non-object w _theme_load_registry() (linia 335 z /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/theme.inc).
  • Notice: Undefined index: execute_responsive_theme w theme_get_setting() (linia 1440 z /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/theme.inc).

PrestaShop

Skrypt testowany na osCommerce Online Merchant v2.3
[php]

require('includes/application_top.php');

# Output headers so that the file is downloaded rather than displayed
header('Content-Type: text/csv; charset=utf-8');
header('Content-Disposition: attachment; filename=data.csv');

# Create a file pointer connected to the output stream
$output = fopen('php://output', 'w');

Wiedza: 
Praktyczna

[php]
try {
$db_server = 'localhost';
$db_name = 'localhost';
$db_user = 'localhost';
$db_passwd = 'localhost';

$db_pdo = new PDO(
"mysql:host=$db_server;dbname=$db_name",
$db_user,
$db_passwd,
[PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8"]
);

$db_pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);

Wiedza: 
Praktyczna

Importer kategorii
[php]
try {
$db_server = 'localhost';
$db_name = 'localhost';
$db_user = 'localhost';
$db_passwd = 'localhost';

$db_pdo = new PDO(
"mysql:host=$db_server;dbname=$db_name",
$db_user,
$db_passwd,
[PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8"]
);

$db_pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);

Zastosowanie: 
Importer kategorii i produktów z autotrskiego sklepu do plików CSV do PrestaShop
Wiedza: 
Praktyczna

Komplikacja

Wejście w zakładkę [code]Menedżer modułów[/code] kończy się błędem
[code]Compile Error: require_once(): Failed opening required '/home/juzek/domains/tomlot.eu/public_html/modules/statsnewsletter/statsnewsletter.php' (include_path='/home/juzek/domains/tomlot.xx/public_html/vendor/pear/pear_exception:/home/juzek/domains/tomlot.xx/public_html/vendor/pear/console_getopt:/home/juzek/domains/tomlot.xx/public_html/vendor/pear/pear-core-minimal/src:/home/juzek/domains/tomlot.xx/public_html/vendor/pear/archive_tar:.:/opt/alt/php74/usr/share/pear')

Wiedza: 
Praktyczna

Komplikacja

Wejście w zakładkę [code]Preferencje[/code] → [code]CMS[/code] kończy się komunikatem [code]Nie znaleziono kontrolera[/code].

Rozwiązanie

W zakładce [code]Administracja[/code] → [code]Zakładki[/code] usuń wszystkie niestandardowe zakładki menu z klasą [code]AdminCmsContent[/code]

Wiedza: 
Praktyczna

Komplikacja

Brak szablonu dla modułów w zapleczu administratora. Niepoprawnie wyświetlają się strony modułów

Rozwiązanie

Usuń [code]/admin/themes/default/template/controllers/modules/header.tpl[/code]

Wiedza: 
Praktyczna

Komplikacja

Otwarcie kategorii na froncie sklepu kończy się błędem
[code][PrestaShopException]

No template found for /x/themes/classic/category.tpl
at line 68 in file classes/Smarty/TemplateFinder.php

63. return $tpl; 64. } 65. } 66. } 67. 68. throw new PrestaShopException('No template found for ' . $template); 69. } 70. 71. private function getTemplateHierarchy($template, $entity, $id) 72. { 73. $entity = basename($entity);
[/code]

Rozwiązanie

Usuń [code]/controllers/front/listing/CategoryController.php[/code]

Zastosowanie: 
Nie można wejść w katetgorię PrestaShop
Wiedza: 
Praktyczna

Komplikacja

Aktualizacja PrestaShop 1.6.1.24 → 1.7.7.5 kończy się komunikatem
[code][INTERNAL] /usr/home/juzek/domains/tomlot.eu/public_html/src/PrestaShopBundle/Install/LanguageList.php line 100 - Symfony\Component\Debug\Exception\ClassNotFoundException: Attempted to load class "PrestashopInstallerException" from the global namespace. Did you forget a "use" statement? #0
/usr/home/juzek/domains/tomlot.eu/public_html/admin/autoupgrade/latest/install/upgrade/php/migrate_tabs_17.php(58): PrestaShopBundle\Install\LanguageList->setLanguage('gb') #1

Wiedza: 
Praktyczna

Komplikacja

Aktualizacja PrestaShop 1.5.5.0 → 1.6.1.24 kończy się komunikatem
[code]SQL 1.6.0.4 1064 in ALTER IGNORE TABLE `ps_meta` ADD UNIQUE (`page`): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IGNORE TABLE `ps_meta` ADD UNIQUE (`page`)' at line 1

Wiedza: 
Praktyczna

Komplikacja

Brak dostępu do panelu zaplecza PrestaShop. W logach

Wiedza: 
Praktyczna

Strony

Subskrybuj RSS - PrestaShop