New in CWP Edge / LTSFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers. Available now in the Edge-Latest and LTS-Stable versions. Discuss in the forum

LSPHP / Cache ›
CWP Secure KernelKernel-level protectionEvery site in its own sandbox

Every PHP site, cron job and SSH session runs in its own profile that the kernel enforces. A hacked WordPress cannot read other accounts’ files, and crypto miners and unexpected processes are stopped. Discuss in the forum

Secure Kernel ›
CWP DataCenter PanelFree for CWPpro serversAll your servers on one screen

Manage all your CWP servers from one panel: live health, every hosting account, CWP and OS updates on many servers at once, backups, SSL, firewall and Telegram alerts. Discuss in the forum

DataCenter Panel ›
CWP Backup ServerFree for CWPpro serversBackups that ransomware cannot reach

Protected backups of all your CWP servers on a separate machine. Snapshots a hosting server cannot delete, and restore of files, databases, mail and whole accounts in the admin and user panel. Discuss in the forum

Backup Server ›
WordPress ManagerIncluded & freeWordPress managed from the panel

Install, secure, update, back up and clone WordPress sites without FTP. Updates are tested on a staging clone first and applied to the live site only when they pass, with a backup taken first. Discuss in the forum

WordPress Manager ›
CWP CageIsolationEvery account in its own cage

Per-account isolation built from Linux namespaces and cgroups. A break-in or a runaway script on one site cannot reach another account, the panel or the rest of the server; resource limits per hosting package. Discuss in the forum

CWP Cage ›
Script InstallerOne-click appsWordPress, Joomla, Moodle and more in one click

CWP’s own script installer in the user panel: pick an app, choose the domain and folder, and it is live in seconds with its database and admin login created automatically. Ready for LSPHP and LSAPI-Cache. Discuss in the forum

Script Installer ›
DNS ClusterFor every control panelOne DNS cluster for all your servers

Your servers keep creating domains as usual; the zones are collected into one authoritative PowerDNS cluster you control, with DNSSEC, roles and a full activity trail. Accepts CWP, cPanel, Plesk, DirectAdmin and BIND. Discuss in the forum

DNS Cluster ›
CWP BillingFree to useBilling and support system for hosting providers

Clients, services, invoices, payments, domains, server provisioning and support tickets in one place. All gateways, server modules and registrars are free, with free migration from WHMCS, ClientExec and Blesta. Discuss in the forum

CWP Billing ›
CWPproFrom $1.49 per monthEvery CWP feature unlocked

CWPpro is the professional version of Control Web Panel: all features, unlimited accounts, the latest CWP version and security fixes first. $1.49 per month or $11.99 per year. Discuss in the forum

Get CWPpro ›

[ERROR] CWP Admin - HTTP 500 - Expired

Started by eluanb, August 27, 2018, 12:42:47 PM

Previous topic - Next topic

eluanb

I'm in version 0.9.8.350.

When accessing CWP Admin I got 500 HTTP error.

In the log file:


2018/08/27 09:08:32 [error] 3757#0: *6 FastCGI sent in stderr: "PHP message: PHP Fatal error:  <br>The encoded file <b>/usr/local/cwpsrv/htdocs/admin/index.php</b> has expired. in Unknown on line 0" while reading response header from upstream, client: IP, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "URL:2030"



When trying to upgrade, I have the following return:

sh / usr / local / cwpsrv / htdocs / resources / scripts / update_cwp

PHP Fatal error:
The encoded file /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php has expired.
in Unknown on line 0


How to adjust this error?

Sandeep

Either reinstall the server with centos 7 and cwp7 or contact us via support portal for the investigations and resolving the issue.

alioke

I have this problem also, have u already solved this problem?
Quote from: eluanb on August 27, 2018, 12:42:47 PM
I'm in version 0.9.8.350.

When accessing CWP Admin I got 500 HTTP error.

In the log file:


2018/08/27 09:08:32 [error] 3757#0: *6 FastCGI sent in stderr: "PHP message: PHP Fatal error:  <br>The encoded file <b>/usr/local/cwpsrv/htdocs/admin/index.php</b> has expired. in Unknown on line 0" while reading response header from upstream, client: IP, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "URL:2030"



When trying to upgrade, I have the following return:

sh / usr / local / cwpsrv / htdocs / resources / scripts / update_cwp

PHP Fatal error:
The encoded file /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php has expired.
in Unknown on line 0


How to adjust this error?

alioke

Finally i solve this problems already.
just update your file /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php and /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php

and then do the command "sh update_cwp"

SeemOn

Quote from: alioke on September 21, 2018, 10:40:26 AM
Finally i solve this problems already.
just update your file /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php and /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php

and then do the command "sh update_cwp"

How did you update those files? :)

webinver

Quote from: SeemOn on November 08, 2018, 05:44:52 PM
Quote from: alioke on September 21, 2018, 10:40:26 AM
Finally i solve this problems already.
just update your file /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php and /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php

and then do the command "sh update_cwp"

How did you update those files? :)

Copy those files from a fresh version installed into VirtualBox or any other source... Works for me!


studio4host

You can run this code on your server to get you centos 6 updated to the newer version
These instructions are only for version  0.9.8.350

sed -i "s/php54/php71/g" /etc/cron.daily/cwp
chattr -i -R /usr/local/cwpsrv/htdocs/admin
cd /usr/local/cwpsrv/htdocs

wget dl1.centos-webpanel.com/files/cwp/cwp2-0.9.8.538.zip
unzip -o cwp2-0.9.8.538.zip
rm -f cwp2-0.9.8.538.zip

cd /usr/local/cwpsrv/var/services/
wget dl1.centos-webpanel.com/files/cwp/el7/cwp-services.zip
unzip -o cwp-services.zip
rm -f cwp-services.zip


VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

anhtn

Step by step, I run the command:
chattr -i -R /usr/local/cwpsrv/htdocs/admin
and it display this information:
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/htdocs/admin/user/design
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/htdocs/admin/login/design
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/htdocs/admin/admin/design

Does it wrong? It's still not working :(

mopa9000

Quote from: anhtn on March 07, 2019, 01:49:53 AM
Step by step, I run the command:
chattr -i -R /usr/local/cwpsrv/htdocs/admin
and it display this information:
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/htdocs/admin/user/design
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/htdocs/admin/login/design
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/htdocs/admin/admin/design

Does it wrong? It's still not working :(

Either reinstall the server with centos 7 and cwp7 or contact us via support portal for the investigations and resolving the issue.