"Cannot create references" error
-
OK, so i stopped Apache, erased all php* packages, installed the php56-* packages in their place, and restarted Apache. Then i re-ran the Fog installer. And… it installed the original php* packages! So now i have 2 versions of PHP installed. And the old one takes precedence, so Fog is still not working.
I’ll try running the Fog installer again, but from a second terminal i’ll erase all the php* packages that the installer mistakenly installs and see if i can work around it that way.
-
I got the latest Fog installed! The work-around that i described a few minutes ago worked.
-
@dramaley,
As you’re using git, can you output the exact commands being used?
-
Also, if possible the current hash of the git pull?
-
Here is what i do to install Fog:
# cd fogproject # git pull # cd bin # ./installfog.sh
Is this what you mean by the hash?
# git rev-parse HEAD 8ca213b6efd9fdc7b5df63deeac3b9cfd7fc1be0
That was run in the fogproject directory.
-
Hello,
I have the same error, just after the step :-
You still need to install/update your database schema.
-
This can be done by opening a web browser and going to:
[root@fog fog]# tail /var/log/httpd/error_log -fn1
[Tue Feb 16 18:12:40 2016] [error] [client 192.168.222.174] PHP Fatal error: Cannot create references to elements of a temporary array expression in /var/www/html/fog/lib/fog/fogbase.class.php on line 134[root@fog fogproject]# git describe --tags
v1.3.0-beta.3510-2778-g0853fd[root@fog fogproject]# git log -1
commit 2db42ffc1d9ce960389ddcf4a2bd37e4d3443417
Merge: 9e9f7d3 0916fbd
Author: Tom Elliott tommygunsster@gmail.com
Date: Tue Feb 16 19:13:53 2016 -0500Merge svn with dev-branch
[root@fog fogproject]# git rev-parse HEAD
2db42ffc1d9ce960389ddcf4a2bd37e4d3443417 -
-
@Rico can you try the workaround steps @dramaley described? Your version of php is likely incorrect.
-
This post is deleted! -
This post is deleted! -
Just need to update /etc/yum.repos.d/remi.repo
[remi-php56]
…
enabled=1Regards,
Cédric -
@Rico so you’re good now?
-
@Tom-Elliott Yes, thank you.
Regards,
Cédric