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

    Error after upgrade from 0.32 to 1.0.1 Upload task failed to create for with image

    Scheduled Pinned Locked Moved FOG Problems
    17 Posts 3 Posters 4.5k Views
    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.
    • J
      Jim Holcomb
      last edited by

      [COLOR=#393939][LEFT][SIZE=2][error] [client 192.168.1.65] PHP Warning: current() expects parameter 1 to be array, string given in /var/www/fog/lib/fog/Host.class.php on line 1159, referer: [url]http://192.168.1.200/fog/management/index.php?node=host&sub=delete&id=0[/url] [Wed May 21 18:16:14 2014] [error] [client 192.168.1.65] PHP Fatal error: Call to a member function isValid() on a non-object in /var/www/fog/lib/fog/Host.class.php on line 1159, referer: [url]http://192.168.1.200/fog/management/index.php?node=host&sub=delete&id=0[/url][/SIZE][/LEFT][/COLOR]

      1 Reply Last reply Reply Quote 0
      • J
        Jim Holcomb
        last edited by

        Tom, any suggestions?

        1 Reply Last reply Reply Quote 0
        • JunkhackerJ
          Junkhacker Developer
          last edited by

          when you ran the install script, did you use the sudo command?
          also, did you have any scheduled or active tasks when you ran the installer?

          signature:
          Junkhacker
          We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

          1 Reply Last reply Reply Quote 0
          • J
            Jim Holcomb
            last edited by

            Yes I ran sudo for the installer, not aware of any scheduled tasks. Changed the MySql password in config.php file, and I can log into the GUI successfully.

            1 Reply Last reply Reply Quote 0
            • J
              Jim Holcomb
              last edited by

              Guys, anything? This is very frustrating! I have images now that I cannot use, and new images to create that cannot be created.

              1 Reply Last reply Reply Quote 0
              • JunkhackerJ
                Junkhacker Developer
                last edited by

                i’m still trying to look into what could be causing the problem. maybe make a backup of your server and try the latest svn trunk. i suspect that something has an invalid value in your mysql database, with regard to either hosts or tasks, but i can’t be certain.

                signature:
                Junkhacker
                We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                1 Reply Last reply Reply Quote 0
                • J
                  Jim Holcomb
                  last edited by

                  What is a svn trunk?

                  1 Reply Last reply Reply Quote 0
                  • JunkhackerJ
                    Junkhacker Developer
                    last edited by

                    the svn trunk is the repository of pre-release code. it is the “bleeding-edge” of the software, and is not considered final release quality, generally. however, it does contain bug-fixes, updates, and features not included in the official releases. in general, it is not recommended to use the developmental versions in production environments. however, your system isn’t working right now anyway.
                    updating to the svn trunk version may fix your problem, i can’t be certain. It is also vital that you backup your server’s data before you update, as the code is not officially supported, and may contain bad bugs we haven’t found yet.
                    [url]http://www.fogproject.org/wiki/index.php/SVN[/url]

                    signature:
                    Junkhacker
                    We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                    1 Reply Last reply Reply Quote 0
                    • J
                      Jim Holcomb
                      last edited by

                      I’m using Webmin. Will using that backup option work ok? Have no experience with it. Just installed it two days ago.

                      1 Reply Last reply Reply Quote 0
                      • JunkhackerJ
                        Junkhacker Developer
                        last edited by

                        i’m not familiar with webmin. but if it can make a full database backup, i don’t see why it wouldn’t work. you may also want to backup the files in the root of your web folder, just in case.

                        signature:
                        Junkhacker
                        We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

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

                        105

                        Online

                        12.2k

                        Users

                        17.4k

                        Topics

                        155.6k

                        Posts
                        Copyright © 2012-2025 FOG Project