Forum

Notifications
Clear all

Email Piping Bug

7 Posts
2 Users
0 Reactions
30 Views
Posts: 5
Topic starter
(@gdtech)
Member
Joined: 6 years ago

We found that email replies were not being piped to OST when a customer replied. It resulted in an error found in the logs:

[01-Jun-2020 20:06:50 UTC] PHP Fatal error: require_once(): Failed opening required '//osta/php/functions.php' (include_path='./:/home/cpaneluser/mydomain.com/support/include/:/home/cpaneluser/mydomain.com/support/include/pear/') in /home/cpaneluser/mydomain.com/support/main.inc.php on line 68

We the inspected main.inc.php and found your osta code.

We then removed the following from main.inc.php:

// osta
require_once $_SERVER['DOCUMENT_ROOT'] . ROOT_PATH . "/osta/php/functions.php";
$custom = get_config() ;
ie_check($custom);
?>

Once we did, piping works just fine. The only difference is that our logo on the back-end now shows your logo and this cannot be changed, but the front-end looks and feels normal.

------------------------------------------------------------------

osTicket v1.14.2 // osTicket-1.14.1-Awesome-102
PHP 7.3.18 // MySQL 10.3.22 // LiteSpeed web server


6 Replies
Posts: 5
Topic starter
(@gdtech)
Member
Joined: 6 years ago

Actually, I found that this caused another issue. I'll list them as I find them:

  • our logo on the back-end now shows your logo and this cannot be changed, but the front-end looks and feels normal.
  • Upon opening a ticket, the loading rainbow circle never stops spinning which makes us have to go back to the previous page. However, the ticket is generated and emails are sent with no problems.

Reply
Posts: 5
Topic starter
(@gdtech)
Member
Joined: 6 years ago

Actually, I found that this caused another issue. I’ll list them as I find them:

  1. our logo on the back-end now shows your logo and this cannot be changed, but the front-end looks and feels normal.
  2. Upon opening a ticket, the loading rainbow circle never stops spinning which makes us have to go back to the previous page. However, the ticket is generated and emails are sent with no problems.
  3. Front-end ticket creating fails. When submitting, the loading circle spins for just a moment, then the entire page is reloads without ever creating a ticket.

Reply
Posts: 5
Topic starter
(@gdtech)
Member
Joined: 6 years ago

Update: I've re-installed the prior version of the OSTA and that fixed all of my problems. I'll stop here until I see a fix or update. Thanks.


Reply
Posts: 1177
Admin
(@stevland)
Member
Joined: 2 months ago

Sorry for your trouble, and thank you for taking the time to report this. We'll look into it and have a fix soon.


Reply
Page 1 / 2
Share: