Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WebFtp it gives error
#1
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.
Reply
#2
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.
Reply
#3
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.
Reply
#4
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.
Reply
#5
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.
Reply
#6
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.
Reply
#7
// 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.
Reply
#8
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.
Reply


Forum Jump:


Users browsing this thread: 7 Guest(s)

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