Control Web Panel

WebPanel => CentOS-WebPanel GUI => Topic started by: PIdev on February 10, 2017, 12:07:04 AM

Title: functions.php is corrupt?
Post by: PIdev on February 10, 2017, 12:07:04 AM
Hi,

When I try to access web gui I get following:

Code: [Select]
Fatal error:
The encoded file /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php is corrupt. in Unknown on line 0

Few days ago I was using it, and it was working?!?
Reboot entire VPS did not helped.

Anybody have idea what could happen?
Title: Re: functions.php is corrupt?
Post by: Administrator on February 10, 2017, 08:08:08 AM
check you first line at that file
Title: Re: functions.php is corrupt?
Post by: PIdev on February 13, 2017, 09:13:40 AM
This is how first line looks like

(https://s23.postimg.org/3ygfpyoln/cwpsrv.jpg)
https://postimg.org/image/xdm3yyt53/
Title: Re: functions.php is corrupt?
Post by: Administrator on February 13, 2017, 11:20:45 AM
try running update
Code: [Select]
sh /scripts/update_cwp
Title: Re: functions.php is corrupt?
Post by: PIdev on February 18, 2017, 09:20:33 PM
Thank you for assistance!

Seems like update script was corrupted also... I was unable to run script
I have contacted my service provider and they restored cwp from backup

They had some malfunction on node where is my vps - and they also did some work on raid array... So I guess that's most likely caused issues