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

Pages: [1] 2 3 ... 12
General / Re: Update Log
« on: September 22, 2018, 05:05:29 pm »
Minor update released.

Technical Help / Re: PHP in html file config please
« on: September 10, 2018, 04:23:59 pm »
Awesome, glad it worked.  Let me know if you run into any issues as a result of updating to the latest dev version.  These features will be released to the stable build soon.

You can always change the order of which page should load by default when a specific page hasn't been requested (usually the index file).  That also appears in the subdomain or domain templates.  You can re-order which index page loads by default and has a higher priority than the others (index.html vs index.php).  Just search for index.html in the custom template, and you should see the lines I'm talking about.

Thanks for testing it out.

Technical Help / Re: PHP in html file config please
« on: September 10, 2018, 12:58:53 pm »
Actually, could you please try updating your panel to the latest dev SVN version (instructions here and use the new custom subdomain web server template functionality?

After you've updated your panel, logout and login as admin, then select the domain you want to add a subdomain to (in your case ""), click on "Add Subdomain".  Add the "devel" subdomain.  Go back to the main domain management screen for "".  Click on "List Subdomains".  Click on the "Edit Template" icon for the "devel" subdomain. 

Replace the ProxyPassMatch lines with the following:

Code: [Select]
ProxyPassMatch ^(.*\.(php|html))$ fcgi://{homedir}/$1

Click on the "Save Template" button.

Now, make sure you follow the instructions I posted above to get php-fpm to process .html files.  It should work this way now too, and we now have custom subdomain template functionality (assuming I coded the functionality correctly, which from my initial testing, I hopefully did).

Technical Help / Re: PHP in html file config please
« on: September 09, 2018, 11:35:13 pm »
Should be doable.  However, EHCP Force Edition doesn't yet support individual custom subdomain apache or nginx templates (other than the global subdomain template which can be changed here index.php?op=manageglobalwebtemplates)

Thus, for your scenario, I recommend adding the subdomain as a new domain under your account.  You would configure both "" and "" as separate domains (do NOT create "" as a subdomain in the panel under the "" domain).  Using this configuration, "" is still technically a subdomain, but it is setup in the panel as a domain.  This will allow you to edit the custom apache2 template just for "".  Log in as the admin user for the EHCP panel.  Select the domain you want to use a custom apache2 template for (in your case ""), and then click on the "Edit apache2 Template" link.  Find this line (might be two or more instances if you're using SSL):

Code: [Select]
ProxyPassMatch ^(.*\.php)$ fcgi://{homedir}/httpdocs/$1

Change it to:

Code: [Select]
ProxyPassMatch ^(.*\.(php|html))$ fcgi://{homedir}/httpdocs/$1

Then, we need to allow php-fpm to process .html extensions (  So in the "/etc/php/7.0/fpm/pool.d/www.conf" file (differs depending on which version of Ubuntu you're on... could be in /etc/php5/fpm/pool.d/www.conf or /etc/php/7.x/fpm/pool.d/www.conf), add this line to the bottom:

Code: [Select]
security.limit_extensions = .php .html

Restart the php-fpm service (command differs depending on Ubuntu version):

Code: [Select]
sudo service php7.0-fpm restart

That should be it.  You never want to edit the EHCP template conf files directly (found in /var/www/new/ehcp), as any changes you make will be overwritten when the panel next syncs.  You want to use the custom template functionality in the panel to make sure your changes persist.  I hope this helps.  Please let me know.   ;D

General / Re: Update Log
« on: August 08, 2018, 11:41:03 am »
Minor update released.

Yeah, well there's no magic wand to convert old PHP scripts to be compatible with PHP7.  However, you can manually convert them which is what I do with EHCP software.  Usually, I just change software so that it is compatible with both versions to avoid any problems. 

It does suck, but the blame goes to PHP (for their stupid ways of deprecating code and not converting these deprecated functions over to the new format), and that's all you can do.

You should run one server with several virtual machines.  Then, it's no problem to run many servers on one server.

Technical Help / Re: Remote Backup Question
« on: August 08, 2018, 11:30:20 am »
It looks like your FTP server doesn't like the filename for some reason.  Looks like you'll need to be tweaking its options, but I am not familiar with Qnap, so I can't help you there.

General / Re: Update Log
« on: July 25, 2018, 05:22:56 pm »
Small update released.

General / Re: Update Log
« on: July 15, 2018, 04:36:20 pm »
Update released.

Technical Help / Re: PHPMyAdmin - Can't Login As root User
« on: July 05, 2018, 09:21:44 pm »
Fix has been implemented.

In addition to the commands in the first post, you need to run these as well if you're having problems:

Code: [Select]
sudo -i
sed -i "s#^include_once 'rootip_whitelist_functions.php';#include_once '/usr/share/phpmyadmin/rootip_whitelist_functions.php';#g" "/etc/phpmyadmin/"
sed -i "s#^include 'rootip_whitelist.php';#include '/usr/share/phpmyadmin/rootip_whitelist.php';#g" "/etc/phpmyadmin/"

To have the fix implemented automatically via an update, follow these instructions: under the "Update to Latest Code (Developer Version)"

Technical Help / Re: PHPMyAdmin - Can't Login As root User
« on: July 01, 2018, 11:32:17 pm »
I'll see if I can reproduce this issue on Ubuntu 18.04. 

General / Re: Thanks for EHCP Force
« on: July 01, 2018, 11:30:55 pm »
Thank you for supporting and using EHCP Force Edition.   ;D

Feature Requests / Re: Rollback Software for EHCP
« on: July 01, 2018, 11:30:24 pm »
That is not the proper way to uninstall EHCP.

EHCP is PHP software.  It does however setup your web server with the base web server packages.  As such, there's not really a good way to uninstall EHCP since it would require removing the base web server packages as well.  You could always delete the /var/www/new/ehcp folder, the ehcp database, and try again, but you'll still need the root MySQL user password.

The only solution is to use Ubuntu 14.04 or possibly Debian 8.  EHCP Force Edition should work on both without issues.

Technical Help / Re: Round Cube Can't delete messages
« on: June 14, 2018, 11:21:47 am »
You just click on the code snippet, and the entire code contents are copied to your clipboard.  I just tried it in Chrome, and it works fine for me?  It makes it easier to copy.  As for your RoundCube issue, I'm unable to reproduce it in Debian 9. 

Here are some references on the error:

What OS are you running?  What are the exact steps you performed that caused you to run into this issue?

Pages: [1] 2 3 ... 12