From 0486f42d9be87c21a5ffb07d442401d77dcfa79b Mon Sep 17 00:00:00 2001 From: clonemeagain Date: Mon, 23 Dec 2013 13:12:56 +1100 Subject: [PATCH] Fixes XXXX ticketid error Forum post: http://www.osticket.com/forum/discussion/74564/ticket-numbers-showing-xxxxxxx/p1 Still a problem, but now its due to the template itself having a variable that it shouldn't. --- setup/inc/streams/core/install-mysql.sql | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup/inc/streams/core/install-mysql.sql b/setup/inc/streams/core/install-mysql.sql index 9359cfae..79e94cba 100644 --- a/setup/inc/streams/core/install-mysql.sql +++ b/setup/inc/streams/core/install-mysql.sql @@ -1,4 +1,3 @@ - DROP TABLE IF EXISTS `%TABLE_PREFIX%api_key`; CREATE TABLE `%TABLE_PREFIX%api_key` ( `id` int(10) unsigned NOT NULL auto_increment, @@ -771,7 +770,7 @@ CREATE TABLE IF NOT EXISTS `%TABLE_PREFIX%page` ( INSERT INTO `%TABLE_PREFIX%page` (`id`, `isactive`, `type`, `name`, `body`, `notes`, `created`, `updated`) VALUES ('', 1, 'offline', 'Offline', '
\r\n

Support Ticket System Offline

\r\n

Thank you for your interest in contacting us.

\r\n

Our helpdesk is offline at the moment, please check back at a later time.

\r\n
', 'Default offline page', NOW(), NOW()), -('', 1, 'thank-you', 'Thank you', '
%{ticket.name},
\r\n \r\n

\r\nThank you for contacting us.

A support ticket request #%{ticket.number} has been created and a representative will be getting back to you shortly if necessary.

\r\n \r\n

Support Team

\r\n
', 'Default "thank you" page displayed after the end-user creates a web ticket.', NOW(), NOW()), +('', 1, 'thank-you', 'Thank you', '
%{ticket.name},
\r\n \r\n

\r\nThank you for contacting us.

A support ticket has been created and a representative will be getting back to you shortly if necessary.

Please check your email for login information.

\r\n \r\n

Support Team

\r\n
', 'Default "thank you" page displayed after the end-user creates a web ticket.', NOW(), NOW()), ('', 1, 'landing', 'Landing', '

Welcome to the Support Center

\r\n

In order to streamline support requests and better serve you, we utilize a support ticket system. Every support request is assigned a unique ticket number which you can use to track the progress and responses online. For your reference we provide complete archives and history of all your support requests. A valid email address is required to submit a ticket.\r\n

\r\n', 'Introduction text on the landing page.', NOW(), NOW()); INSERT INTO `%TABLE_PREFIX%config` (`key`, `value`, `namespace`) VALUES