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.
121
CentOS-WebPanel GUI / explorer file manager installed but throw http error 500 this page isn't working
« on: May 15, 2019, 11:01:42 PM »
from a user account i clicked on the installer for "Explorer File Manager"
ie dashboard>addons>explorer file manager
[INSTALLED]
SUCCESS! eXtplorer installed, now you can access it via web: http://domain.com/filemanager/ !
I click the link and get a http error 500 "this page isnt working" error.
what is the problem here? Doesnt this work in CWP?
ie dashboard>addons>explorer file manager
[INSTALLED]
SUCCESS! eXtplorer installed, now you can access it via web: http://domain.com/filemanager/ !
I click the link and get a http error 500 "this page isnt working" error.
what is the problem here? Doesnt this work in CWP?
122
Information / addon domain temporary url not working
« on: May 15, 2019, 10:57:34 PM »
i have created an addon domain in CWP so that i can use it to make a permanent location for 301 redirects from an old .com website to a new .com.au website.
The CWP account is created for the new website and resides in /home/public_html/wordpress with htaccess and index.php in public_html/ (web root directory)
So in dashboard>domains>domains>add domain
creted a new addon domain... /home/user/public_html/domain.com
I created a new index.html file and inserted into /home/user/public_html/domain.com/index.html
My understanding is that to access a temporary URL (when zone records are not yet created for the addon domain) one navigates to
http/s://ipaddress/~username
however, how does one access the addon domain url?
typing http/s://ipaddress/~username/foldername/index.html gives a 404 error in browser
And to add to the above error, CWP is referencing the wordpress htaccess and index.php for the .com.au website from the public_html web root (and trying to load pages from that site instead of the addon domain website)
Obviously i am doing something wrong but I am not sure what that is?
The CWP account is created for the new website and resides in /home/public_html/wordpress with htaccess and index.php in public_html/ (web root directory)
So in dashboard>domains>domains>add domain
creted a new addon domain... /home/user/public_html/domain.com
I created a new index.html file and inserted into /home/user/public_html/domain.com/index.html
My understanding is that to access a temporary URL (when zone records are not yet created for the addon domain) one navigates to
http/s://ipaddress/~username
however, how does one access the addon domain url?
typing http/s://ipaddress/~username/foldername/index.html gives a 404 error in browser
And to add to the above error, CWP is referencing the wordpress htaccess and index.php for the .com.au website from the public_html web root (and trying to load pages from that site instead of the addon domain website)
Obviously i am doing something wrong but I am not sure what that is?
123
CentOS-WebPanel GUI / Wordpress Duplicator Zip archive upload complete...but where is the file?
« on: May 15, 2019, 10:12:36 AM »
hi guys,
i have used the wordpress duplicator plugin to upload a wordpress site to the CWP server.
The install has two files...
1. installer
2. zip archive.
I have uploaded both in CWP, however, the zip archive isnt there. I have looked in both GUI and via putty.
What has CWP done with it?
I note the following forum post about zip archives from over 3 years ago...https://forum.centos-webpanel.com/informations/there-is-a-way-to-upload-zip-file-and-easily-unzip-them/
We were told by the administrator back then that a new version of CWP would have this capability. So in 3 years has it been resolved?
i have used the wordpress duplicator plugin to upload a wordpress site to the CWP server.
The install has two files...
1. installer
2. zip archive.
I have uploaded both in CWP, however, the zip archive isnt there. I have looked in both GUI and via putty.
What has CWP done with it?
I note the following forum post about zip archives from over 3 years ago...https://forum.centos-webpanel.com/informations/there-is-a-way-to-upload-zip-file-and-easily-unzip-them/
We were told by the administrator back then that a new version of CWP would have this capability. So in 3 years has it been resolved?
124
CentOS-WebPanel GUI / CWP Directory Structure Not Alphabetical
« on: May 15, 2019, 01:21:26 AM »
Hi guys,
In my CWP file manager, the directory structure is a disorganised mess. This is the only control panel i have used where this is an issue.
How do i fix this? (see image URL below for illustration)
https://drive.google.com/file/d/1SPSaL0PDflXraugTRUU7f5Il_HzR92Oi/view?usp=sharing
In my CWP file manager, the directory structure is a disorganised mess. This is the only control panel i have used where this is an issue.
How do i fix this? (see image URL below for illustration)
https://drive.google.com/file/d/1SPSaL0PDflXraugTRUU7f5Il_HzR92Oi/view?usp=sharing
125
CentOS 7 Problems / Re: User Quotas was working, now it is not working
« on: May 15, 2019, 01:11:54 AM »
I fixed it.
Not sure exactly how i did it though???
I think this has stopped working after i added the swap file functionality to the server yesterday?
Anyway, what i have now done is edited the /etc/fstab file and made it look like below and it seems to be working now...
I am not sure if the swapfile reference is allowed to be on a separate line?
Not sure exactly how i did it though???
I think this has stopped working after i added the swap file functionality to the server yesterday?
Anyway, what i have now done is edited the /etc/fstab file and made it look like below and it seems to be working now...
Quote
#
# /etc/fstab
# Created by anaconda on Wed Dec 5 17:22:51 2018
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(, mount( and/or blkid( for more info
#
UUID=19c82273-828c-4d85-bc4e-6fc269acc524 / ext4 usrjquota=quota.user,jqfmt=vfsv0 1 1
/swapfile1 none swap 0 0
I am not sure if the swapfile reference is allowed to be on a separate line?
126
CentOS 7 Problems / User Quotas was working, now it is not working
« on: May 15, 2019, 01:00:22 AM »
hi guys,
I originally setup user quotas with CWP PRO.
1. All of a sudden, Dashboard>User Accounts> Disk usage is blank.
2. Also, dashboard>Packages>List Packages> Edit Package>Save produces the following...
Notice: Undefined index: package_name in /usr/local/cwpsrv/htdocs/resources/admin/modules/edit_package.php on line 0
Notice: Undefined index: update_users in /usr/local/cwpsrv/htdocs/resources/admin/modules/edit_package.php on line 0
Dashboard>User Accounts User Quota shows the following output (the 2 in bold are the user accounts where above issue is noticed in dashboard statistics)
*** Report for user quotas on device /dev/vda1
Block grace time: 7days; Inode grace time: 7days
Space limits File limits
User used soft hard grace used soft hard grace
----------------------------------------------------------------------
root -- 5485M 0K 0K 113k 0 0
nobody -- 11624K 0K 0K 100 0 0
polkitd -- 8K 0K 0K 2 0 0
ntp -- 8K 0K 0K 2 0 0
postfix -- 164K 0K 0K 70 0 0
chrony -- 12K 0K 0K 3 0 0
mysql -- 202M 0K 0K 284 0 0
dovecot -- 4K 0K 0K 1 0 0
tss -- 12K 0K 0K 2 0 0
named -- 260K 0K 0K 10 0 0
cwpsrv -- 0K 0K 0K 2 0 0
cwpsvc -- 97540K 0K 0K 8913 0 0
login -- 8K 0K 0K 3 0 0
clamupdate -- 232M 0K 0K 5 0 0
amavis -- 16K 0K 0K 4 0 0
vmail -- 116K 0K 0K 6 0 0
vacation -- 8K 0K 0K 3 0 0
nginx -- 4K 0K 0K 2 0 0
varnish -- 82372K 0K 0K 52 0 0
rpc -- 4K 0K 0K 2 0 0
netdata -- 39752K 0K 0K 2724 0 0
redre -- 550M 1000M 1000M 13311 0 0
adamj -- 52K 0K 0K 19 0 0
#2670612 -- 400K 0K 0K 71 0 0
#1000 -- 888K 0K 0K 103 0 0
#119 -- 9844K 0K 0K 366 0 0
Can someone explain what is causing this?
I originally setup user quotas with CWP PRO.
1. All of a sudden, Dashboard>User Accounts> Disk usage is blank.
2. Also, dashboard>Packages>List Packages> Edit Package>Save produces the following...
Notice: Undefined index: package_name in /usr/local/cwpsrv/htdocs/resources/admin/modules/edit_package.php on line 0
Notice: Undefined index: update_users in /usr/local/cwpsrv/htdocs/resources/admin/modules/edit_package.php on line 0
Dashboard>User Accounts User Quota shows the following output (the 2 in bold are the user accounts where above issue is noticed in dashboard statistics)
*** Report for user quotas on device /dev/vda1
Block grace time: 7days; Inode grace time: 7days
Space limits File limits
User used soft hard grace used soft hard grace
----------------------------------------------------------------------
root -- 5485M 0K 0K 113k 0 0
nobody -- 11624K 0K 0K 100 0 0
polkitd -- 8K 0K 0K 2 0 0
ntp -- 8K 0K 0K 2 0 0
postfix -- 164K 0K 0K 70 0 0
chrony -- 12K 0K 0K 3 0 0
mysql -- 202M 0K 0K 284 0 0
dovecot -- 4K 0K 0K 1 0 0
tss -- 12K 0K 0K 2 0 0
named -- 260K 0K 0K 10 0 0
cwpsrv -- 0K 0K 0K 2 0 0
cwpsvc -- 97540K 0K 0K 8913 0 0
login -- 8K 0K 0K 3 0 0
clamupdate -- 232M 0K 0K 5 0 0
amavis -- 16K 0K 0K 4 0 0
vmail -- 116K 0K 0K 6 0 0
vacation -- 8K 0K 0K 3 0 0
nginx -- 4K 0K 0K 2 0 0
varnish -- 82372K 0K 0K 52 0 0
rpc -- 4K 0K 0K 2 0 0
netdata -- 39752K 0K 0K 2724 0 0
redre -- 550M 1000M 1000M 13311 0 0
adamj -- 52K 0K 0K 19 0 0
#2670612 -- 400K 0K 0K 71 0 0
#1000 -- 888K 0K 0K 103 0 0
#119 -- 9844K 0K 0K 366 0 0
Can someone explain what is causing this?
127
CentOS-WebPanel Bugs / Re: WHMCS Module has an error
« on: May 14, 2019, 07:41:22 AM »
That is what this forum is for yes? It is titled "Centos Web Panel Bugs"
There isnt a bug forum for anything else, so this is the best option we have available at this time.
I am not interested in posting a private message via the contact form...no one else has any idea that someone else has a similar problem if such things are not posted publicly.
I have gone into the WHMCS CWP module and altered the php code myself in order to correct part of the problem at my end...so realistically, i wont have to do anything else until a module update is released (hopefully at that time the issue will have been corrected anyway).
What is dissapointing about this issue, there is absolutely no way that whoever wrote the module could not have known about this...one of the very things one does from within whmcs after installing the module and adding a server, is clicking on the "control panel" link to see if the module works!
Another example of very poor development strategy...ie "the right hand doesnt know what the left hand is doing" (this has been a regular complaint about CWP from the get go...no continuity in development! Little bugs that pre release testing should have found are not found, so called "fixes" dont work....
Anyway, the client interface is pretty at least even if what is beneath is as dumb as nuts! Isnt this where "Blonde jokes" came from?
There isnt a bug forum for anything else, so this is the best option we have available at this time.
I am not interested in posting a private message via the contact form...no one else has any idea that someone else has a similar problem if such things are not posted publicly.
I have gone into the WHMCS CWP module and altered the php code myself in order to correct part of the problem at my end...so realistically, i wont have to do anything else until a module update is released (hopefully at that time the issue will have been corrected anyway).
What is dissapointing about this issue, there is absolutely no way that whoever wrote the module could not have known about this...one of the very things one does from within whmcs after installing the module and adding a server, is clicking on the "control panel" link to see if the module works!
Another example of very poor development strategy...ie "the right hand doesnt know what the left hand is doing" (this has been a regular complaint about CWP from the get go...no continuity in development! Little bugs that pre release testing should have found are not found, so called "fixes" dont work....
Anyway, the client interface is pretty at least even if what is beneath is as dumb as nuts! Isnt this where "Blonde jokes" came from?
128
CentOS-WebPanel Bugs / WHMCS Module has an error
« on: May 12, 2019, 11:30:00 AM »
Hi guys,
I realise this probably isnt directly a CWP interface bug, however, i dont know where else to put it so that someone fixes the issue.
In the WMCS module the following code contains an error...
Two problems
Problem 1. The WHMCS module php code AdminLink URL is incorrect and returns a 404 error for the admin page
running this from inside WHMCS produces a 404 error because the URL /login.php doesnt exist. Below is an image of the area in WHMCS where this action is performed and the inspect element alongside...https://drive.google.com/open?id=1JBXZcQjyxgEEpr_uQHad3jZsKX6uagDF
When i manually go to the login page of CWP, the URL is https://..../login/index.php
So, unless there is a better fix for this, the solution for now is to use the following corrected code...
Problem 2
The module copies root user name and password into the web browser which is visible in the inspect element in google chrome (personally i think that is a bad idea there is no reason for this to be passed across to the browser from WHMCS). However, with the incorrect URL issue above, this is not working anyway...so it should be removed from the php code in the module! (which i have not done yet, but i will on my version)
I realise this probably isnt directly a CWP interface bug, however, i dont know where else to put it so that someone fixes the issue.
In the WMCS module the following code contains an error...
Two problems
Problem 1. The WHMCS module php code AdminLink URL is incorrect and returns a 404 error for the admin page
Quote
function cwp7_AdminLink($params) {
$code = '<form action="https://'.$params["serverhostname"].':2031/login.php" method="post" target="_blank">
<input type="hidden" name="user" value="'.$params["serverusername"].'" />
<input type="hidden" name="password" value="'.$params["serverpassword"].'" />
<input type="submit" value="Login to Control Panel" />
</form>';
running this from inside WHMCS produces a 404 error because the URL /login.php doesnt exist. Below is an image of the area in WHMCS where this action is performed and the inspect element alongside...https://drive.google.com/open?id=1JBXZcQjyxgEEpr_uQHad3jZsKX6uagDF
When i manually go to the login page of CWP, the URL is https://..../login/index.php
So, unless there is a better fix for this, the solution for now is to use the following corrected code...
Quote
function cwp7_AdminLink($params) {Which takes the admin user to the CWP login screen.
$code = '<form action="https://'.$params["serverhostname"].':2031/login/index.php" method="post" target="_blank">
<input type="hidden" name="user" value="'.$params["serverusername"].'" />
<input type="hidden" name="password" value="'.$params["serverpassword"].'" />
<input type="submit" value="Login to Control Panel" />
</form>';
Problem 2
The module copies root user name and password into the web browser which is visible in the inspect element in google chrome (personally i think that is a bad idea there is no reason for this to be passed across to the browser from WHMCS). However, with the incorrect URL issue above, this is not working anyway...so it should be removed from the php code in the module! (which i have not done yet, but i will on my version)
129
Information / [error] 1920#0: *8746 toastr/toastr.min.js failed to start
« on: May 11, 2019, 03:33:41 AM »
what is causing this error?
Is this a bug...i havent a clue what toastr is? I certainly didnt install it!
Is this a bug...i havent a clue what toastr is? I certainly didnt install it!
130
CentOS-WebPanel GUI / Re: Blesta Module Suspended/Cancelled CWP User Account. How do i override this?
« on: May 08, 2019, 07:13:39 AM »
Hi and thanks for your answer...
I have fixed the problem by resetting the password in CWP as root user. The account is now unsuspended.
Now all that is required is for me to figure out how to relink this account with Blesta Billing via the API (after Blesta cancelled the account it severed the link...so according to Blesta developers, i would need to create a new account in Blesta).
What worries me is that Blesta might stuff this all over again when it tries to run the cron and add a new account to CWP...which is an account that is now active on CWP?
I have fixed the problem by resetting the password in CWP as root user. The account is now unsuspended.
Now all that is required is for me to figure out how to relink this account with Blesta Billing via the API (after Blesta cancelled the account it severed the link...so according to Blesta developers, i would need to create a new account in Blesta).
What worries me is that Blesta might stuff this all over again when it tries to run the cron and add a new account to CWP...which is an account that is now active on CWP?
131
CentOS-WebPanel Bugs / Root cannot download zip files from suspended User Accounts
« on: May 07, 2019, 01:12:18 PM »
this is most definitely a serious concern.
I use blesta billing for automatically provisioning of services for this CWP server.
A few days ago, Blesta did something i was not expecting and automatically canceled a live user account on this CWP server.
Fortunately, CWP did not delete the service...which has remained a functioning website, however, any user interaction with CWP is met with the "account suspended" notice when attempting to login.
Root CWP user can still see and interact with the file manager however, zip files cannot be downloaded from the suspended user account.
Root user is able to upload and download normal files without issue...just not zip files.
Root is also able to download a backup of the mysql database from suspended account with phpmyadmin.
Can someone else check this to see if they also experience this problem...or if its just my system.
I use blesta billing for automatically provisioning of services for this CWP server.
A few days ago, Blesta did something i was not expecting and automatically canceled a live user account on this CWP server.
Fortunately, CWP did not delete the service...which has remained a functioning website, however, any user interaction with CWP is met with the "account suspended" notice when attempting to login.
Root CWP user can still see and interact with the file manager however, zip files cannot be downloaded from the suspended user account.
Root user is able to upload and download normal files without issue...just not zip files.
Root is also able to download a backup of the mysql database from suspended account with phpmyadmin.
Can someone else check this to see if they also experience this problem...or if its just my system.
132
CentOS-WebPanel GUI / Re: Blesta Module Suspended/Cancelled CWP User Account. How do i override this?
« on: May 07, 2019, 11:59:47 AM »
when you say try to run directly API function Unsuspend...
How would i do that? (I cant do it from the Billing program...it doesnt have the ability to uncancel a service it has cancelled)
If i edit the database directly...what table and field would i need to edit?
Could i just make a backup of the domain on the CWP server, delete the user account, create a new account with the same name, the re-import domain files?
Surely their has to be an easy way of editing the database though...can that be done via phpmyadmin, or do i have to do it from Putty?
How would i do that? (I cant do it from the Billing program...it doesnt have the ability to uncancel a service it has cancelled)
If i edit the database directly...what table and field would i need to edit?
Could i just make a backup of the domain on the CWP server, delete the user account, create a new account with the same name, the re-import domain files?
Surely their has to be an easy way of editing the database though...can that be done via phpmyadmin, or do i have to do it from Putty?
133
CentOS-WebPanel GUI / Blesta Module Suspended/Cancelled CWP User Account. How do i override this?
« on: May 04, 2019, 10:57:32 PM »
Hi guys,
I run Blesta automatic provisioning module so that from another webserver, i can automatically sell services on this CWP instance.
A few days ago, the module went crazy and cancelled a user account service on this CWP instance.
Even though the account was cancelled, the service has continued to work on CWP ...so its wordpress installation remains unaffected and functions as normal.
The Blesta module has stopped communicating with CWP and now i need to manually override what Blesta has done.
If the user attempts to log into CWP https://<url or ip address>:2083, it returns "Account Suspended"
However, when i go into the CWP Admin Dashboard>User Accounts>List Accounts>Account Actions...the slider is green (meaning account is not suspended...ie its active)
How can i manually fix this in CWP?
I run Blesta automatic provisioning module so that from another webserver, i can automatically sell services on this CWP instance.
A few days ago, the module went crazy and cancelled a user account service on this CWP instance.
Even though the account was cancelled, the service has continued to work on CWP ...so its wordpress installation remains unaffected and functions as normal.
The Blesta module has stopped communicating with CWP and now i need to manually override what Blesta has done.
If the user attempts to log into CWP https://<url or ip address>:2083, it returns "Account Suspended"
However, when i go into the CWP Admin Dashboard>User Accounts>List Accounts>Account Actions...the slider is green (meaning account is not suspended...ie its active)
How can i manually fix this in CWP?
134
CentOS-WebPanel GUI / Re: dashboard>User Accounts>List Accounts>Open UserDir returns Nginx 404 Not Found
« on: May 04, 2019, 10:50:37 PM »
ahhhh yes that worked.
thank you
thank you
135
CentOS-WebPanel GUI / Re: Can Not Log in Client Side
« on: May 04, 2019, 10:49:25 PM »
yep username with too many characters was the solution for me as well.
Something that needs addressing in CWP!
Something that needs addressing in CWP!