WebFtp it gives error
Submitted by dnieu on Fri, 01/15/2010 - 08:50
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
Forums:
ehcpdeveloper
Fri, 01/15/2010 - 21:47
Permalink
that is place of error, not
that is place of error, not error itself,
can you post full error ?
access denied ?
dnieu
Fri, 01/15/2010 - 22:59
Permalink
SQL error
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
Regards,
Derick Nieuwoudt
ehcpdeveloper
Fri, 01/15/2010 - 23:03
Permalink
most probably, you changed
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
dnieu
Sat, 01/16/2010 - 01:15
Permalink
When I change user or pass get another error
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
Regards,
Derick Nieuwoudt
ehcpdeveloper
Sat, 01/16/2010 - 03:40
Permalink
open settings.inc.php change
open settings.inc.php
change "ehcpt" to "ehcp"
probably you mis-spelled that.
dnieu
Sat, 01/16/2010 - 06:54
Permalink
It's working
// 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 ?
Regards,
Derick Nieuwoudt
ehcpdeveloper
Sat, 01/16/2010 - 19:57
Permalink
yes is better, (with yes,
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.