Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - alireza_salehi

Pages: [1]
LiteSpeed / Re: OpenLiteSpeed
« on: April 28, 2020, 08:27:31 AM »
please support OpenLiteSpeed

CentOS-WebPanel Bugs / CWP Upgrade erorr
« on: April 27, 2020, 05:49:50 AM »
there is an upgrade notice in admin panel , when i clicked on it i says successfully updated, bu that notice shows again an d again.

i tried to run "sh /scripts/update_cwp"

this error happens:

Code: [Select]
PHP Fatal error:  The file /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php was encoded by the ionCube Encoder for PHP 5.6 and cannot run under PHP 7.1 or later.
 Please ask the provider of the script to provide a version encoded with the ionCube Encoder for PHP 7.1. in Unknown on line 0

then i restarted the server , now admin and user panel wont work and just showing a white page!

CWP version:

CentOS 7 Problems / how to create cron job with date parameters
« on: January 14, 2020, 07:29:25 AM »
i want to create cron job like this from user panel:

Code: [Select]
mysqldump -u uuuu -pxxx --default-character-set=utf8 myuser_db | gzip > /home/myuser/backups/db-`date +\%Y\%m\%d-\%H\%M`.sql.gz
but date parameters never works and i see db-{Q3}.sql.gz in output folder,
how can i create a cron job inside user panel with date parameters and formatting?

Pages: [1]