Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 3,262
» Latest member: EstrategiasCasino
» Forum threads: 1,045
» Forum posts: 1,114

Full Statistics

Latest Threads
ADD DOMAIN (can't find v...
Forum: Ehcp General, uncategorized yet
Last Post: RichardCrite
11-24-2024, 02:03 AM
» Replies: 29
» Views: 54,330
EHCP API1 error
Forum: Ehcp Development
Last Post: robind99
04-14-2023, 10:14 PM
» Replies: 4
» Views: 3
EHCP API Setup subdomain
Forum: Ehcp Development
Last Post: ehcpdeveloper
04-14-2023, 10:14 PM
» Replies: 2
» Views: 67
EHCP auto startup nginx i...
Forum: Ehcp Development
Last Post: ehcpdeveloper
04-14-2023, 10:14 PM
» Replies: 2
» Views: 1
VSFTPD
Forum: Ehcp Development
Last Post: ehcpdeveloper
04-14-2023, 10:14 PM
» Replies: 3
» Views: 5
PHP failed copy
Forum: Ehcp Development
Last Post: ehcpdeveloper
04-14-2023, 10:14 PM
» Replies: 2
» Views: 3
install echp + node js
Forum: Ehcp Development
Last Post: ehcpdeveloper
04-14-2023, 10:14 PM
» Replies: 2
» Views: 0
About Beta Software, Ehcp...
Forum: Ehcp Development
Last Post: ehcpdeveloper
04-14-2023, 10:14 PM
» Replies: 1
» Views: 1
La marque de l'enseigne C...
Forum: Ehcp Development
Last Post: shanmao
04-14-2023, 10:14 PM
» Replies: 1
» Views: 0
On portera une attention ...
Forum: Ehcp Development
Last Post: shanmao
04-14-2023, 10:14 PM
» Replies: 1
» Views: 1

 
  EHCP API Help needed
Posted by: djda9l - 04-14-2023, 10:08 PM - Forum: Ehcp General, uncategorized yet - Replies (5)

Hello

I want to make use of the EHCP API, however im having some trouble with it.

Im trying to use one of the default api examples, namely api2.php:

Heres the code it has:

<code>
require("../classapp.php");
$domainname = "d2omainsite.com";
$panelusername = "blabla";
$ftppassword=$paneluserpass="123";
$ftpusername = "ftpusername2";
$status="active";

$app = new Application();
$app->connectTodb(); # fill config.php with db user/pass for things to work..
$app->activeuser=$panelusername;

$ret=$app->addDomainDirect($domainname,$panelusername,$paneluserpass,$ftpusername,$ftppassword,$status,$email='',$quota=0);

if($ret){
&nbsp;&nbsp;&nbsp;echo "Success";
} else {
&nbsp;&nbsp;&nbsp;echo $app->output;
}

echo "($ret)";
</code>

My problem is that the above code returns and error that the user "blabla" is not active:

<code>
Error:User is not active..: blabla (Your account not active,contact your panel service provider, status: )

If you just upgraded your ehcp, try to logout, login back.
</code>

It is true that the user is not active, but am i completely missing something, when my thought was the script was supposed to create the user? Or do i use it wrong?

Oh and config.php is holding the correct db information..

Restored from old drupal forum, for user uid:27840 username:djda9l
You may reset your password to access your new account here.

Print this item

  phptmpdir sessions
Posted by: budgierless - 04-14-2023, 10:08 PM - Forum: Ehcp General, uncategorized yet - No Replies

hi,

Vstfpd is not removing old sessions files from the phptmpdir folder, is their a way for enforce this action, the permission owner is:
<strong>vsftpd:www-data</strong>

i am sure this is correct owners to control the folder, so why are all these file sorting in the folder and not auto removing?

thanks

Restored from old drupal forum, for user uid:3160 username:budgierless
You may reset your password to access your new account here.

Print this item

  Need to alter order domains are listed
Posted by: jason0 - 04-14-2023, 10:08 PM - Forum: Ehcp General, uncategorized yet - Replies (2)

Hello,

I have a case where I have several subdomains defined as their own sites, and eventually the parent domain is defined. All of these work.

When I add in another subdomain, apache then takes my web browser to the parent domain.

As an experiment, I re-wrote my apachehcp.conf file and placed the parent domain AFTER the last subdomain. I was able to correctly go to the subdomain afterwards.

I understand that this file will be periodically re-written by ehcp, so I need to be able to re-order the domains as they appear in ehcp. How do I do this? is it as simple as altering the index number of the domain in the database?

Thank you for your time...

--jason brooks

Restored from old drupal forum, for user uid:5936 username:jason0
You may reset your password to access your new account here.

Print this item

  Synchronize Custom FTP Accounts :: API Help
Posted by: own3mall - 04-14-2023, 10:08 PM - Forum: Ehcp General, uncategorized yet - Replies (3)

I'm writing an API for the OGP (Open Game Panel www.opengamepanel.org) control panel to create custom FTP users with non-standard homes.

After creating, deleting, and modifying the correct database values, I run a script called syncftp.php which contains the following:

<code>
<?php

require ("/var/www/new/ehcp/classapp.php");
$app = new Application();
$app->connectTodb(); # fill config.php with db user/pass for things to work..

$app->addDaemonOp('syncftp', '', '', '', 'sync ftp for nonstandard homes');

?>
</code>

When I run this script from the command line terminal (using php-cgi -f syncftp.php), I receive the following error:

Notice: date_default_timezone_set(): Timezone ID 'Europa/Istanbul' is invalid in /var/www/new/ehcp/classapp.php on line 194

Warning: mysql_connect(): Access denied for user 'earnolmartin'@'localhost' (using password: YES) in /var/www/new/ehcp/config/adodb/drivers/adodb-mysql.inc.php on line 365

Any idea why this is happening? Is this the correct way to call EHCP to sync the non-standard homes?

Please let me know.
~
Thanks!


Restored from old drupal forum, for user uid:2735 username:own3mall
You may reset your password to access your new account here.

Print this item

  mod_rewrite stopped working
Posted by: rloconne - 04-14-2023, 10:08 PM - Forum: Ehcp General, uncategorized yet - No Replies

In one of my domains, mod_rewrite suddenly stopped working. Before when someone went to [urlroot]/wpmultisitename, they would be taken to the appropriate person's Wordpress Multisite. Now, when someone goes to [urlroot]/wpmultisitename, they get a file not found error.

We don't know of anything specific that triggered it. It just stopped working. We can use a .htacess file to do the rewrites, but none of the rewrites set in EHCP appear to be having any effect.

One reason that we're having difficulty troubleshooting this is that it is difficult to tell what files are governing mod_rewrites. We've been able to establish that mod_rewrite is on, but we can't tell if it's running the rewrite commands that we think it's running or some other set elsewhere on the computer. We're using Ubuntu, so the default location is /etc/apache2/sites-available/default, but this does not contain the commands that are set through EHCP.

How, in general, do mod_rewrites work in EHCP-managed domains, and how can we figure out what the problem is?

Thank you,
Rebecca

Restored from old drupal forum, for user uid:4952 username:rloconne
You may reset your password to access your new account here.

Print this item

  If someone can confirm if it was an attack
Posted by: NeoATMatrix - 04-14-2023, 10:08 PM - Forum: Ehcp General, uncategorized yet - Replies (1)

First of all I'd like to say a BIG THX to developers.I really appreciate the opportunity of using EHCP and the work You invented into this.

Also I'd like if someone could confirm IF it was an attack on my server since this log is a bit odd for me.

Ty .

http://s8.postimage.org/s70806a9h/attack.jpg

Restored from old drupal forum, for user uid:3714 username:NeoATMatrix
You may reset your password to access your new account here.

Print this item

  Automatic Login
Posted by: dnieu - 04-14-2023, 10:08 PM - Forum: Ehcp General, uncategorized yet - No Replies

Is it possible to automatic login like cPanel ?

http://xxxxxxxxxx/ehcp/?username=xxxx&password=xxxxx

Restored from old drupal forum, for user uid:3033 username:dnieu
You may reset your password to access your new account here.

Print this item

  Turn Off EHCP Panel
Posted by: steven80 - 04-14-2023, 10:08 PM - Forum: Ehcp General, uncategorized yet - Replies (3)

Hello,
Is it possible to turn off the panel EHCO via Shell ?
On kloxo panel can through the shell with the command:
"service kloxo stop" --> Turn off
"service kloxo start" --> Turn on

It is possible to make with EHCP ?
Thanks

Restored from old drupal forum, for user uid:4877 usernameConfusedteven80
You may reset your password to access your new account here.

Print this item

  howdie, nice site
Posted by: wankneentef - 04-14-2023, 10:08 PM - Forum: Ehcp General, uncategorized yet - No Replies

T1 line service providers refer to organizations that provide fiber telephone lines. These lines can transmit more data than what the normal phone lines can do. This revolutionary technology was invented by AT&T labs. They have managed to complement the twisted pair cables that have been in existence for many years.



<a href="http://www.cncsaga.de/foren/profile.php?id=633
">read more</a>
<a href="http://google.com">2</a>

Restored from old drupal forum, for user uid:4899 username:wankneentef
You may reset your password to access your new account here.

Print this item

  Can clients have SSH shell access?
Posted by: ingram - 04-14-2023, 10:08 PM - Forum: Ehcp General, uncategorized yet - Replies (1)

Through EHCP, can you enable shell SSH access for clients?

Restored from old drupal forum, for user uid:4185 username:ingram
You may reset your password to access your new account here.

Print this item


Online Shopping App
Online Shopping - E-Commerce Platform
Online Shopping - E-Commerce Platform
Feinunze Schmuck Jewelery Online Shopping