Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: luis web on May 04, 2020, 01:45:20 AM

Title: I get updates on the server and it became a cause of problems and 27 sites destr
Post by: luis web on May 04, 2020, 01:45:20 AM
everything was fine .. I get updates on the server and it became a cause of problems and 27 sites destroyed ..

Does anyone have any idea of this problem ..

thanks for helping .. Without solving the problem I will abandon CWP.

I am tired of so much problem with CWP.


(https://1.bp.blogspot.com/-H0AgssBP4bs/Xq9xQnKXxsI/AAAAAAAAB_E/z2H4tzZAUN8FP9nSkuAr9poTmiMQL0kEACK4BGAsYHg/d/gfgfgh.png)
Title: Re: I get updates on the server and it became a cause of problems and 27 sites destr
Post by: luis web on May 04, 2020, 04:38:37 AM
(https://1.bp.blogspot.com/-X9klY4gITW8/Xq-be-cTBHI/AAAAAAAAB_g/RP2Zo-xSAJcRNWLM4CFv5gIg7D9a-tXJwCK4BGAsYHg/d/uyyu.png)
Title: Re: I get updates on the server and it became a cause of problems and 27 sites destr
Post by: rcschaff on May 04, 2020, 05:43:52 AM
/usr/local/cwpsrv/htdocs/resources/admin/include/version.php should have the following code.  If it doesn't exist, create it:

Code: [Select]
<?php
$webpanel_version 
"0.9.8.967";
?>

Title: Re: I get updates on the server and it became a cause of problems and 27 sites destr
Post by: luis web on May 04, 2020, 12:20:15 PM
/usr/local/cwpsrv/htdocs/resources/admin/include/version.php should have the following code.  If it doesn't exist, create it:

Code: [Select]
<?php
$webpanel_version 
"0.9.8.967";
?>


is this version code

<?php
$webpanel_version = "0.9.8.968";
?>


change to version you spoke about and received.
<?php
$webpanel_version = "0.9.8.967";
?>

 New Version Available

  I updated again
or shouldn't I update?
Title: Re: I get updates on the server and it became a cause of problems and 27 sites destr
Post by: rcschaff on May 04, 2020, 11:13:53 PM
Try to update again.  Odd that php reports it can't open the file if it does exist.  Can you do a ls -al. Of that directory
Title: Re: I get updates on the server and it became a cause of problems and 27 sites destr
Post by: luis web on May 05, 2020, 12:01:23 AM
Try to update again.  Odd that php reports it can't open the file if it does exist.  Can you do a ls -al. Of that directory

I think this is it

[root@serviot ~]# ls -al /usr/local/cwpsrv/htdocs/resources/admin/include/version.php
-rw-r----- 1 root root 42 May  5 01:06 /usr/local/cwpsrv/htdocs/resources/admin/include/version.php

if it is not
Please write the complete command.
Title: Re: I get updates on the server and it became a cause of problems and 27 sites destr
Post by: rcschaff on May 05, 2020, 12:03:53 AM
that's good.  So it's readable for sure.  Very odd that your getting any errors about that file.
Title: Re: I get updates on the server and it became a cause of problems and 27 sites destr
Post by: luis web on May 05, 2020, 12:45:29 AM
Try to update again.  Odd that php reports it can't open the file if it does exist.  Can you do a ls -al. Of that directory

today I received an email report with this
code below.
I have little experience .. I am more and more confident


<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Critical Error</title>
   
<style>
        body {
            margin: 30px 40px;
            background-color: #f6f6f6;
        }
        .error-container {
            padding: 50px 40px;
            font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
            font-size: 14px;
        }
        h1 {
            margin: 0;
            font-size: 48px;
            font-weight: 400;
        }
        h2 {
            margin: 0;
            font-size: 26px;
            font-weight: 300;
        }
        a {
            color: #336699;
        }
        p.back-to-home {
            margin-top: 30px;
        }
        p.debug{
            padding: 20px 0;
            font-family: "Courier New", Courier, monospace, serif;
            font-size: 14px;
        }
        .info {
            border: solid 1px #999;
            padding: 5px;
            background-color: #d9edf7;
        }
    </style>

  </head>
  <body>
    <div class="error-container"><h1>Critical Error</h1><p>Could not connect to the database.</p></div>
  </body>
</html>
Title: Re: I get updates on the server and it became a cause of problems and 27 sites destr
Post by: luis web on May 05, 2020, 05:06:54 PM
that's good.  So it's readable for sure.  Very odd that your getting any errors about that file.


thank you very much the problem solved with several CWP updates I think it is now stable ..


 Thank you for everything you have done for me, great friend of the forum .. thank you .. God help you in Double .. ..