Voltar   Fórum Comunidade Portuguesa de Joomla > Joomla - FAQ > FAQs & Tutoriais > FAQ: Erros & problemas
FAQ: Erros & problemas Respostas para os erros e problemas frequentes em Joomla!

Responder
 
Opções do tópico Visualização
(#1)
Antigo
xklamation
Visitante
 
Padrão Tutorial: Caminho de sessão editável - 25-06-2007, 22:14

Este foi o tutorial que escrevi no joomla forum
http://forum.joomla.org/index.php/topic,184504.0.html.

Session save path writable solved!/ Caminho de sessão editável resolvido!
end result/resultado final:

administrator/backups/ Editável
administrator/components/ Editável
administrator/modules/ Editável
administrator/templates/ Editável
components/ Editável
images/ Editável
images/banners/ Editável
images/stories/ Editável
language/ Editável
mambots/ Editável
mambots/content/ Editável
mambots/editors/ Editável
mambots/editors-xtd/ Editável
mambots/search/ Editável
mambots/system/ Editável
media/ Editável
modules/ Editável
templates/ Editável
Directório de Cache /home/mypathtojoomla/public_html/cache/ Editável
Directório de Sessão /home/mypathtojoomla/public_html/sessions/ Editável


How-to by Dean Marshall/Portuguese translation/tutorial by xklamation:

Create a sub-folder called sessions in the same folder as the configuration.php file.
Find out the location of your Joomla folder by reading the $mosConfig_absolute_path entry from your configuration.php file.
Take the path from within the quotes on that line.
Put that value between the quotes on this line
session_save_path('');
and add a /sessions on the end of that entry - still inside the quotes.
It should look something like this session_save_path('/path/to/joomla/sessions'); but your actual path will be different.
Place that line (with your path) with the other settings in configuration.php - on its own line.


Tutorial

Faça isto no caso de ter que fazer login várias vezes como administrador e se o seu servidor não lhe der outra hipótese; mesmo assim parece que para bom uso de determinadas extensões como o joomlafish (extensão para site multilingue) é de facto necessário que session_save_path seja editável.

1.Se estiver a usar Cpanel, vá ao Gestor de ficheiros, clique no ícone para abrir.
2. No Gestor de ficheiros seleccione o directório onde está instalado o joomla, no meu caso estava em public_html, clique 2 vezes no ícone (não no texto) para abrir.
3. Clique em Create new foldeR/crie um novo directório.
4. dê-lhe o nome sessions..
5. Clique uma vez em configuration.php, seleccione editar.
6. uma nova janela irá abrir contendo o configuration.php, Faça copy/paste do texto e guarde-o com o bloco de notas. Nota*Não use nem o word ou o wordpad utilize sempre o bloco de notas/notepad.
7. veja a seguinte linha no seu configuration.php: $mosConfig_absolute_path
8. escreva por baixo, numa linha única: session_save_path('')
9 volte a olhar para a linha superior, onde está : $mosConfig_absolute_path e agora copie o que está entre aspas:$mosConfig_absolute_path = '/home/mypathtojoomla/public_html';
10. Faça paste para session_save_path('') deverá ficar assim session_save_path('/home/mypathtojoomla/public_html')
11. acrescente no fime ainda entre as aspas /sessions.
12. deverá ficar assim: session_save_path('/home/mypathtojoomla/public_html/sessions')
13. E pronto, está editável.

Boa Sorte!


Now in english:

Tutorial

Make this Only in case of having to login several times as an administrator and/or if your server does not give you another choice; even so it seems that for excellent use of some extensions as the joomlafish (extension for site multi-language) it’s in fact necessary to have a writable session_save_path.

1. If you are using Cpanel, go to the File Manager, click on the icon to open.
2. In the File Manager select the directory where the joomla is installed, in my case it was in public_html, click 2 times on the icon (not in the text) to open.
3. Click in Create new folder/create a new directory.
4. Give the new folder the name: sessions.
5. Click once in configuration.php, select to publish.
6. A new window will open containing the configuration.php, Do this: copy/paste from the text and guard it with the notepad. Note* Do not use Word or the WordPad always use notepad.
7. See the line in configuration.php: $mosConfig_absolute_path
8. Write just under it, in a new line: session_save_path (")
9. Look again at the superior line, where it is: $mosConfig_absolute_path and now copy what is between the quotes: $mosConfig_absolute_path = '/home/mypathtojoomla/public_html ';
10. Do paste it inside the quotes session_save_path (") it will look something like: session_save_path ('/home/mypathtojoomla/public_html ').
11. Add at the end and still between the quotes: / sessions.
12. It will look similar to: session_save_path ('/home/mypathtojoomla/public_html/sessions')
13. And now, it’s writable!

Good Luck!
Digg esta mensagem!Adicionar mensagem a del.icio.usAdicionar mensagem a TechnoratiFurl esta mensagem!
Responder com citação
(#2)
Antigo
xklamation
Visitante
 
Padrão Re: Session save path writable solved!/ Session save path editavél resolvido! - 27-06-2007, 13:17

Actually this is just a workaround, kind of a small hack. When you uninstall/install components like open_sef or artio joomsef you'll have to change the configuration.php as explained above over again.

Tradução:
Aparentemente isto só funciona se não desinstalerem/instalarem componentes como open_sef e outros... Caso façam isso têm que se fazer tudo de novo com está descrito em cima.

Best thing is to ask your host to configure this / O melhor é pedir ao seu servidor para lhe criar um directório sessions.
Digg esta mensagem!Adicionar mensagem a del.icio.usAdicionar mensagem a TechnoratiFurl esta mensagem!
Responder com citação
(#3)
Antigo
Joomlinha

surftuga
 
Uso Joomla 1.0.15
Padrão Re: Tutorial: Caminho de sessão editável - 04-05-2008, 12:23

Boas,

Eu estive a seguir o tutorial mas chego há parte que é para tornarmos editável na parte:

Directório de Sessão /home/mypathtojoomla/public_html/sessions/ Editável

E vejo que não tenho nenhuma pasta com o nome sessions... Como faço para resolver isto? Estive a ver em todos os sites que tenho em Joomla e nenhuma tem esta pasta...
Digg esta mensagem!Adicionar mensagem a del.icio.usAdicionar mensagem a TechnoratiFurl esta mensagem!
Responder com citação
(#4)
Antigo
Avatar de horus_68
Super Moderador

horus_68 will become famous soon enoughhorus_68 will become famous soon enough
 
Uso Joomla 1.5.5
Padrão Re: Tutorial: Caminho de sessão editável - 05-05-2008, 12:10

Citação:
Colocado originalmente por surftuga Ver mensagem
Boas,

Eu estive a seguir o tutorial mas chego há parte que é para tornarmos editável na parte:

Directório de Sessão /home/mypathtojoomla/public_html/sessions/ Editável

E vejo que não tenho nenhuma pasta com o nome sessions... Como faço para resolver isto? Estive a ver em todos os sites que tenho em Joomla e nenhuma tem esta pasta...
A pasta de sessão podes ser uma qualquer, tem é que estar definida e editável. Em muitos servidores é
/tmp

Verifica nas informações do teu Joomla (info sistema)

A definição é feita no PHP.INI ou no .htaccess


Re: Can i install without a session save path? - Joomla! Community Forum • View topic - Can i install without a session save path?

Fix Session Save Path Red Unwritable When Installing Joomla! - Fix Session Save Path Red Unwritable When Installing Joomla! My Digital Life
Citação:
session.save_path = /tmp
Modify /tmp to the path to a folder that is writable by Apache web server process. If you don’t have shell access to the web host, such as in shared hosting, try asking hosting service provider to include the session save path parameter, or make the path writable.
Ver ainda este tutorial:
Fix Session Save Path Red Unwritable When Installing Joomla! My Digital Life

Última edição por horus_68 : 05-07-2008 às 06:44.
Digg esta mensagem!Adicionar mensagem a del.icio.usAdicionar mensagem a TechnoratiFurl esta mensagem!
Responder com citação
(#5)
Antigo
Joomlinha

surftuga
 
Uso Joomla 1.0.15
Padrão Re: Tutorial: Caminho de sessão editável - 11-05-2008, 15:32

Problema resolvido. Falei com o administrador do meu host e ele tratou disso. Obrigado pela ajuda.
Digg esta mensagem!Adicionar mensagem a del.icio.usAdicionar mensagem a TechnoratiFurl esta mensagem!
Responder com citação
Responder

Bookmarks
Opções do tópico
Visualização

Regras para mensagens
You may not post new threads
You may not post replies
Não pode colocar anexos
You may not edit your posts

BB code is Ligado
Emoções estão Ligado
Código [IMG] está Ligado
Código HTML está Desligado
Trackbacks are Ligado
Pingbacks are Ligado
Refbacks are Desligado



Criado em vBulletin® versão 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd. :: Traduzido por Joomlapt.com
Licença para: JoomlaPT