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

Task Management Blank

Scheduled Pinned Locked Moved
FOG Problems
2
9
3.1k
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.
  • M
    MrB
    last edited by Feb 26, 2014, 8:48 PM

    Ok so I know this has been posted before, but I’ve followed the directions posted here:
    [url]http://fogproject.org/forum/threads/cannot-create-tasks-task-manager-blank.3823/#post-9593[/url]

    But when I do the search and replace it does it for ~200 items rather than ~20. And the Task Manager is still blank underneath the Task Management Logo.
    I’m running FOG on ubuntu server 13.04 with FOG v .32

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Feb 26, 2014, 9:11 PM

      Alright,

      The fix for this is to open the file, tasks.confirm.include.php and replace all the instances of &$tmp with $tmp.

      I don’t know what command you used to perform this, but if it’s finding 200~ items to replace, chances are there’s a typo in your statement.

      You should simply need to enter the command:
      [code]sed ‘s:&$tmp:$tmp:’ -i /var/www/fog/management/includes/tasks.confirm.include.php[/code] and be done.

      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
      • M
        MrB
        last edited by Feb 26, 2014, 9:36 PM

        [quote=“Tom Elliott, post: 23582, member: 7271”]Alright,

        The fix for this is to open the file, tasks.confirm.include.php and replace all the instances of &$tmp with $tmp.

        I don’t know what command you used to perform this, but if it’s finding 200~ items to replace, chances are there’s a typo in your statement.

        You should simply need to enter the command:
        [code]sed ‘s:&$tmp:$tmp:’ -i /var/www/fog/management/includes/tasks.confirm.include.php[/code] and be done.[/quote]

        I copy/pasted that exact code and am still ending up with the blank space.

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott
          last edited by Feb 26, 2014, 10:09 PM

          What do the error logs tell you when you go to schedule a task?

          /var/log/apache2/error.log

          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
          • M
            MrB
            last edited by Feb 26, 2014, 10:50 PM

            So this is the error…
            [CODE][Wed Feb 26 15:46:11.688696 2014] [:error] [pid 1894] [client XXXXX] PHP Parse error: syntax error, unexpected ‘$tmp’ (T_VARIABLE) in /var/www/fog/management/includes/tasks.confirm.include.php on line 752, referer: http://XXX/fog/management/index.php?node=host&sub=edit&tab=tasks&id=2[/CODE]

            So basically I messed up a command somewhere and it ended up replacing things it shouldn’t have?

            1 Reply Last reply Reply Quote 0
            • T
              Tom Elliott
              last edited by Feb 26, 2014, 10:54 PM

              sounds like it.

              Try redownloading just the file you need:
              [code]wget https://svn.code.sf.net/p/freeghost/code/trunk/tags/0.32/packages/web/management/includes/tasks.confirm.include.php -O /var/www/fog/management/includes/tasks.confirm.include.php[/code]

              That’s all one line.

              Then perform the sed command I gave above and try again.

              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
              • M
                MrB
                last edited by Feb 26, 2014, 11:00 PM

                I’m getting an 404 Not Found on that. Is there another site that it’s on that you know of?

                1 Reply Last reply Reply Quote 0
                • T
                  Tom Elliott
                  last edited by Feb 26, 2014, 11:15 PM

                  remove trunk from the command line sorry.

                  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
                  • M
                    MrB
                    last edited by Feb 26, 2014, 11:19 PM

                    Horray! It works perfect.

                    Thanks!

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

                    193

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project