{"id":14316,"date":"2013-12-13T18:45:37","date_gmt":"2013-12-13T18:45:37","guid":{"rendered":"https:\/\/pt.wordpress.org\/support\/2013\/12\/13\/multisite-sem-sem-thumbnails-no-blog2-help\/"},"modified":"2013-12-13T18:45:37","modified_gmt":"2013-12-13T18:45:37","slug":"multisite-sem-sem-thumbnails-no-blog2-help","status":"closed","type":"topic","link":"https:\/\/pt.wordpress.org\/support\/topic\/multisite-sem-sem-thumbnails-no-blog2-help\/","title":{"rendered":"Multisite sem sem thumbnails no blog2 ! Help!"},"content":{"rendered":"<p>Ol\u00e1 a todos,<\/p>\n<p>ser\u00e1 que algu\u00e9m consegue me resolver este problema? J\u00e1 tentei ler muitos f\u00f3runs, suportes, dicas e nada.<br \/>\nDesde a vers\u00e3o 3.7 que deixei de trabalhar com multisites no wordpress, infelizmente por causa deste problema.<\/p>\n<p>Fis uma nova instala\u00e7\u00e3o multisite.<br \/>\n&#8211; No primeiro site instalado no diret\u00f3rio base, tudo funciona bem.<br \/>\n&#8211; No segundo site instalado &#8220;\/blog2&#8221;, os thumbnails n\u00e3o aparecem.<\/p>\n<p>J\u00e1 ando h\u00e1 dias \u00e0s voltas com isto e n\u00e3o consigo nada. Infelizmente isto \u00e9 um problema comum nestas \u00faltimas vers\u00f5es do wordpress.<br \/>\n____________________<br \/>\n<strong>Redireccionamento do .htaccess?<\/strong><br \/>\n_____________________<\/p>\n<p>&#8216;RewriteEngine On<br \/>\nRewriteBase \/<br \/>\nRewriteRule ^index\\.php$ &#8211; [L]<\/p>\n<p># uploaded files<br \/>\nRewriteRule ^([_0-9a-zA-Z-]+\/)?files\/(.+) wp-includes\/ms-files.php?file=$2 [L]<\/p>\n<p># add a trailing slash to \/wp-admin<br \/>\nRewriteRule ^([_0-9a-zA-Z-]+\/)?wp-admin$ $1wp-admin\/ [R=301,L]<\/p>\n<p>RewriteCond %{REQUEST_FILENAME} -f [OR]<br \/>\nRewriteCond %{REQUEST_FILENAME} -d<br \/>\nRewriteRule ^ &#8211; [L]<br \/>\nRewriteRule ^([_0-9a-zA-Z-]+\/)?(wp-(content|admin|includes).*) $2 [L]<br \/>\nRewriteRule ^([_0-9a-zA-Z-]+\/)?(.*\\.php)$ $2 [L]<br \/>\nRewriteRule . index.php [L]&#8217;<\/p>\n<p>______________________<br \/>\n<strong>WP-config mal configurado?<\/strong><br \/>\n_____________________<br \/>\n&#8216;&lt;?php<br \/>\n\/**<br \/>\n * The base configurations of the WordPress.<br \/>\n *<br \/>\n * This file has the following configurations: MySQL settings, Table Prefix,<br \/>\n * Secret Keys, WordPress Language, and ABSPATH. You can find more information<br \/>\n * by visiting {@link https:\/\/codex.wordpress.org\/Editing_wp-config.php Editing<br \/>\n * wp-config.php} Codex page. You can get the MySQL settings from your web host.<br \/>\n *<br \/>\n * This file is used by the wp-config.php creation script during the<br \/>\n * installation. You don&#8217;t have to use the web site, you can just copy this file<br \/>\n * to &#8220;wp-config.php&#8221; and fill in the values.<br \/>\n *<br \/>\n * @package WordPress<br \/>\n *\/<\/p>\n<p>\/\/ ** MySQL settings &#8211; You can get this info from your web host ** \/\/<br \/>\n\/** The name of the database for WordPress *\/<br \/>\ndefine(&#8216;DB_NAME&#8217;, &#8216;xxxxx&#8217;);<\/p>\n<p>\/** MySQL database username *\/<br \/>\ndefine(&#8216;DB_USER&#8217;, &#8216;xxxxx&#8217;);<\/p>\n<p>\/** MySQL database password *\/<br \/>\ndefine(&#8216;DB_PASSWORD&#8217;, &#8216;xxxxx&#8217;);<\/p>\n<p>\/** MySQL hostname *\/<br \/>\ndefine(&#8216;DB_HOST&#8217;, &#8216;localhost&#8217;);<\/p>\n<p>\/** Database Charset to use in creating database tables. *\/<br \/>\ndefine(&#8216;DB_CHARSET&#8217;, &#8216;utf8&#8217;);<\/p>\n<p>\/** The Database Collate type. Don&#8217;t change this if in doubt. *\/<br \/>\ndefine(&#8216;DB_COLLATE&#8217;, &#8221;);<\/p>\n<p>\/**#@+<br \/>\n * Authentication Unique Keys and Salts.<br \/>\n *<br \/>\n * Change these to different unique phrases!<br \/>\n * You can generate these using the {@link https:\/\/api.wordpress.org\/secret-key\/1.1\/salt\/ WordPress.org secret-key service}<br \/>\n * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.<br \/>\n *<br \/>\n * @since 2.6.0<br \/>\n *\/<br \/>\ndefine(&#8216;AUTH_KEY&#8217;, &#8216;XXxxxxxxxxxxxx&#8217;,  <\/p>\n<p>\/**<br \/>\n * Other customizations.<br \/>\n *<br \/>\n *\/<br \/>\ndefine(&#8216;FS_METHOD&#8217;,&#8217;direct&#8217;);define(&#8216;FS_CHMOD_DIR&#8217;,0755);<br \/>\ndefine(&#8216;FS_CHMOD_FILE&#8217;,0755);<br \/>\ndefine(&#8216;WP_TEMP_DIR&#8217;,dirname(__FILE__).&#8217;\/wp-content\/uploads&#8217;);<\/p>\n<p>\/**<br \/>\n * Multi-site<br \/>\n *<br \/>\n *\/<br \/>\ndefine(&#8216;MULTISITE&#8217;, true);<br \/>\ndefine(&#8216;SUBDOMAIN_INSTALL&#8217;, false);<br \/>\n$base = &#8216;\/&#8217;;<br \/>\ndefine(&#8216;DOMAIN_CURRENT_SITE&#8217;, &#8216;testes.sotnasdesign.com&#8217;);<br \/>\ndefine(&#8216;PATH_CURRENT_SITE&#8217;, &#8216;\/&#8217;);<br \/>\ndefine(&#8216;SITE_ID_CURRENT_SITE&#8217;, 1);<br \/>\ndefine(&#8216;BLOG_ID_CURRENT_SITE&#8217;, 1);<br \/>\ndefine(&#8216;WP_ALLOW_MULTISITE&#8217;, true);<br \/>\ndefine( &#8216;UPLOADBLOGSDIR&#8217;, &#8216;wp-content\/uploads&#8217; );<\/p>\n<p>\/**#@-*\/<\/p>\n<p>\/**<br \/>\n * WordPress Database Table prefix.<br \/>\n *<br \/>\n * You can have multiple installations in one database if you give each a unique<br \/>\n * prefix. Only numbers, letters, and underscores please!<br \/>\n *\/<br \/>\n$table_prefix  = &#8216;testes_&#8217;;<\/p>\n<p>\/**<br \/>\n * WordPress Localized Language, defaults to English.<br \/>\n *<br \/>\n * Change this to localize WordPress. A corresponding MO file for the chosen<br \/>\n * language must be installed to wp-content\/languages. For example, install<br \/>\n * de_DE.mo to wp-content\/languages and set WPLANG to &#8216;de_DE&#8217; to enable German<br \/>\n * language support.<br \/>\n *\/<br \/>\ndefine(&#8216;WPLANG&#8217;, &#8216;pt_PT&#8217;);<\/p>\n<p>\/**<br \/>\n * For developers: WordPress debugging mode.<br \/>\n *<br \/>\n * Change this to true to enable the display of notices during development.<br \/>\n * It is strongly recommended that plugin and theme developers use WP_DEBUG<br \/>\n * in their development environments.<br \/>\n *\/<br \/>\ndefine(&#8216;WP_DEBUG&#8217;, false);<\/p>\n<p>\/* That&#8217;s all, stop editing! Happy blogging. *\/<\/p>\n<p>\/** Absolute path to the WordPress directory. *\/<br \/>\nif ( !defined(&#8216;ABSPATH&#8217;) )<br \/>\n\tdefine(&#8216;ABSPATH&#8217;, dirname(__FILE__) . &#8216;\/&#8217;);<\/p>\n<p>\/** Sets up WordPress vars and included files. *\/<br \/>\nrequire_once(ABSPATH . &#8216;wp-settings.php&#8217;);&#8217;<\/p>\n<p>Obrigado pela vossa ajuda.<\/p>\n","protected":false},"template":"","class_list":["post-14316","topic","type-topic","status-closed","hentry","topic-tag-multisite","topic-tag-problemas","topic-tag-thumbnails"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pt.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/14316","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pt.wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/pt.wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/pt.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/14316\/revisions"}],"wp:attachment":[{"href":"https:\/\/pt.wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=14316"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}