Posts: 0
Threads: 12
Joined: Feb 2025
Reputation:
0
Hi,
I get this error
The error occured in file /var/www/vhosts/ehcp/net2ftp/includes/authorizations.inc.php on line 728.
* function logAccess (/var/www/vhosts/ehcp/net2ftp/main.inc.php on line 213)
* function net2ftp (/var/www/vhosts/ehcp/net2ftp/index.php on line 38)
o argument 0: sendHttpHeaders
Restored from old drupal forum, for user uid:3033 username:dnieu
You may reset your password to access your new account here.
Posts: 1,386
Threads: 252
Joined: Feb 2025
Reputation:
0
that is place of error, not error itself,
can you post full error ?
access denied ?
Restored from old drupal forum, for user uid:3033 username:dnieu
You may reset your password to access your new account here.
Posts: 0
Threads: 12
Joined: Feb 2025
Reputation:
0
A new window open with this error
An error has occured:
Unable to execute the SQL query.
Go back
Go to the login page
View technical details
Hide technical details
The error occured in file /var/www/vhosts/ehcp/net2ftp/includes/authorizations.inc.php on line 728.
* function logAccess (/var/www/vhosts/ehcp/net2ftp/main.inc.php on line 213)
* function net2ftp (/var/www/vhosts/ehcp/net2ftp/index.php on line 38)
o argument 0: sendHttpHeaders
footer
Help Guide | Forums| License
Powered by net2ftp - a web based FTP client
Add to: Del.icio.us | Digg | Reddit
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Posts: 1,386
Threads: 252
Joined: Feb 2025
Reputation:
0
most probably, you changed your mysql ehcp user pass,
in that case, two ways to fix that (one of this should work):
* in net2ftp/settings.inc.php, fix datbase user pass.
or
* in ehcp gui->options->fixmailconfiguration
Restored from old drupal forum, for user uid:3033 username:dnieu
You may reset your password to access your new account here.
Posts: 0
Threads: 12
Joined: Feb 2025
Reputation:
0
Tried both ways, still no luck.
I get this error when I change user or pass.
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ehcpt'@'localhost' (using password: YES) in /var/www/vhosts/ehcp/net2ftp/includes/database.inc.php on line 31
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ehcpt'@'localhost' (using password: YES) in /var/www/vhosts/ehcp/net2ftp/includes/database.inc.php on line 31
net2ftp
An error has occured:
Unable to connect to the MySQL database. Please check your MySQL database settings in net2ftp's configuration file settings.inc.php.
Go back
Go to the login page
View technical details
Hide technical details
The error occured in file /var/www/vhosts/ehcp/net2ftp/includes/database.inc.php on line 33.
* function connect2db (/var/www/vhosts/ehcp/net2ftp/includes/authorizations.inc.php on line 718)
* function logAccess (/var/www/vhosts/ehcp/net2ftp/main.inc.php on line 213)
* function net2ftp (/var/www/vhosts/ehcp/net2ftp/index.php on line 38)
o argument 0: sendHttpHeaders
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Posts: 1,386
Threads: 252
Joined: Feb 2025
Reputation:
0
open settings.inc.php
change "ehcpt" to "ehcp"
probably you mis-spelled that.
Restored from old drupal forum, for user uid:3033 username:dnieu
You may reset your password to access your new account here.
Posts: 0
Threads: 12
Joined: Feb 2025
Reputation:
0
// MASTER SETTING that overrides the other settings below: use a database?
$net2ftp_settings["use_database"] = "no"; // "yes" or "no"
// Enter your MySQL settings
$net2ftp_settings["dbusername"] = "ehcp";
$net2ftp_settings["dbpassword"]='xxxxxxxxxx';
$net2ftp_settings["dbname"] = "ehcp";
$net2ftp_settings["dbserver"] = "localhost"; // on many configurations, this is "localhost"
I have changed from yes to no, and looks like is working now.
Which is best Yes or NO ?
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Posts: 1,386
Threads: 252
Joined: Feb 2025
Reputation:
0
yes is better, (with yes, net2ftp stores some of operations in db, so, makes it more easy, more usable)
but, with no, it also works.. only, does not stores any information in db.
Restored from old drupal forum, for user uid:3033 username:dnieu
You may reset your password to access your new account here.