I don't know what am missing
-
@tesparza First of all have mercy on an old guy with bad eyes, that is really small text.
Second that appears to be an error in the code, or something didn’t install correctly.
What version of FOG did you install?Never mind I just reread the post -
@george1421 I turned off the firewall disable and stop. Still not working
-
@tesparza Well I looked in the code and that & is in my code too, but I don’t understand the coding well enough to why its complaining.
foreach ((array)$paths as &$element) { $allpaths[] = dirname($element[0]); unset($element); }
-
@george1421 I got no errors on the installation, i restarted httpd but still nothing
-
@tesparza I’m still trying to find the answer. Looking at the code it appears like a configuration value either is blank or not there. I’m not good at the code. But I’ll keep looking. We may need to get one of the developers involved since this is a bit above my pay grade.
-
@george1421 Awesome! I will keep checking back and trying new things. Server is at my school but ill remote to it from home to try out different stuff. Shift is about to end.
-
@tesparza Yeah I have to hop off for a while too. One thing that might be interesting to know is the contents of the hidden file “/var/opt/fog/.fogsettings” That would contain the answers to the questions asked during FOG installation. If you can connect to your fog server using putty, and then edit the file. Putty will allow you to copy and paste text better than screen shots.
-
@tesparza You need at least PHP version 5.2 or you see exactly the error about
unexpected '&'
…What do you get when running
rpm -qa | grep php
?Something went wrong with your installation, I am fairly sure. It should install PHP 7 on CentOS from external repos. But seems like this has not happened in your case.
-
@sebastian-roth PHP 5.6 should be what’s required.
-
@Tom-Elliott Ah yeah, you are right. Seems like I had a typo in my post. You need at least PHP 5.6…
-
@sebastian-roth
[tesparza@localhost ~]$ rpm -qa | grep php
php-common-5.4.16-43.el7_4.x86_64
php-fpm-5.4.16-43.el7_4.x86_64
php-mysqlnd-5.4.16-43.el7_4.x86_64
php-cli-5.4.16-43.el7_4.x86_64
php-bcmath-5.4.16-43.el7_4.x86_64
php-gd-5.4.16-43.el7_4.x86_64
php-mbstring-5.4.16-43.el7_4.x86_64
php-pdo-5.4.16-43.el7_4.x86_64
php-process-5.4.16-43.el7_4.x86_64
php-5.4.16-43.el7_4.x86_64
php-ldap-5.4.16-43.el7_4.x86_64
php-mcrypt-5.4.16-7.el7.x86_64Thats what it gives me
-
@george1421 It says no file directory found. I’m thinking its because i havent finished the installation I’m still stuck on the schema creation part I dont want to move on until i get the web interface working
-
@tom-elliott I see that I think I have 5.4, how do I update it to 5.6 on CentOS
-
@tom-elliott Working, it was PHP. I had PHP 5.4 so i uninstalled it and install 5.6 and restarted apache2 and it gave me the webpage and was able to install/ update schema. THank you so much for the help guys!