• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] Step 2: File permissions (chmod)

Started by kigratis,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kigratisTopic starter

Hello! I have a problem. I bought the V4 phpvibe recently and I'm already two days trying to solve. The system tells me that some folders do not have write access, but left the entire folder with chmod 777. What is strange is that the uploads folder passes the check and the other folders that are present with the same permissions error.

Thanks
  •  

yafe3

  •  

kigratisTopic starter

Hello!

  Direct for linux no ftp program.

thanks
  •  

yafe3

  •  

kigratisTopic starter

Hello!

I am sending a file by WinSCP program, I'm not using an FTP program.

Thanks
  •  

neospider69

  •  

Marius P.

Hi! So all those folders are 0777? Have you checked again after chmoding them? Maybe the server reverses them.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

kigratisTopic starter

Yes, all of 0777 and the only folder that says it is writable is uploads. Remembering that I am not using FTP program to transfer files. The server is not installed FTP. All file transfer I'm doing is through the WinSCP.

thanks
  •  

neospider69

try to do it via ssh, its more reliabe

chmod -R 777 pathtothefolder
  •  

Marius P.

Worst case scenario the server is returning a wrong permission check result.

Go to /setup/index.php

before

if($error > 0) {
add

$error = 0;



But if your uploads don't work, have some hosting expert have a look at that server.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

kigratisTopic starter

Hello! I made the change to skip checking the permissions, but is actually stating that the directory does not have write access. See the attached photo, the software I am using full release indicates chmod0777.

Thanks :(
  •  

neospider69

that is server issue for all that i can see, are you on shared?
  •  

kigratisTopic starter

I do not know if I understand correctly, but I'm sending the files to the html folder through this photo program. WinSCP program

thanks
  •  

neospider69

amigo, vc esta em hosting partilhado ou tem VPS/Dedicado?

isso parece ser erro do servidor
  •  

kigratisTopic starter

É servidor dedicado, está em minha intranet. Já reinstalei várias vezes, está tudo atualizado. Estou usando o CentOS7.

Obrigado
  •  

neospider69

abra uma janela de comandos
e use o seguinte comando

ls -l caminhododirectorioweb

e poste aqui o resultado

  •  

kigratisTopic starter

Segue o resultado, eu já havia dado o comando chmod -R 777. Veja o resultado na foto.
  •  

neospider69

ok...

Para todos os ficheiros ( nao pastas ) incluindo todos os ficheiros em todas as pastas

chmod -R 644 caminho do ficheiro

creio que vc deu permissoes 777 a tudo, o que cria erros no script, em teoria funciona assim

em ultimo caso....

apague tudo..

instale pureftp

e envie tudo por ftp
  •  

neospider69

no final devera estar assim

drwxrwxrwx 4 shows shows  4096 Mar 10 15:51 cache
-rw-r--r-- 1 shows shows  6710 Oct 14 11:36 callback.php
drwxr-xr-x 2 shows shows  4096 Mar  2 21:36 com
-rw-r--r-- 1 shows shows  2145 Jul 17  2015 cron.php
drwxr-xr-x 2 shows shows  4096 Mar  8 15:59 img
-rw-r--r-- 1 shows shows  8776 Apr 25  2015 index.php
drwxr-xr-x 8 shows shows  4096 Mar  2 21:37 lib
-rw-r--r-- 1 shows shows  3168 May  6  2015 load.php
drwxrwxrwx 4 shows shows 12288 Mar 10 02:55 media
drwxr-xr-x 9 shows shows  4096 Mar  2 21:37 moderator
drwxr-xr-x 3 shows shows  4096 Mar  3 02:04 plugins
drwxrwxrwx 2 shows shows  4096 Mar 10 15:44 rawmedia
-rw-r--r-- 1 shows shows 52074 Mar  1  2015 res.php
-rw-r--r-- 1 shows shows  4208 Jul 21  2015 stream.php
drwxr-xr-x 3 shows shows  4096 Mar  2 21:37 tpl
drwxrwxrwx 2 shows shows  4096 Mar 10 02:18 uploads
-rw-r--r-- 1 shows shows  1143 Mar  2 21:41 vibe_config.php
-rw-r--r-- 1 shows shows  1935 Oct 14 11:36 vibe_setts.php
-rwxr-xr-x 1 shows shows  2469 Apr  5  2015 videocron.php
  •  

neospider69

se vc precisar de ajuda em configurar o server me procure no skype: wwtorrents
  •  

kigratisTopic starter

Quando rodo por exemplo: chmod -R 644 /var/www/html/videocron.php a minha permissão fica como rw-r--r-- não fica igual a que me enviou -rwxr-xr-x. Agradeço, já lhe adicionei no skype
  •  

neospider69

  •  

kigratisTopic starter

Tópico resolvido pelo super Fábio, pessoa positiva e esforçada, Deus abençoe! Chegamos a conclusão que o CentOS7 apresenta BUG nas permissões, mesmo tudo setado com chmod, as pastas não dão privilégio de escrita.

Abraço
  •  

Marius P.

So all's good now? Good you guys sorted it out!. Thank you @neospider69 for helping!
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

neospider69

not a problem buddy, all sorted for him now, even installed ffmpeg on his server
  •  

Similar topics (7)