Author Topic: still trying to find out the solution on ftp_connect  (Read 86 times)

wre2wre

  • Confirmed Member
  • **
  • Posts: 5
  • Karma: +0/-0
still trying to find out the solution on ftp_connect
« on: September 08, 2017, 11:50:19 PM »
i am getting the following error message,changed files to  cmd 777  should i give a name somewhehre?:

ftp_connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known
Array
(
   
  • => Array

        (
            [function] => general_error
            [args] => Array
                (
                   
  • => 2
  • [1] => ftp_connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known
                        [2] => /home/username/public_html/etano/includes/classes/fileop.class.php
                        [3] => 22
                        [4] => Array
                            (
                               
[ftp_error] =>
                        )

maverick

  • Administrator
  • Veteran Member
  • *****
  • Posts: 3005
  • Karma: +210/-7
    • Maverick Webworks

Fusion Responsive Template & Free Mods
http://www.maverickwebworks.com
DO NOT PM me asking for personal help. Post your problem or request in the forums so the entire community can contribute and benefit.

wre2wre

  • Confirmed Member
  • **
  • Posts: 5
  • Karma: +0/-0
Re: still trying to find out the solution on ftp_connect
« Reply #2 on: September 09, 2017, 12:09:18 AM »
This solved:

In your site's includes/defines.inc.php file make sure your using DISK mode and the following lines are set as follows:
Code: [Select]
define('_FILEOP_MODE_','disk');
define('_FTPHOST_','');
define('_FTPPATH_','');
define('_FTPUSER_','');
define('_FTPPASS_','');