Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - tiagocaus

Pages: [1] 2 3 4
1
CWP API / Folder V1
« on: July 30, 2019, 02:09:32 AM »
Where is this path located on the server?

> http://my-ip:2304/v1/

Which way to locate this folder V1?

2
I have the same problem too. How to solve this?

3
CentOS-WebPanel Bugs / Error editing package
« on: July 18, 2019, 12:07:01 AM »
Error editing package

Code: [Select]
Notice: Undefined index: update_users in /usr/local/cwpsrv/htdocs/resources/admin/modules/edit_package.php on line 0

4
PHP / PHP Upload does not send files.
« on: July 13, 2019, 01:56:42 PM »
I ran a cPanel test and the upload works, but the CWP server is not sending the file.

No error appears, shows all the upload procedure, it registers in the database, but the file does not send.

My code:

Code: [Select]
<?php
if ((isset($_POST["form"])) && ($_POST['form'] == "form1")) {

  
$ext strtolower(substr($_FILES['arquivo']['name'],-4)); //Pegando extensão do arquivo
  
$arquivo "file_".date('dmYhis') . $ext//Definindo um novo nome para o arquivo
  
$dir __DIR__.'/uploads/aulas/'//Diretório para uploads
  
move_uploaded_file($_FILES['arquivo']['tmp_name'], $dir.$arquivo); //Fazer upload do arquivo

}
?>



  <form id="form" method="post" autocomplete="off" enctype="multipart/form-data">
    <div class="row">
      <div class="col-xs-6">
        <div class="form-group">
          <label class="control-label">Arquivo (.zip .rar .pdf)</label>
          <input name="arquivo" type="file" id="file-1" required />
        </div>
      </div>

      <button type="submit" id="button" name="button" class="btn btn-success pull-right"><i class="icon-save bigger-110"></i> Salvar</button>
  </form>

5
PHP / Create database, Email and Crontab uing php command
« on: July 12, 2019, 12:21:56 PM »
How to create using php command?

- Create SQL database;
- Upload a table;

- List, Create Delete Emails;

- Create a crontab.

6
CentOS-WebPanel GUI / Does CWP have API?
« on: July 07, 2019, 11:16:30 AM »
I would like to be able to:

- Create SQL database;
- Upload a table;

- List, Create Delete Emails;

- Create a crontab.

7
E-Mail / Re: I can not send email using PHPMailer.
« on: June 26, 2019, 10:03:06 PM »
contact support for the checks

How do I contact support?

8


I do not want to ignore a warning. I want what the warning is and correct it.

What needs to be done to correct?

9

What does this error mean?

What can I do to correct this error? do not ignore it.

10
Time:     Wed Jun 19 14:00:26 2019 -0300

The following list of files have FAILED the md5sum comparison test. This means that the file has been changed in some way. This could be a result of an OS update or application upgrade. If the change is unexpected it should be investigated:

/usr/bin/cpupower: FAILED
/bin/cpupower: FAILED

11
E-Mail / Re: lfd on srv1.server.com.br: Suspicious File Alert
« on: June 18, 2019, 12:28:31 PM »
?

12
E-Mail / Re: I can not send email using PHPMailer.
« on: June 18, 2019, 12:27:47 PM »


I already did ALL configurations possible. It should have some blocking of the server to not send smtp message via script.

I'm 5 days searching the internet and nothing happening!

13
Code: [Select]
Time:         Tue Jun 18 09:00:14 2019 -0300
Account:      rpc
Resource:     Process Time
Exceeded:     556997 > 1800 (seconds)
Executable:   /usr/sbin/rpcbind
Command Line: /sbin/rpcbind -w
PID:          2453 (Parent PID:2453)
Killed:       No

14
E-Mail / I can not send email using PHPMailer.
« on: June 16, 2019, 02:23:08 PM »
I can not send email using PHPMailer.


Code: [Select]

2019-06-16 14:21:00 Connection: opening to ssl://srv1.server.com.br:465, timeout=300, options=array()
2019-06-16 14:21:00 Connection failed. Error #2: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed [/home/userxxx/public_html/vendor/phpmailer/phpmailer/src/SMTP.php line 321]
2019-06-16 14:21:00 Connection failed. Error #2: stream_socket_client(): Failed to enable crypto [/home/userxxx/public_html/vendor/phpmailer/phpmailer/src/SMTP.php line 321]
2019-06-16 14:21:00 Connection failed. Error #2: stream_socket_client(): unable to connect to ssl://srv1.server.com.br:465 (Unknown error) [/home/webfreel/public_html/vendor/phpmailer/phpmailer/src/SMTP.php line 321]
2019-06-16 14:21:00 SMTP ERROR: Failed to connect to server: (0)
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Erro: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting


15
PHP Selector / Enable php_openssl.dll
« on: June 16, 2019, 02:19:30 PM »
How to enable "php_openssl.dll" for all php versions?

Pages: [1] 2 3 4