• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    FTP PHP Warnings (Low priority)

    Scheduled Pinned Locked Moved Solved
    General
    2
    3
    1.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Q
      Quazz Moderator
      last edited by

      Alright, you’re probably going to say to check credentials, but don’t worry, I have.

      I get these warnings in Apache log at the end of an image upload :

      [Wed Jun 15 18:07:37.819540 2016] [:error] [pid 29670] [client 192.168.1.68:44806] PHP Warning: ftp_chmod(): SITE CHMOD command failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 31
      [Wed Jun 15 18:07:37.818956 2016] [:error] [pid 29670] [client 192.168.1.68:44806] PHP Warning: ftp_delete(): Delete operation failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 58
      [Wed Jun 15 18:07:37.752180 2016] [:error] [pid 29670] [client 192.168.1.68:44806] PHP Warning: ftp_rmdir(): Remove directory operation failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 172
      [Wed Jun 15 18:07:37.752129 2016] [:error] [pid 29670] [client 192.168.1.68:44806] PHP Warning: ftp_delete(): Delete operation failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 58
      

      However, images upload fine, everything wroks as expected, etc, so it doesn’t seem like it should throw these warnings.

      So obviously it’s not really a big concern, I’m mostly just confused about why these warnings show up.

      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        I don’t consider any of these things bugs. I stopped having it (ftp) hide errors as to do is is pretty bad from a performance perspective and it may help in tracking issues.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 1
        • Tom ElliottT
          Tom Elliott
          last edited by

          Moved to General and marked as solved.

          I’m not going to “hide” this errors as I stated earlier. One, using the @ method to hide/block errors is really really slow (albeit slow is relative here).

          Also, hiding errors makes it way too difficult to track an issue. We are using hiding in a few area’s, but only on min/max functions as them throwing an error is not really important as all they typically throw for is the item is not an array or no value was returned in which case our internals already know what to do.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post

          155

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project