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 - raylee

Pages: [1]
Scripts / Re: StingRay's Dark Theme for CWP
« on: October 30, 2017, 10:33:26 AM »
Sorry for the late reply Darkness. You'd have to find custom.css in /usr/local/cwpsrv/htdocs/admin/design/css and you have to place any custom.css changes there. That's what my script does. If it worked for darkroom, should work for you too?

Scripts / Re: StingRay's Dark Theme for CWP
« on: October 01, 2017, 03:02:50 PM »
chattr -i or rf -rf custom.css entirely,

then run the script

Scripts / StingRay's Dark Theme for CWP
« on: September 27, 2017, 07:08:08 PM »
Looking for a dark theme but can't find one, or you can't seem to override the hardcoded styles that the developers have purposely have you wait for a themeing solution? Well, I made a little script that accomplishes this, which you can run each time CWP gets updated and rewrites over your custom.css.

Head over to my Github:

PHP / Re: error: PDO_MYSQL configure failed, MySQL 4.1 needed
« on: July 18, 2017, 05:14:51 PM »
Simply replace flag --with-pdo-mysql=/usr with --with-pdo-mysql=mysqlnd  ;)

PHP / Re: PHP selector - PHP 7
« on: January 29, 2017, 05:56:09 PM »
I made this work in CWP7 for PHP7 by replacing the flag --with-pdo-mysql=/usr with --with-pdo-mysql=mysqlnd

Suggestions / Re: AWstats
« on: June 20, 2016, 10:31:23 AM »
this will be added...but there is no release date for it at the moment.

--- sigh, don't you think that many just don't get the effort involved in design and programming, and want the bells and whistles way before the usefulness of a piece of software??? That said, I do like the way this project is slowly turning out. Well done!136

Hi Sandeep,

Actually I thought about the logic trying it the way you mentioned. I checked out the original error message indicating a problem with the /usr/local/cwpsrv/htdocs/admin/index.php file on line 5. So I tried viewing the file and discovered it was an encrypted one, although I did not recognize the technology. Regardless, I figured that if I did a minimal Centos 6 install (which already was because it is a hosting provider servlet template), any proprietary encryption techniques wouldn't be immediately installed which wasn't for Centos Web Panel.

Nevertheless, it was probably something that kept interfering with the encryption when trying to login ( Initially I tried this, and was confident it would help, but it didn't and the same error persisted no matter how many times I rebuild the server with the servlet template that worked a few months ago.

Then I realized that one external factor that my servlet offered was to enable you to generate and use an SSH key pair, and I noticed that it could have negative effect if it required a decryption procedure to figure out the root password before allowing you to successfully logon to CWP. And this was probably associated with this mysterious encrypted class.

So, before rebuilding the server again, I removed all SSH key pairs I had. Then after rebuilding, I went about the normal prescribed way of updating the server,mysql and installing CWP with MariaDB.

And that worked!!!

Anyway, thanks for your suggestions and prompt replies.

Ray Lee

Hi Sandeep,

I want to install (and actually when I installed it previously I was 100% successful at it):

  • Centos Web Panel
  • with mySQL updated to at least v5.5.50 first
  • then with MariaDB v10.1+ when CWP is compiled

I have achieved much more before. Let's keep it simple for now. All I want to do is to figure out why even after 5 compiles I cannot get CWP to even start.

Ray Lee

Hosting Provider:
with template CentOS 6.7 (64-bit) + CentOS Web Panel 20160221
(recent issue after rebuilding the same template with steps that worked before and updated perfectly)
- have tried to resolve this 3x by rebuilding with additional precautions each time without success

Most recent unsuccessful rebuild:

1. yum -y update
2. Steps taken first to update mySQL 5.1 to 5.6
3. Then upgraded mySQL before restarting
4. Installed CWP-latest with MariaDB switch - completes without errors
5. After reboot,
6. yum -y update again
7. Do do upgrade_mysql again (forced) before restarting mysqld and cwpsrv
8. And just to make sure, I do another reboot
9. Then when attempting to access web gui (https://IP-ADDRESS:2031) gives:

Fatal error: Class 'kLO201gUtE3IVP' not found in /usr/local/cwpsrv/htdocs/admin/index.php(1) : eval()'d code(1) : eval()'d code on line 5

Same error each time.
Have also tried changing root passwd, including encryption from default SHA512 to MD5 to no avail.

Appreciate solution as soon as possible to prevent loss of further downtime :(

Updates / Re: How to upgrade libmysqlclient to higher than 5.1
« on: April 23, 2016, 04:55:54 PM »
I had such a big headache with this but finally solved it to make it work!

Basically, no matter whether you choose MySQL or MariaDB, the base installed is MySQL 5.1 which sorely needs to be updated so that others don't have to go through one whole week of downtime because of this just to install CWP!!

After doing a clean install and before installing CWP, upgrade MySQL 5.1 immediately to 5.5+. Then only do you continue with installing CWP, and for my case with MariaDB. After that, phpMyAdmin worked beautifully with UTF8MB4!!

Pages: [1]