Problem logging in as Non-Admin

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
zphd24
Posts: 5
Joined: Thu Jan 05, 2006 4:13 pm

Problem logging in as Non-Admin

Post by zphd24 »

Script URL:
Version of script: Current
Version of PHP: PHP 4.4.1
Hosting company: Self
Have you searched THIS FORUM for your problem: Yes
(if not please do before posting)
If so, what terms did you try:

Write your message below:

First off, hats off to you for an amazing script in Hesk! My problem is this: The script works beautifully, until I try to log in as a user that isn't an Admin. When I try, this is the error message I get:

"Can't execute SQL: SELECT * FROM `hesk_tickets` WHERE ( `category`=Array OR `category`=Array OR `category`=Array OR `category`=Array OR `category`=Array OR `category`=Array OR `category`=Array ) AND `status`=1 ORDER BY `priority` ASC

MySQL said:
Unknown column 'Array' in 'where clause'"

Any clues?
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Hello,

Have you made any changes to the script (except the settings file)? If yes try with the ORIGINAL files.

Regards
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
zphd24
Posts: 5
Joined: Thu Jan 05, 2006 4:13 pm

Post by zphd24 »

No changes have been made that I'm aware of. Can you give me an idea of what files may have been changed? That way I can start swapping them out with fresh copies to isolate the problem.

On a side note, I tried a fresh install on another machine and it seemed to work just fine. So I'm a bit confused as to the difference b'twixt the two.
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

I would suggest making a clean install on the problematic server as I am not sure what could be edited/wrong.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
zphd24
Posts: 5
Joined: Thu Jan 05, 2006 4:13 pm

Post by zphd24 »

Actually, a clean install would be more hassle than it's worth, as I've already begun toying with it, placing tickets, etc.

Besides, I think I've got it sorted out. For some reason, making users Admins then switching them back to normal users cleared up the problem. While this may not be exact enough for some, it works...and that's really all that matters to me.

Thanks though!

Can't wait to see the next version you come up with!
Post Reply