{"id":130,"date":"2013-01-25T10:57:11","date_gmt":"2013-01-25T13:57:11","guid":{"rendered":"http:\/\/www.l9web.com.br\/blog\/?p=130"},"modified":"2020-01-16T20:49:58","modified_gmt":"2020-01-16T23:49:58","slug":"jfoldercreate-caminho-nao-incluido-nos-caminhos-open_basedir","status":"publish","type":"post","link":"https:\/\/www.l9web.com.br\/blog\/?p=130","title":{"rendered":"JFolder::create: Caminho n\u00e3o inclu\u00eddo nos caminhos open_basedir"},"content":{"rendered":"<p>Quando colocamos um site Joomla no ar, ainda mais se for uma hospedagem Windows, nos deparamos com problemas ao tentar criar pastas, enviar arquivos e tudo mais.<\/p>\n<p>Uma mensagem de erro comum \u00e9 <strong>JFolder::create: Path not in open_basedir paths <\/strong> ou <strong>JFolder::create: Caminho n\u00e3o inclu\u00eddo nos caminhos open_basedir<\/strong><\/p>\n<p>Eis a solu\u00e7\u00e3o. N\u00e3o sei se afeta em algo na seguran\u00e7a, mas vamos l\u00e1.<\/p>\n<p>Abrir o arquivo &#8220;\/libraries\/joomla\/filesystem\/folder.php&#8221; para se fazer a seguinte altera\u00e7\u00e3o.<\/p>\n<p>Localizar a seguinte linha<\/p>\n<pre lang=\"php\">$obd = ini_get('open_basedir');\n<\/pre>\n<p>E comentar a linha<\/p>\n<pre lang=\"php\">\/\/$obd = ini_get('open_basedir');\n<\/pre>\n<p>Salve e estar\u00e1 tudo certo.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Quando colocamos um site Joomla no ar, ainda mais se for uma hospedagem Windows, nos deparamos com problemas ao tentar criar pastas, enviar arquivos e tudo mais. Uma mensagem de erro comum \u00e9 JFolder::create: Path not in open_basedir paths ou&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[10,11,44,45,58,97,106,107,108,142,146],"class_list":["post-130","post","type-post","status-publish","format-standard","hentry","category-php-e-javascript","tag-1-5","tag-2-5","tag-caminho","tag-caminho-nao-incluido-nos-caminhos-open_basedir","tag-create","tag-incluido","tag-jfolder","tag-jfoldercreate","tag-joomla","tag-nao","tag-open_basedir"],"_links":{"self":[{"href":"https:\/\/www.l9web.com.br\/blog\/index.php?rest_route=\/wp\/v2\/posts\/130"}],"collection":[{"href":"https:\/\/www.l9web.com.br\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.l9web.com.br\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.l9web.com.br\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.l9web.com.br\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=130"}],"version-history":[{"count":3,"href":"https:\/\/www.l9web.com.br\/blog\/index.php?rest_route=\/wp\/v2\/posts\/130\/revisions"}],"predecessor-version":[{"id":292,"href":"https:\/\/www.l9web.com.br\/blog\/index.php?rest_route=\/wp\/v2\/posts\/130\/revisions\/292"}],"wp:attachment":[{"href":"https:\/\/www.l9web.com.br\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=130"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.l9web.com.br\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=130"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.l9web.com.br\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=130"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}