Cannot execute SQL msg on password change

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
plc
Posts: 89
Joined: Wed Jun 20, 2012 2:09 pm

Cannot execute SQL msg on password change

Post by plc »

Trying to change a users password (not admin) and getting: Error Can't execute SQL.

HESK version
3.2.2 - Update available
Update HESK
PHP version
7.3.31 (MySQLi)
MySQL version
10.1.48-MariaDB
/hesk_settings.inc.php
Exists, Writable
/Jfkg1reSdifneDkdo
Exists, Writable
/cache
Exists, Writable
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: Cannot execute SQL msg on password change

Post by Klemen »

If you turn Debug mode ON in Admin > Settings > Help desk > Features then try again, what does the error say?
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
plc
Posts: 89
Joined: Wed Jun 20, 2012 2:09 pm

Re: Cannot execute SQL msg on password change

Post by plc »

MySQL said:
Unknown column 'notify_overdue_my' in 'field list'
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: Cannot execute SQL msg on password change

Post by Klemen »

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
plc
Posts: 89
Joined: Wed Jun 20, 2012 2:09 pm

Re: Cannot execute SQL msg on password change

Post by plc »

Did that
Upgraded from Mods for Hesk in the past, I presume?

Try this:
1. backup existing database
2. run this on your database in phpMyAdmin (your host should have it):
CODE: SELECT ALL

ALTER TABLE `hesk_users` ADD COLUMN `notify_overdue_my` enum('0','1') COLLATE utf8_unicode_ci NOT NULL DEFAULT '1' AFTER `notify_overdue_unassigned`
Got this
MySQL returned an empty result set (i.e. zero rows). (Query took 0.0353 seconds.)
ALTER TABLE `hesk_users` ADD COLUMN `notify_overdue_my` enum('0','1') COLLATE utf8_unicode_ci NOT NULL DEFAULT '1' AFTER `notify_overdue_unassigned`
I can confirm I did have mods for hesk and removed it some time ago per the directions provided.
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: Cannot execute SQL msg on password change

Post by Klemen »

Does changing the password work now?
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
plc
Posts: 89
Joined: Wed Jun 20, 2012 2:09 pm

Re: Cannot execute SQL msg on password change

Post by plc »

Well well, yes it does! I've never been very good at reading SQL output lol Thanks!
Post Reply