{"id":2063,"date":"2015-07-15T17:12:17","date_gmt":"2015-07-15T15:12:17","guid":{"rendered":"https:\/\/adrhc.go.ro\/wordpress\/?p=2063"},"modified":"2017-05-11T11:55:16","modified_gmt":"2017-05-11T09:55:16","slug":"gallery-3","status":"publish","type":"post","link":"https:\/\/adrhc.go.ro\/blog\/gallery-3\/","title":{"rendered":"Gallery 3"},"content":{"rendered":"<pre>\r\nGallery3 requires mysql and msgpack:\r\nphp_value[extension]=mysql.so\r\nphp_value[msgpack]=mysql.so\r\nor\r\nextension=mysql.so\r\nextension=msgpack.so\r\n \r\nSee <a href=\"https:\/\/adrhc.go.ro\/wordpress\/configure-command-for-building-various-software\/\" target=\"_blank\">https:\/\/adrhc.go.ro\/wordpress\/configure-command-for-building-various-software\/<\/a> for learning how to compile msgpack.\r\n \r\nThe user\/group of the php processes (specified in php-fpm.conf) show be the same for gallery3 directory:\r\nchown -R nobody:nobody ~\/apache-htdocs\/gallery3\r\n\r\nAfter installing gallery3, the login page won't show because a php-fpm core dump: \r\nyou must first clear the browser cache.\r\nSee <a href=\"https:\/\/adrhc.go.ro\/wordpress\/core-dump\/\" target=\"_blank\">https:\/\/adrhc.go.ro\/wordpress\/core-dump\/<\/a> for learning how to analyze php-fpm's core dump.\r\n \r\nWhen visiting dashboard menu you are asked to remove server info; do it in order to access the dashboard.\r\n\r\nConfiguration:\r\nadmin_area_timeout = 999999\r\nthumb_size = 150\r\npage_size = 42\r\nIn table graphics_rules for gallery_graphics::resize set width = 150 and height = 150.\r\n\r\nRescan album for images:\r\n- switch to default theme (Gallery Wind)\r\n- go to Gallery page\r\n- menu: Add -> Server add\r\n\r\nSome themes insert large BLOB in DB so you need more than 3M for redo logs in mysql:\r\ninnodb_log_file_size = 10M\r\n\r\nGallery3 menus:\r\n<a href=\"https:\/\/adrhc.go.ro\/gallery3\/index.php\/admin\/themes\" target=\"_blank\">https:\/\/adrhc.go.ro\/gallery3\/index.php\/admin\/themes<\/a>\r\n<a href=\"https:\/\/adrhc.go.ro\/gallery3\/index.php\/admin\/theme_options\" target=\"_blank\">https:\/\/adrhc.go.ro\/gallery3\/index.php\/admin\/theme_options<\/a>\r\n<a href=\"https:\/\/adrhc.go.ro\/gallery3\/index.php\/admin\/advanced_settings\" target=\"_blank\">https:\/\/adrhc.go.ro\/gallery3\/index.php\/admin\/advanced_settings<\/a>\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Gallery3 requires mysql and msgpack: php_value[extension]=mysql.so php_value[msgpack]=mysql.so or extension=mysql.so extension=msgpack.so See https:\/\/adrhc.go.ro\/wordpress\/configure-command-for-building-various-software\/ for learning how to compile msgpack. The user\/group of the php processes (specified in php-fpm.conf) show be the same for gallery3 directory: chown -R nobody:nobody ~\/apache-htdocs\/gallery3 After installing [&hellip;]<\/p>\n<div class=\"link-more\"><a href=\"https:\/\/adrhc.go.ro\/blog\/gallery-3\/#more-2063\" class=\"more-link\">Continue reading &#10142; <span class=\"screen-reader-text\">Gallery 3<\/span><\/a><\/div>","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,11],"tags":[117],"class_list":["post-2063","post","type-post","status-publish","format-standard","hentry","category-configuration","category-linux","tag-gallery"],"_links":{"self":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/posts\/2063","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/comments?post=2063"}],"version-history":[{"count":0,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/posts\/2063\/revisions"}],"wp:attachment":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/media?parent=2063"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/categories?post=2063"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/tags?post=2063"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}