Current time: 05-17-2024, 05:56 PM Hello There, Guest! (LoginRegister)


Post Reply 
Problem with edit email account
Author Message
theprincy Offline
Member
***

Posts: 311
Joined: Nov 2008
Reputation: 2
Post: #1
Problem with edit email account
I'm trying to change the password to two email accounts but I get as error

User does not exist or you do not have permission to access this interface!

emails are in the database and they have no kind of error, error check better what you need?

ispcp trunk 6/09/2009
debian lenny
09-08-2009 06:47 PM
Visit this user's website Find all posts by this user Quote this message in a reply
theprincy Offline
Member
***

Posts: 311
Joined: Nov 2008
Reputation: 2
Post: #2
RE: Problem with edit email account
nobody knows how to help me?
09-15-2009 04:25 AM
Visit this user's website Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #3
RE: Problem with edit email account
Try issue this query:
Code:
SELECT
            t1.*, t2.`domain_id`, t2.`domain_name`
        FROM
            `mail_users` AS t1,
            `domain` AS t2
        WHERE
            t1.`mail_id` = ?
        AND
            t2.`domain_id` = t1.`domain_id`
        AND
            t2.`domain_name` = ?
Replace ? with id of domain who own that email. I can not reproduce it
09-15-2009 04:45 AM
Visit this user's website Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #4
RE: Problem with edit email account
Quote:User does not exist or you do not have permission to access this interface!
As you have this problem on multiple places, I think that the error is referring to your login user. Please try to add another domain, create a mail account on it and then change the password...
09-15-2009 06:03 AM
Visit this user's website Find all posts by this user Quote this message in a reply
theprincy Offline
Member
***

Posts: 311
Joined: Nov 2008
Reputation: 2
Post: #5
RE: Problem with edit email account
(09-15-2009 04:45 AM)sci2tech Wrote:  Try issue this query:
Code:
SELECT
            t1.*, t2.`domain_id`, t2.`domain_name`
        FROM
            `mail_users` AS t1,
            `domain` AS t2
        WHERE
            t1.`mail_id` = ?
        AND
            t2.`domain_id` = t1.`domain_id`
        AND
            t2.`domain_name` = ?
Replace ? with id of domain who own that email. I can not reproduce it

name domain is j-rent.net

#1054 - Unknown column 'j' in 'where clause'
(09-15-2009 06:03 AM)kilburn Wrote:  
Quote:User does not exist or you do not have permission to access this interface!
As you have this problem on multiple places, I think that the error is referring to your login user. Please try to add another domain, create a mail account on it and then change the password...

the problem occurs with different domains on different servers, but I have the same problem with SQL account
(This post was last modified: 09-15-2009 03:00 PM by theprincy.)
09-15-2009 02:52 PM
Visit this user's website Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #6
RE: Problem with edit email account
Quote:#1054 - Unknown column 'j' in 'where clause'

You have to replace the "?" with the id of the domain that owns this mail, not his name Wink
09-15-2009 04:54 PM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #7
RE: Problem with edit email account
there are two ?:

the first ? is the mail_id (a number) and the second ? the domain name!

/J
09-15-2009 05:01 PM
Visit this user's website Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #8
RE: Problem with edit email account
well, so put the domain name between quotes Wink
09-15-2009 05:29 PM
Visit this user's website Find all posts by this user Quote this message in a reply
theprincy Offline
Member
***

Posts: 311
Joined: Nov 2008
Reputation: 2
Post: #9
RE: Problem with edit email account
(09-15-2009 05:01 PM)joximu Wrote:  there are two ?:

the first ? is the mail_id (a number) and the second ? the domain name!

/J

as he said kilburn Tongue
I had missed a mistake 'in the query, the result leaves the line of email

Code:
mail_id     mail_acc     mail_pass     mail_forward     domain_id     mail_type     sub_id     status     mail_auto_respond     mail_auto_respond_text     quota     mail_addr     domain_id     domain_name
94     admin     password     _no_     22     normal_mail     0     ok     0           10485760     admin@j-rentnet.net     22     j-rent.net
(This post was last modified: 09-15-2009 07:25 PM by theprincy.)
09-15-2009 07:24 PM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #10
RE: Problem with edit email account
I wonder why the mail_addr <> mail_acc@domain_name

/J
09-15-2009 07:54 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)