WebSite X5Help Center

 
Felipe D.
Felipe D.
User

Upload file  pt

Autor: Felipe D.
Visitado 947, Seguidores 1, Compartilhado 0  

I found some "bugs" in my X5. The first, and most important, is that no records in the table field, the correct path of the file .... "explain": Sending an image from the form the X5 records in the field of the table "image name" more not the "folder" in this case "images" that was placed as the folder for images (recording in RIGHT tHIS folder) more in this field identified in the folder name .... only the file name. If I do not identify the folder ... the X5 saves the file at the bottom, along with all the site files. When this happens, the "SQLQUERYS" return the data correctly, but when I specify the path of recording .... returns ZERO, because it is in this place.

The second problem is that I added this feature to my personal page, more is not showing the image (yellow star which when clicked sample image that has been set (which is in the images directory)

Publicado em
4 RESPOSTAS
Incomedia
Riccardo P.
Incomedia

Hello Felipe,

can you explain more clearly your question please, so i can understand better.

Let me know.

***** Google Translation:

OláFelipe,

você podeexplicar mais claramentea suapergunta, por favor,para que eu possaentender melhor.

Me avise.

Ler mais
Publicado em de Riccardo P.
Felipe D.
Felipe D.
User
Autor

Obrigado pelo atendimento. Vou tentar explicar melhor o que esta acontecendo.

Quando é criado um formulário e enviado no modo POST, os arquivos (imagens) que estão sendo enviados, ficam gravados na raiz da pasta do site "/" ou seja, não são gravadas na pasta "Imagens". Isto acontece, porque, se eu indicar para que sejam gravadas em essa pasta (passo 4 =>Gerenciamento de Dados =>Pasta no servidor com permissão de escrita "imagens") os arquivos "imagens" são gravados corretamente na pasta, porem não é identificado esse caminho: "imagens/xxxxx.xxx" no campo da tabela no banco de dados, o sistema continua "omitindo" o diretorio "imagens" que eu já configuresi no passo 4.

Ler mais
Publicado em de Felipe D.
Alfonso M.
Alfonso M.
User

Será que CHMOS 777 permissões de pasta?

Ler mais
Publicado em de Alfonso M.
Incomedia
Riccardo P.
Incomedia

Hello Felipe,
write the folder in this field, for example /data
and set the permission of this folder in the server 777, contact directly the server if you have trouble.
Let me know.


***** Google Translation:

OláFelipe,
escrevera pastanestecampo,por exemplo/dados
edefinir a permissãodesta pastanoservidor777,contactar directamente oservidorse você tiver problemas.
Me avise.

Ler mais
Publicado em de Riccardo P.