{"id":2744,"date":"2015-02-21T22:05:43","date_gmt":"2015-02-21T15:05:43","guid":{"rendered":"http:\/\/sinaulinux.martianuswb.com\/?p=2744"},"modified":"2015-02-21T22:05:43","modified_gmt":"2015-02-21T15:05:43","slug":"wordpress-tombol-add-media-tidak-berfungsi","status":"publish","type":"post","link":"https:\/\/martianuswb.com\/?p=2744","title":{"rendered":"WordPress: tombol Add media tidak berfungsi"},"content":{"rendered":"<p>Sebenarnya ini masalah sudah cukup lama, cuma dulunya tidak begitu mengganggu. Cukup <em>log out<\/em> lalu <em>log in<\/em> saja sudah beres. Tapi sejak WordPress 4.1, masalahnya semakin menjadi-jadi, bukan cuma tombol Add Media, beberapa tombol lain juga tidak berfungsi, bahkan memasukkan <em>tags<\/em> juga tidak bisa. Beberapa saran seperti non aktifkan dan aktifkan <em>plugins<\/em> tidak berhasil, ganti <em>theme<\/em> ke <em>default<\/em> juga gagal, akhirnya ketemu trik yang ini.<\/p>\n<p>Prinsipnya adalah mengedit kode di file <span style=\"color: #0000ff;\"><em><strong>wp-config.php<\/strong><\/em><\/span>. Kalau saya sih masuk lewat <strong>CPanel<\/strong>.<\/p>\n<div id=\"attachment_2745\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/martianuswb.com\/wp-content\/uploads\/2015\/02\/wp-config.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-2745\" class=\"size-medium wp-image-2745\" src=\"http:\/\/martianuswb.com\/wp-content\/uploads\/2015\/02\/wp-config-300x16.png\" alt=\"wp-config\" width=\"300\" height=\"16\" \/><\/a><p id=\"caption-attachment-2745\" class=\"wp-caption-text\">wp-config<\/p><\/div>\n<p>&nbsp;<\/p>\n<div id=\"attachment_2746\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/martianuswb.com\/wp-content\/uploads\/2015\/02\/wp-config-edit.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-2746\" class=\"size-medium wp-image-2746\" src=\"http:\/\/martianuswb.com\/wp-content\/uploads\/2015\/02\/wp-config-edit-300x293.png\" alt=\"wp-config &gt; edit\" width=\"300\" height=\"293\" \/><\/a><p id=\"caption-attachment-2746\" class=\"wp-caption-text\">wp-config &gt; edit<\/p><\/div>\n<p>&nbsp;<\/p>\n<div id=\"attachment_2747\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/martianuswb.com\/wp-content\/uploads\/2015\/02\/wp-config-Text-Editor.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-2747\" class=\"size-medium wp-image-2747\" src=\"http:\/\/martianuswb.com\/wp-content\/uploads\/2015\/02\/wp-config-Text-Editor-300x225.png\" alt=\"wp-config &gt; Text Editor\" width=\"300\" height=\"225\" \/><\/a><p id=\"caption-attachment-2747\" class=\"wp-caption-text\">wp-config &gt; Text Editor<\/p><\/div>\n<p>&nbsp;<\/p>\n<p>Cari tulisan:<\/p>\n<blockquote><p><span style=\"color: #ff0000;\"><strong>require_once(ABSPATH . &#8216;wp-settings.php&#8217;);<\/strong><\/span><\/p><\/blockquote>\n<p>Tepat di atasnya, tambahkan tulisan:<\/p>\n<blockquote><p><span style=\"color: #ff0000;\"><strong>define(&#8216;CONCATENATE_SCRIPTS&#8217;, false );<\/strong><\/span><\/p><\/blockquote>\n<div id=\"attachment_2748\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/martianuswb.com\/wp-content\/uploads\/2015\/02\/wp-config-Edit-code.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-2748\" class=\"size-medium wp-image-2748\" src=\"http:\/\/martianuswb.com\/wp-content\/uploads\/2015\/02\/wp-config-Edit-code-300x52.png\" alt=\"wp-config &gt; Edit code\" width=\"300\" height=\"52\" \/><\/a><p id=\"caption-attachment-2748\" class=\"wp-caption-text\">wp-config &gt; Edit code<\/p><\/div>\n<p>Tinggal disimpan, dan kemudian WordPress sudah normal kembali. Silakan dicoba jika Anda mengalami masalah yang sama.<\/p>\n\n","protected":false},"excerpt":{"rendered":"<p>Sebenarnya ini masalah sudah cukup lama, cuma dulunya tidak begitu mengganggu. Cukup log out lalu log in saja sudah beres. Tapi sejak WordPress 4.1, masalahnya semakin menjadi-jadi, bukan cuma tombol&#8230; <a href=\"https:\/\/martianuswb.com\/?p=2744\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[1409],"tags":[1422,1506,1924,2002,2006],"class_list":["post-2744","post","type-post","status-publish","format-standard","hentry","category-wordpress","tag-add-media","tag-concatenate-scripts","tag-tidak-berfungsi","tag-wordpress","tag-wp-config-php"],"_links":{"self":[{"href":"https:\/\/martianuswb.com\/index.php?rest_route=\/wp\/v2\/posts\/2744","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/martianuswb.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/martianuswb.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/martianuswb.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/martianuswb.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2744"}],"version-history":[{"count":0,"href":"https:\/\/martianuswb.com\/index.php?rest_route=\/wp\/v2\/posts\/2744\/revisions"}],"wp:attachment":[{"href":"https:\/\/martianuswb.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2744"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/martianuswb.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2744"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/martianuswb.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2744"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}