Latest Development FOG

  • Developer

    yes, the latest fog 1.0.1 is compatible with Ubuntu 10.04 LTS and up, though i don’t recommend 14.04 due to the number of issues reported on it. Ubuntu 13.10 and 12.04 are fine, however.


  • Hi is the latest fog 1.0.0 compatible with Ubuntu 10.04 LTS and up?


  • [quote=“bradlylewis22, post: 28037, member: 23940”]The location plugin appears to be broken now. When I try to install it I hit submit and it goes to a white screen and stays there. I am running the latest revision on 1.0.1. I am running Ubuntu 12.04 I really need this functionality to work for my setup, Does anyone know how to make this work?

    Small note: this was working in 1.0.0

    apache log:
    [CODE][Fri May 23 08:17:05 2014] [error] [client 172.30.100.75] PHP Fatal error: Call to a member function mainMenu() on a non-object in /var/www/fog/management/index.php on line 72
    [Fri May 23 08:19:49 2014] [error] [client 172.30.100.75] PHP Parse error: syntax error, unexpected ‘}’ in /var/www/fog/lib/plugins/location/class/LocationManager.class.php on line 46, referer: http://fogserver/fog/management/index.php?node=plugin&sub=installed&run=d5189de027922f81005951e6efe0efd5&installed=d5189de027922f81005951e6efe0efd5
    [Fri May 23 08:20:34 2014] [error] [client 172.30.100.75] PHP Parse error: syntax error, unexpected ‘}’ in /var/www/fog/lib/plugins/location/class/LocationManager.class.php on line 46, referer: http://fogserver/fog/management/index.php?node=plugin&sub=installed&run=d5189de027922f81005951e6efe0efd5&installed=d5189de027922f81005951e6efe0efd5[/CODE][/quote]

    I’ve fixed this in svn.


  • The location plugin appears to be broken now. When I try to install it I hit submit and it goes to a white screen and stays there. I am running the latest revision on 1.0.1. I am running Ubuntu 12.04 I really need this functionality to work for my setup, Does anyone know how to make this work?

    Small note: this was working in 1.0.0

    apache log:
    [CODE][Fri May 23 08:17:05 2014] [error] [client 172.30.100.75] PHP Fatal error: Call to a member function mainMenu() on a non-object in /var/www/fog/management/index.php on line 72
    [Fri May 23 08:19:49 2014] [error] [client 172.30.100.75] PHP Parse error: syntax error, unexpected ‘}’ in /var/www/fog/lib/plugins/location/class/LocationManager.class.php on line 46, referer: http://fogserver/fog/management/index.php?node=plugin&sub=installed&run=d5189de027922f81005951e6efe0efd5&installed=d5189de027922f81005951e6efe0efd5
    [Fri May 23 08:20:34 2014] [error] [client 172.30.100.75] PHP Parse error: syntax error, unexpected ‘}’ in /var/www/fog/lib/plugins/location/class/LocationManager.class.php on line 46, referer: http://fogserver/fog/management/index.php?node=plugin&sub=installed&run=d5189de027922f81005951e6efe0efd5&installed=d5189de027922f81005951e6efe0efd5[/CODE]

  • Moderator

    or download the BTSync and get all the changes as they happen.


  • [quote=“darkxeno, post: 27881, member: 4011”]how can I get this revision[/quote]

    Take a look at this
    [url]http://fogproject.org/wiki/index.php/SVN[/url]


  • how can I get this revision


  • [quote=“Albatros, post: 27825, member: 16710”]Tested download and upload of an image, didn’t got any problems.[/quote]

    AWESOME! YAY!


  • [quote=“Tom Elliott, post: 27817, member: 7271”]Important to note, does imaging still work?[/quote]

    Tested download and upload of an image, didn’t got any problems.


  • [quote=“Albatros, post: 27804, member: 16710”]Tested latest revision 1716 and Kernel Update under FOG Configuration works fine on my side ;)[/quote]

    Important to note, does imaging still work?


  • Tested latest revision 1716 and Kernel Update under FOG Configuration works fine on my side 😉


  • r1714 released.

    Add’s a pause prompt after the installation/upgrade of the fog Web system to inform the installer to go to the page so they can update the schema. This way all can continue successfully as long as the user follows the instructions.

    While it’s been a few revision updates since, the most pertinent and important to note upgrades is that I’ve modified the way mysql is queried. I’ve also moved all the plugins into their own folders outside of management/plugins. As a matter of fact, management/plugins is no more at all. The new location is statically located at lib/plugins and follows a directory tree structure to help standardize and implement new things.

    Tree structure for plugins is now:
    /var/www/{fog,html/fog}/lib/plugins/
    <PLUGINNAME>/ #The plugin name needs match the $fog_plugin[‘name’] = <PLUGINNAME>
    html/ #Contains the run.php
    images/ #Contains the images the plugin is to use.
    includes/ #Contains any of the needed include files for the plugin.
    hooks/ #Contains (NOT WORKING YET) the hooks to change the FOG pages.
    config/ #Contains the plugin.config.php file that initializes the plugin to FOG.
    class/ #Class files Class name to match the plugin name as well. (e.g. Capone.class.php,CaponeManager.class.php)
    That is about it. See any of the current plugins within this directory for an example of what’s needed.

    Of note: Class files are typically used for Database interaction. So each class, if a required database install, would need A base.class.php and baseManager.class.php where base is the same as the class name of the plugin. BaseManager is what allows for find, count, destroy, search, parameters to operate.

280
Online

9.0k
Users

15.6k
Topics

145.1k
Posts