Date: 2015-03-10 12:33
Posted By: Mathias (math)
Same issue for me too
Date: 2015-05-05 21:36
Posted By: Robert Campbell (calguy1000)
fixed and released
Date: 2015-06-02 03:43
Posted By: Mathias (math)
Hello
I upgraded to version 1.1.4 but it didn't fixe the issue.
Module admin page:
Tickets
Settings
My Tickets List Templates
Manage Tickets List Templates
New Ticket Form Templates
View Ticket Report Templates
Prototype Templates
SELECT SQL_CALC_FOUND_ROWS T.id, T.owner, T.alert_group, T.e_key1, T.e_key2,
T.e_key3, T.status, T.priority, T.created, COUNT(M.id) AS nmsgs, M.subject,
MAX(M.modified) AS modified_date, S.n_unread FROM cms_mod_cgct_tickets T LEFT
JOIN cms_mod_cgct_msgs M ON T.id = M.ticket_id LEFT JOIN (SELECT
ticket_id,COUNT(id) AS n_unread FROM cms_mod_cgct_msgs WHERE dest < 0 AND
viewed_by IS NULL GROUP BY ticket_id) S ON T.id = S.ticket_id GROUP BY T.id
ORDER BY modified_date DESC LIMIT 0, 100 Table 'CMSMS_2015.cms_mod_cgct_tickets'
doesn't exist
King regards
Date: 2015-06-03 13:36
Posted By: Robert Campbell (calguy1000)
Just did a test install on a brand new CMSMS install. tables installed fine.
They use InnoDB and foreign key relations. maybe there is a problem there.
I am using a stock ubuntu 14.04 install virtual machine. No modifications
(other than some more php plugins installed like xdebug).
Date: 2016-05-25 11:14
Posted By: Mathias (math)
I tried again but always the same issue.
Date: 2016-06-08 07:27
Posted By: Jurrie Overgoor (jurrie)
There are a couple of bugs in method.install.php.
Date: 2016-06-08 07:29
Posted By: Jurrie Overgoor (jurrie)
(Continued from last post)
You'll need to change line 45 to
$taboptarray = array('mysql' => 'ENGINE=InnoDB');
and you'll need to change line 116 to
audit('',$this->GetName(),'Install: '.$e->getMessage());
Below is the complete patch (generated by Netbeans):
--- a/<html>method.install.php (<b>Today 11:50:47 AM</b>)</html>
+++ b/<html><b>Current File</b></html>
@@ -42,7 +42,7 @@
$db = cge_utils::get_db();
$dict = NewDataDictionary($db);
-$taboptarray = array('mysql' => 'TYPE=InnoDB');
+$taboptarray = array('mysql' => 'ENGINE=InnoDB');
try {
$flds = "
@@ -113,7 +113,7 @@
$this->CreateEvent(CGClientTickets::EVENT_DELETETICKET);
}
catch( \Exception $e ) {
- audit('',$this->GetName(),'Install: '.$e->GetMessage);
\ No newline at end of file
+ audit('',$this->GetName(),'Install: '.$e->getMessage());
\ No newline at end of file
return FALSE;
}