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).

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

w konsoli podajesz
[bash]
sed -E 's/([a-z])([A-Z])/\1\n\2/g' plik[/bash]

Wiedza: 
Praktyczna

W konsoli podajesz
[bash]
convert plik.png plik.jpg[/bash]

Zastosowanie: 
Konwertowanie plików graficznych JPG do PNG
Wiedza: 
Praktyczna

[bash]
#!/bin/bash

WYJSCIE=$1

find . -mindepth 2 -maxdepth 2 -type d -print0 | while read -d $'\0' katalog
do
nazwa_katalogu=$(echo "$katalog" | cut -d/ -f3)
licznik=$(( $licznik + 1 ))
cp -rf "$katalog" "$WYJSCIE"/"$licznik"_"$nazwa_katalogu"
done[/bash]

Zastosowanie: 
Przenoszenie podkatalogów do głównego katalogu
Wiedza: 
Praktyczna

[bash]#!/bin/bash

for plik in *
do
grep -ohE "\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,6}\b" $plik | sort -u > $plik.txt
done[/bash]

Wiedza: 
Praktyczna

W phpMyAdmin podajesz
[mysql]
UPDATE tabela SET kolumna = UPPER(kolumna) [/mysql]

Wiedza: 
Praktyczna

[bash]#!/bin/bash

regex=(
'fraza A'
'fraza B'
'fraza C'
)

for i in ${regex[@]}
do
find . -type f -print0 | xargs -0 sed -i /$i/d

done
[/bash]

Wiedza: 
Praktyczna

W konsoli podajesz
[bash] find -type f | grep -v './plik-*' | xargs rm[/bash]

Wiedza: 
Praktyczna

Komplikacja

Podczas wgrywania grafiki w Helix Blog Options pojawia się komunikat
[code]Uncaught SyntaxError: JSON.parse: unexpected character at line 1 column 2 of the JSON data
jQuery 2
parseJSON
parseJSON
success http://tomlot.eu/plugins/system/helix3/assets/js/spimage.js:49
jQuery 6
u
fireWith
C
n
send
ajax
http://tomlot.eu/plugins/system/helix3/assets/js/spimage.js:35
jQuery 9

Wiedza: 
Praktyczna

Komplikacja

Na stronie Joomla ukazuje się komunikat
[code]Warning: count(): Parameter must be an array or an object that implements Countable in /usr/home/juzek/domains/tomlot.eu/public_html/libraries/cms/application/cms.php on line 471[/code]

Rozwiązanie

Zdegraduj PHP do PHP 7.1

Wiedza: 
Praktyczna

Strony

Subskrybuj TomLot.eu RSS