Can't edit groups
-
Hi
Today i wanted to add a host to a group and I noticed that i can’t edit my groups. If i click on a group it loads for 20 secs and then i just recieve a white page. Everything else is working. Problem was on 3648 and now also on 3652.
Any idea what is causing the problem?
-
This should now be fixed.
The editing of groups was likely a problem that I hope to have fixed.
When you removed hosts en-mass, it didn’t clear other associative fields.
I’ve added a cleaner to this, to hopefully make editing these items a bit better.
The blank screen is because apparently I need to adjust the version of PHP. I’ve updated the source to hopefully install at least php 56 for most OS’s though I don’t know everything.
-
Can we chat, maybe even teamviewer?
-
PHP Warning: Module 'mysqlnd' already loaded in Unknown on line 0 PHP 5.4.41-0+deb7u1 (cli) (built: May 22 2015 12:49:18) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
-
@Polii123 what’s the output of
sudo php -v
-
Already tried that, now changes.
-
@Polii123 can you follow these steps?
https://forums.fogproject.org/topic/5331/web-interface-will-not-load-at-fog-management-index-php/24
-
Nothing is loading, only whitepage.
[Thu Jul 02 08:28:03 2015] [error] [client 172.30.40.74] PHP Parse error: syntax error, unexpected '&' in /var/www/fog/lib/fog/FOGBase.class.php on line 411, referer: http://fogagh01/fog/management/index.php [Thu Jul 02 08:28:04 2015] [error] [client 172.30.40.74] PHP Parse error: syntax error, unexpected '&' in /var/www/fog/lib/fog/FOGBase.class.php on line 411, referer: http://fogagh01/fog/management/index.php [Thu Jul 02 08:28:04 2015] [error] [client 172.30.40.74] PHP Parse error: syntax error, unexpected '&' in /var/www/fog/lib/fog/FOGBase.class.php on line 411, referer: http://fogagh01/fog/management/index.php
-
What do you mean no login?
Where are the apache error logs?
-
@Polii123 Ouch… I just installed the latest on another guy’s box… hope it doesn’t explode
-
Just tried new Revesion. Now i can’t even see the login screen
-
Yes,
I’m aware of the problem, and am working on a fix.
-
Apache Error Log
[Tue Jun 30 15:50:45 2015] [notice] Apache/2.2.22 (Debian) PHP/5.4.41-0+deb7u1 mod_ssl/2.2.22 OpenSSL/1.0.1e configured -- resuming normal operations [Tue Jun 30 15:51:13 2015] [notice] caught SIGTERM, shutting down PHP Warning: Module 'mysqlnd' already loaded in Unknown on line 0 [Tue Jun 30 15:51:14 2015] [notice] Apache/2.2.22 (Debian) PHP/5.4.41-0+deb7u1 mod_ssl/2.2.22 OpenSSL/1.0.1e configured -- resuming normal operations BFD: /var/www/fog/service/ipxe/bzImage: Warning: Ignoring section flag IMAGE_SCN_MEM_NOT_PAGED in section .bss BFD: /var/www/fog/service/ipxe/bzImage32: Warning: Ignoring section flag IMAGE_SCN_MEM_NOT_PAGED in section .bss cat: write error: Broken pipe cat: write error: Broken pipe cat: write error: Broken pipe cat: write error: Broken pipe [Wed Jul 01 11:23:15 2015] [error] [client 172.30.40.146] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 632 bytes) in /var/www/fog/lib/db/MySQL.class.php on line 72, referer: http://fogagh01/fog/management/index.php?node=group [Wed Jul 01 11:23:15 2015] [error] [client 172.30.40.146] File does not exist: /var/www/favicon.ico [Wed Jul 01 11:23:15 2015] [error] [client 172.30.40.146] File does not exist: /var/www/favicon.ico [Wed Jul 01 11:23:37 2015] [error] [client 172.30.40.146] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 632 bytes) in /var/www/fog/lib/db/MySQL.class.php on line 72, referer: http://fogagh01/fog/management/index.php?node=group [Wed Jul 01 11:24:05 2015] [error] [client 172.30.40.146] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 84 bytes) in /var/www/fog/lib/fog/FOGController.class.php on line 282, referer: http://fogagh01/fog/management/index.php?node=group [Wed Jul 01 11:24:13 2015] [error] [client 172.30.40.98] PHP Warning: Invalid argument supplied for foreach() in /var/www/fog/lib/fog/Host.class.php on line 514 [Wed Jul 01 13:39:33 2015] [error] [client 172.30.40.146] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 79 bytes) in /var/www/fog/lib/fog/FOGController.class.php on line 272, referer: http://fogagh01/fog/management/index.php?node=group [Wed Jul 01 13:40:35 2015] [notice] caught SIGTERM, shutting down PHP Warning: Module 'mysqlnd' already loaded in Unknown on line 0 [Wed Jul 01 13:40:38 2015] [notice] Apache/2.2.22 (Debian) PHP/5.4.41-0+deb7u1 mod_ssl/2.2.22 OpenSSL/1.0.1e configured -- resuming normal operations [Wed Jul 01 13:40:39 2015] [error] [client 172.30.60.58] File does not exist: /var/www/fog/service [Wed Jul 01 13:40:57 2015] [notice] caught SIGTERM, shutting down PHP Warning: Module 'mysqlnd' already loaded in Unknown on line 0 [Wed Jul 01 13:40:59 2015] [notice] Apache/2.2.22 (Debian) PHP/5.4.41-0+deb7u1 mod_ssl/2.2.22 OpenSSL/1.0.1e configured -- resuming normal operations [Wed Jul 01 13:41:23 2015] [error] [client 172.30.40.146] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes) in /var/www/fog/lib/db/MySQL.class.php on line 66, referer: http://fogagh01/fog/management/index.php?node=group [Wed Jul 01 13:50:21 2015] [error] [client 172.30.40.146] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes) in /var/www/fog/lib/fog/FOGController.class.php on line 81, referer: http://fogagh01/fog/management/index.php?node=group