PHP Warning

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Post Reply
nuria.rojo21
Posts: 2
Joined: Wed Apr 22, 2020 11:02 am

PHP Warning

Post by nuria.rojo21 » Wed Apr 22, 2020 11:26 am

Hello,

I have uploaded the images following the procedure but when I try and fix the permissions the following error appears:

root@eve-ng:~# /opt/unetlab/wrappers/unl_wrapper -a fixpermissions
PHP Warning: file_get_contents(/opt/unetlab/platform): failed to open stream: No such file or directory in /opt/unetlab/html/includes/init.php on line 71

I have not change anything from the init.php file. Do you know where the problem can be?

Uldis (UD)
Posts: 5080
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: PHP Warning

Post by Uldis (UD) » Thu Apr 23, 2020 5:47 am

yes, corrupted eve file system
use
update/upgrade for eve.
follow our advice how to upgrade latest version.
EVE WEB main page for Pro version

nuria.rojo21
Posts: 2
Joined: Wed Apr 22, 2020 11:02 am

Re: PHP Warning

Post by nuria.rojo21 » Fri Apr 24, 2020 8:25 am

I have update/upgrade and follow the advice to upgrade to the latest version but the PHP Warning still apears.

Uldis (UD)
Posts: 5080
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: PHP Warning

Post by Uldis (UD) » Fri Apr 24, 2020 11:23 am

Come to EVE live ctat, over here no one will sort up your issue...

https://www.eve-ng.net/index.php/live-helpdesk/

use gmail to join.
Our EVE experts can jin remotely and fix you.
But your eve has been changed internal files, added wrong templates, or copied content ofer using wrong backup

see you in live support

sam666
Posts: 1
Joined: Thu Apr 30, 2020 5:20 am

Re: PHP Warning

Post by sam666 » Thu Apr 30, 2020 5:51 am

I have the same issue with EVE-NG Community release 2.0.3-110. I have tried the following:

Running on ESXI on the same host that has a working older eve-ng(2.0.3-95):

- Fresh reinstall of OS
- Update/Upgrade followed by reboot

dpkg -l eve-ng
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=====================-===============-===============-===============================================
ii eve-ng 2.0.3-110 amd64 A new generation software for networking labs.

/opt/unetlab/wrappers/unl_wrapper -a fixpermissions
PHP Warning: file_get_contents(/opt/unetlab/platform): failed to open stream: No such file or directory in /opt/unetlab/html/includes/init.php on line 71

Would appreciate if you can post the solution or remedy to this thread. Appreciate your help!

andreshb
Posts: 1
Joined: Tue Sep 08, 2020 3:19 am

Re: PHP Warning

Post by andreshb » Tue Sep 08, 2020 4:27 am

hi community! I have the same issue, somebody can solve that?

Garrett
Posts: 1
Joined: Wed Nov 11, 2020 11:49 pm

Re: PHP Warning

Post by Garrett » Wed Nov 11, 2020 11:58 pm

I've encountered same problem and thanks to great support from live chat that error means your machine does not support hardware acceleration. You can check it running
`root@eve-ng:~# kvm-ok` on the machine and output will look like this:
```
INFO: Your CPU does not support KVM extensions
KVM acceleration can NOT be used
```
If you use Google Cloud you need to use Skylake or Cascade processor (N1 or N2)

tapki
Posts: 1
Joined: Sun Jan 22, 2023 6:00 am

Re: PHP Warning

Post by tapki » Sun Jan 22, 2023 6:03 am

Hi guys, i just switch this on vmware and this works
You do not have the required permissions to view the files attached to this post.

Post Reply