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

    Site plugin and 1.5

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    3
    5
    879
    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.
    • A
      Aur3l
      last edited by

      Hi everyone !

      I’m using FOG 1.4 with site plugin and it’s work fine. But last week i try to upgrade to 1.5 and this plugin seems to have a problem.
      I can’t change a host location from the host page, if i select new location i can’t save. But it’s work from the site plugin page. When i restore my server with FOG 1.4 the site plugin work fine with host page.

      Thanks.

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

        Are you really updating to 1.5 or 1.5.4? 1.5.0 I believe had issues with plugins (if I’m to remember correctly, but am pretty sure this has since been fixed.) The problem, truly, was with all Plugins, as it wouldn’t create the database needed for the plugin when it was installed.

        Can you get us more information and possibly provide the apache error logs when you attempt to do something? (Debian = /var/log/apache2/error.log, Redhat = /var/log/httpd/error_log)

        Can you also get the browser’s Javascript Console when you attempt to do an action? (On chrome press the keys CTRL+SHIFT+C and click the console tab).

        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
        • A
          Aur3l
          last edited by

          I try with an update from 1.4.4 to 1.5.4 and install from scratch, same problem.
          After changing Host Site and clicking “update” nothing append (no message ‘host updated !’) and apache error log says :

          [Thu Aug 23 11:25:30.658913 2018] [proxy_fcgi:error] [pid 50898] [client x.x.x.x:x] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught Error: Call to a member function get() on null in /var/www/fog/lib/plugins/site/hooks/addsitehost.hook.php:322\nStack trace:\n#0 /var/www/fog/lib/fog/hookmanager.class.php(87): AddSiteHost->hostAddSite(Array)\n#1 /var/www/fog/lib/pages/hostmanagementpage.class.php(3701): HookManager->processEvent('HOST_EDIT_SUCCE...', Array)\n#2 /var/www/fog/lib/fog/fogpagemanager.class.php(220): HostManagementPage->editPost()\n#3 /var/www/fog/management/index.php(54): FOGPageManager->render()\n#4 {main}\n  thrown in /var/www/fog/lib/plugins/site/hooks/addsitehost.hook.php on line 322\n', referer: http://x.x.x.x/fog/management/index.php?node=host&sub=edit&id=1
          

          Then Javascript Console says when i click ‘Update’ :

          jquery-latest.min.js?ver=133:4 POST http://x.x.x.x/fog/management/index.php?node=host&sub=edit&id=1&tab=host-general 500 (Internal Server Error)
          send	@	jquery-latest.min.js?ver=133:4
          ajax	@	jquery-latest.min.js?ver=133:4
          a.ajax	@	jquery-migrate-latest.min.js?ver=133:2
          submithandlerfunc	@	fog.js?ver=133:601
          d	@	jquery.validate.min.js?ver=133:4
          (anonymous)	@	jquery.validate.min.js?ver=133:4
          dispatch	@	jquery-latest.min.js?ver=133:3
          q.handle	@	jquery-latest.min.js?ver=133:3
          

          If i don’t select any host and do an update the message “Host updated !” appears by the way.

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by

            @Aur3l I am wondering if this was ever solved. If this is still an issue with current FOG 1.5.5 I will have a look and try to fix it.

            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
            • S
              Sebastian Roth Moderator
              last edited by

              @Aur3l Ok, this is fixed in dev-branch and will be in the next release as well. The fix is fairly simple and you might want to add this on your own FOG server by hand to not have to wait for the next official release.

              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

              131

              Online

              12.1k

              Users

              17.3k

              Topics

              155.4k

              Posts
              Copyright © 2012-2024 FOG Project