sub menu features access
I’m using fog project 1.5.6 based on CentOS 7.
I can image or clone host and groups, however but when I’m trying to access submenu features in host or group like Image association, basic tasks, AD nothing happens. I can only access Inventory, Membership, Delete.
I’ll appreciate any suggestions.
@siara Hmmm, I still can’t see why this is failing on your server. Let’s try to get even more into the details. You said that Membership and Delete are working ok. I can understand that because those are handled by a different part of the PHP code. But I can’t think of why Inventory should properly work while all the others don’t. Are you really sure about this?
When you hover over the links with your mouse you should see the link that it would go to, e.g. http://192.168.2.10/fog/management/index.php?node=host&sub=edit&id=1#host-powermanagement
See that it uses the
#in the URL to go to the different sub sections. Do the URLs look similar on your server?
Just trying to gather some more information and hopefully stumble upon what’s wrong here.
@siara Very interesting. I am still trying to come up with an idea. Will be pondering on this over the next days.
Permissive, I don’t think firewall is a problem.
Strange thing is only some submenu features are inaccessible (image association, basic tasks, active directory, printers, snapins, service settings, power management) while Inventory, Memebership, Delete are OK. Now when I go to Inventory and try to go Associacion I get Group General.
@siara This is really strange. I can’t really imagine what would cause this issue. So far we only had this error reported in the forums once - just a few weeks ago: https://forums.fogproject.org/topic/13347/501-error-when-trying-to-download-fog-client
Both CentOS 7, so there is a connection.
@siara Please run
getenforceand post output here!
@george1421 Recently I updated fog to the 1.5.6, nothing changed.
@siara Lets have you rerun the fog installer script. It almost sounds like the fog program code didn’t get installed correctly.
@george1421 Nothing happens, after some time i get browser timeout.
In error log I get
PHP Warning: get_class() expects parameter 1 to be object, null given in /var/www/html/fog/lib/fog/page.class.php on line 568
When you click on “Basic Tasks” what happens? Do you see any errors in the web ui?
If you inspect the apache and php-fpm error logs, is there any recorded error there? These logs should be in /var/log directory on the fog server.