[RESOLVIDO] JoomGallery - JPath::clean: $path is not a strin

  • marciomarcal
  • Avatar de marciomarcal Autor do Tópico
  • Offline
  • JCB! Expert
  • JCB! Expert
Mais
12 anos 5 meses atrás #89188 por marciomarcal
marciomarcal created the topic: [RESOLVIDO] JoomGallery - JPath::clean: $path is not a strin
Qm usa JoomGallery e já atualizou o Joomla 2.5.9 para 2.5.11 percebeu um erro no envio por ftp? Quando tento acessar o envio ftp, aparece o seguinte erro: JPath::clean: $path is not a string
Alguém viu isso?
<!-- s:ugeek: --><img src="{SMILIES_PATH}/icon_e_ugeek.gif" alt=":ugeek:" title="Uber Geek" /><!-- s:ugeek: -->

[size=110:3psbdbm9][b:3psbdbm9][color=#000000:3psbdbm9]Marcio Marçal[/color:3psbdbm9][/b:3psbdbm9][/size:3psbdbm9]
[color=#FF4000:3psbdbm9]SIM ProArte -[/color:3psbdbm9] <!-- m --><a class="postlink" href=" simproarte.com.br " onclick="window.open(this.href);return false;"> simproarte.com.br </a><!-- m -->
[color=#0000BF:3psbdbm9]Facebook -[/color:3psbdbm9] <!-- m --><a class="postlink" href=" facebook.com/marciomarcal " onclick="window.open(this.href);return...

Please Entrar ou Registrar to join the conversation.


Mais
12 anos 4 meses atrás #90401 por Aureo
Aureo replied the topic: Re: JoomGallery - Envio FTP - JPath::clean: $path is not a strin
Tente alterar a linha 191 para ficar assim:
(!is_string($path) && !empty($path))
Veja se corrige o erro.

Please Entrar ou Registrar to join the conversation.

  • marciomarcal
  • Avatar de marciomarcal Autor do Tópico
  • Offline
  • JCB! Expert
  • JCB! Expert
Mais
12 anos 4 meses atrás #90486 por marciomarcal
marciomarcal replied the topic: Re: JoomGallery - Envio FTP - JPath::clean: $path is not a strin
Aureo,
foi a primeira coisa que eu tentei assim que vi o problema. Essa solução estava lá no fórum do JoomGallery, porém, como muitos usuários do fórum do JG não tive sucesso.
A solução que resolveu o problema foi a seguinte:

no caminho: libraries/joomla/filesystem/path.php

Lá pela linha 202:
Comentei* as seguintes linhas (*coloquei ## antes)
if (!is_string($path) && !empty($path))
{
throw new UnexpectedValueException('JPath::clean: $path is not a string.');
}

<!-- s:ugeek: --><img src="{SMILIES_PATH}/icon_e_ugeek.gif" alt=":ugeek:" title="Uber Geek" /><!-- s:ugeek: -->

[size=110:3psbdbm9][b:3psbdbm9][color=#000000:3psbdbm9]Marcio Marçal[/color:3psbdbm9][/b:3psbdbm9][/size:3psbdbm9]
[color=#FF4000:3psbdbm9]SIM ProArte -[/color:3psbdbm9] <!-- m --><a class="postlink" href=" simproarte.com.br " onclick="window.open(this.href);return false;"> simproarte.com.br </a><!-- m -->
[color=#0000BF:3psbdbm9]Facebook -[/color:3psbdbm9] <!-- m --><a class="postlink" href=" facebook.com/marciomarcal " onclick="window.open(this.href);return...

Please Entrar ou Registrar to join the conversation.

Mais
12 anos 4 meses atrás #90489 por Aureo
Aureo replied the topic: Re: JoomGallery - Envio FTP - JPath::clean: $path is not a strin
Meu caro, coloque [RESOLVIDO] no título do tópico, *vide regra

Please Entrar ou Registrar to join the conversation.

  • marciomarcal
  • Avatar de marciomarcal Autor do Tópico
  • Offline
  • JCB! Expert
  • JCB! Expert
Mais
12 anos 3 meses atrás #90979 por marciomarcal
marciomarcal replied the topic: Re: JoomGallery - Envio FTP - JPath::clean: $path is not a strin
Não sei pq mas n estou conseguindo colocar o tópico como resolvido... esquisito...

[size=110:3psbdbm9][b:3psbdbm9][color=#000000:3psbdbm9]Marcio Marçal[/color:3psbdbm9][/b:3psbdbm9][/size:3psbdbm9]
[color=#FF4000:3psbdbm9]SIM ProArte -[/color:3psbdbm9] <!-- m --><a class="postlink" href=" simproarte.com.br " onclick="window.open(this.href);return false;"> simproarte.com.br </a><!-- m -->
[color=#0000BF:3psbdbm9]Facebook -[/color:3psbdbm9] <!-- m --><a class="postlink" href=" facebook.com/marciomarcal " onclick="window.open(this.href);return...

Please Entrar ou Registrar to join the conversation.