Page 12 of 13
Re: [UPDATED Jan-05-2015] Mods for HESK v1.7.0
Posted: Tue Jan 13, 2015 10:58 am
by confignsk
Hesk 2.5.5
1.6.1 Mods
Problem: When you add an attachment, the images become just a gray background, and zip files when unpacking an error.
The original 2.5.5, does not break the attachment.
Tell me what's the problem?
Re: [UPDATED Jan-05-2015] Mods for HESK v1.7.0
Posted: Tue Jan 13, 2015 2:54 pm
by mkoch227
grueter6 wrote:thanks for the help!
Error:
IF EXISTS (SELECT 1 FROM syscolumns WHERE id = object_id('hesk_users') AND name='autorefresh') ALTER TABLE `hesk_users` DROP COLUMN `autorefresh`;
MySQL meldet: Dokumentation
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF EXISTS (SELECT 1 FROM syscolumns WHERE id = object_id('hesk_users') AND name=' at line 1
If I have "No previous version" in stating the error appears:
Warning: Cannot modify header information - headers already sent by (output started at ......../install/install_functions.inc.php:628) in ........./install/freshInstall.php on line 51
I have now manually called every installer now works the login
Remove the "IF EXISTS (...)" parts and just run the SQL starting at "ALTER TABLE ...". If MySQL blows up due to the column not existing, keep going; it just means that the column was never added.
confignsk wrote:Hesk 2.5.5
1.6.1 Mods
Problem: When you add an attachment, the images become just a gray background, and zip files when unpacking an error.
The original 2.5.5, does not break the attachment.
Tell me what's the problem?
Can you upgrade to 1.7.0 first, and then see what happens?
Re: [UPDATED Jan-05-2015] Mods for HESK v1.7.0
Posted: Tue Jan 13, 2015 3:49 pm
by confignsk
On a freshly installed 2.5.5, installed mods 1.7
selected conditions: No previous version
when creating a new ticket, gets results:
Error:
Can't execute SQL
Please notify webmaster at
support@domain.com
Re: [UPDATED Jan-05-2015] Mods for HESK v1.7.0
Posted: Tue Jan 13, 2015 4:20 pm
by mkoch227
Turn on debug mode, run it again, and send me the full error that appears
Re: [UPDATED Jan-05-2015] Mods for HESK v1.7.0
Posted: Tue Jan 13, 2015 4:33 pm
by confignsk
When you install a custom date field, on the client side, after the date of the field, there is nothing. As if on this site ended.
And still attached files, files or images are downloaded, but not open. But if these files are downloaded from the ftp, they work great.
It turns out, the problem is when to pull through the page.
Re: [UPDATED Jan-05-2015] Mods for HESK v1.7.0
Posted: Tue Jan 13, 2015 4:34 pm
by vbdesign
confignsk wrote:On a freshly installed 2.5.5, installed mods 1.7
selected conditions: No previous version
when creating a new ticket, gets results:
Error:
Can't execute SQL
Please notify webmaster at
support@domain.com
Same problem, even a clean installation
mkoch227 wrote:Turn on debug mode, run it again, and send me the full error that appears
Code: Select all
Error:
Can't execute SQL: SELECT * FROM `hesk_denied_ips` WHERE `RangeStart` <= '1421990099' AND `RangeEnd` >= '1421990099'
MySQL said:
Table 'garantia_hesk405.hesk_denied_ips' doesn't exist
And i cannot login to admin:
Code: Select all
Error: Your account is currently inactive. Contact an administrator for more information.
Re: [UPDATED Jan-05-2015] Mods for HESK v1.7.0
Posted: Tue Jan 13, 2015 4:38 pm
by confignsk
Error:
Can't execute SQL: SELECT `t1`.`id`,`t1`.`user`,`t1`.`name`, `t1`.`email`, `t1`.`language`, `t1`.`isadmin`, `t1`.`categories`, `t1`.`notify_assigned`, `t1`.`heskprivileges`, (SELECT COUNT(*) FROM `hesk_tickets` FORCE KEY (`statuses`) WHERE `owner`=`t1`.`id` AND `status` IN ('0','1','2','4','5') ) as `open_tickets` FROM `hesk_users` AS `t1` WHERE `t1`.`autoassign`='1' ORDER BY `open_tickets` ASC, RAND()
MySQL said:
Key 'statuses' doesn't exist in table 'hesk_tickets'
WARNING
Debug mode is enabled. Make sure you disable debug mode in settings once HESK is installed and working properly.
Re: [UPDATED Jan-05-2015] Mods for HESK v1.7.0
Posted: Tue Jan 13, 2015 7:21 pm
by mkoch227
vbdesign wrote:
MySQL said:
Table 'garantia_hesk405.hesk_denied_ips' doesn't exist
Again, sounds like an installation issue. If possible, can you PM me any credentials necessary for me to look at your table structure in your database so I can verify the database tables?
confignsk wrote:key 'statuses' doesn't exist in table 'hesk_tickets'
Interesting issue. I'll have to look into it deeper. Sounds like when I altered the column to be an int rather than an enum, it dropped the key.
confignsk wrote:When you install a custom date field, on the client side, after the date of the field, there is nothing. As if on this site ended.
And still attached files, files or images are downloaded, but not open. But if these files are downloaded from the ftp, they work great.
It turns out, the problem is when to pull through the page.
I can reproduce the date issue on my side and will look into a fix shortly. For the attached files, I am able to download the file without any problems. Is this a file attached to a ticket or a note? Is this on the staff side, or on the client side? Also, what file type are you attaching? (I tested with a .docx file)
Re: [UPDATED Jan-05-2015] Mods for HESK v1.7.0
Posted: Tue Jan 13, 2015 8:22 pm
by confignsk
mkoch227 wrote:
I can reproduce the date issue on my side and will look into a fix shortly. For the attached files, I am able to download the file without any problems. Is this a file attached to a ticket or a note? Is this on the staff side, or on the client side? Also, what file type are you attaching? (I tested with a .docx file)
if the date field is left blank, then everything is OK. But if you specify a date, there is a problem
Date problem:
http://zakaz.atlantokna.ru/ticket.php?t ... =51537&f=1
Files problem
dead attachments
http://zakaz.atlantokna.ru/ticket.php?t ... =32456&f=1
Re: [UPDATED Jan-05-2015] Mods for HESK v1.7.0
Posted: Thu Jan 15, 2015 9:52 pm
by mkoch227
I was able to successfully download/extract the RAR and view the image; however the first attachment failed. Can you send me (either in PM or a link here) a "good" version of the file so I can test it on my end?
Re: [UPDATED Jan-05-2015] Mods for HESK v1.7.0
Posted: Mon Jan 26, 2015 1:35 pm
by daggas66
I'm having trouble installing v1.7.0 on HESK 2.5.5.
Clean install of HESK then when installing Mods (no previous version) I get the following debug error...
Error:
Can't execute SQL: CREATE TABLE `tcs1_statuses` ( `ID` INT NOT NULL, `ShortNameContentKey` TEXT NOT NULL, `TicketViewContentKey` TEXT NOT NULL, `TextColor` TEXT NOT NULL, `IsNewTicketStatus` BIT NOT NULL DEFAULT 0, `IsClosed` BIT NOT NULL DEFAULT 0, `IsClosedByClient` BIT NOT NULL DEFAULT 0, `IsCustomerReplyStatus` BIT NOT NULL DEFAULT 0, `IsStaffClosedOption` BIT NOT NULL DEFAULT 0, `IsStaffReopenedStatus` BIT NOT NULL DEFAULT 0, `IsDefaultStaffReplyStatus` BIT NOT NULL DEFAULT 0, `LockedTicketStatus` BIT NOT NULL DEFAULT 0, PRIMARY KEY (`ID`))
MySQL said:
Table 'tcs1_statuses' already exists
I've obviously done something wrong during installation if the tables already exist.
Re: [UPDATED Jan-05-2015] Mods for HESK v1.7.0
Posted: Mon Jan 26, 2015 3:23 pm
by mkoch227
daggas66 wrote:I'm having trouble installing v1.7.0 on HESK 2.5.5.
Clean install of HESK then when installing Mods (no previous version) I get the following debug error...
Error:
Can't execute SQL: CREATE TABLE `tcs1_statuses` ( `ID` INT NOT NULL, `ShortNameContentKey` TEXT NOT NULL, `TicketViewContentKey` TEXT NOT NULL, `TextColor` TEXT NOT NULL, `IsNewTicketStatus` BIT NOT NULL DEFAULT 0, `IsClosed` BIT NOT NULL DEFAULT 0, `IsClosedByClient` BIT NOT NULL DEFAULT 0, `IsCustomerReplyStatus` BIT NOT NULL DEFAULT 0, `IsStaffClosedOption` BIT NOT NULL DEFAULT 0, `IsStaffReopenedStatus` BIT NOT NULL DEFAULT 0, `IsDefaultStaffReplyStatus` BIT NOT NULL DEFAULT 0, `LockedTicketStatus` BIT NOT NULL DEFAULT 0, PRIMARY KEY (`ID`))
MySQL said:
Table 'tcs1_statuses' already exists
I've obviously done something wrong during installation if the tables already exist.
If you somehow are trying to create the same table twice, then yes, something did go wrong. Try cleaning up your database using the SQL scripts below. Execute one query at a time until an error occurs, then stop (each query ends in a semicolon (;)). Once one of the queries errors out, then you have reached the end of the cleanup. After cleaning, try installing again.
Code: Select all
DROP TABLE `tcs1_statuses`;
ALTER TABLE `tcs1_users` DROP COLUMN `autorefresh`;
DROP TABLE `tcs1_denied_ips`;
DROP TABLE `tcs1_denied_emails`;
ALTER TABLE `tcs1_tickets` DROP COLUMN `parent`;
ALTER TABLE `tcs1_users` DROP COLUMN `active`;
ALTER TABLE `tcs1_users` DROP COLUMN `can_manage_settings`;
ALTER TABLE `tcs1_users` DROP COLUMN `default_notify_customer_email`;
ALTER TABLE `tcs1_users` DROP COLUMN `notify_note_unassigned`;
ALTER TABLE `tcs1_users` DROP COLUMN `can_change_notification_settings`;
ALTER TABLE `tcs1_notes` DROP COLUMN `edit_note`;
ALTER TABLE `tcs1_notes` DROP COLUMN `number_of_edits`;
ALTER TABLE `tcs1_attachments` DROP COULUMN `note_id`;
DROP TABLE `tcs1_settings`;
DROP TABLE `tcs1_verified_emails`;
DROP TABLE `tcs1_pending_verification_emails`;
DROP TABLE `tcs1_stage_tickets`;
Re: [UPDATED Jan-05-2015] Mods for HESK v1.7.0
Posted: Mon Jan 26, 2015 4:11 pm
by daggas66
Thanks for the prompt reply.
I've re-installed, and on the second attempt remembered I initially got a blank screen, prior to try again and getting the same error. So the initial error I reported was due to me clicking install a second time.
So I tried re-installing again and turned on debug after installing Hesk but prior to installing Mods. Clicking install (no previous version) I now receive this error...
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\tcs1\install\install_functions.inc.php:628) in C:\xampp\htdocs\tcs1\install\freshInstall.php on line 51
Many Thanks
Re: [UPDATED Jan-05-2015] Mods for HESK v1.7.0
Posted: Mon Jan 26, 2015 4:22 pm
by mkoch227
Ah, that issue. It has been fixed for the 2.0.0 release. In the meantime, click on each install link in this order:
1. No previous version
2. v1.2.4 or v1.3.0
3. v1.4.0
4. v1.4.1
5. v1.5.0
6. v1.6.0
7. v1.6.1
After you go to each link, all of the installation scripts should be then setup and ready to go.
Re: [UPDATED Jan-05-2015] Mods for HESK v1.7.0
Posted: Tue Jan 27, 2015 9:02 am
by daggas66
Many thanks, that appears to have worked. I can login to the new interface anyway, so now I'm off to play
Just for reference for anyone else with the same problem, I got errors on every link, except for the last (v1.6.1), so I expect that is normal.
Thanks again.