Forum

HTTP 500 when acces...
 
Notifications
Clear all

HTTP 500 when accessing staff panel (/scp/) after upgrade to ost-1.18.3-Awe-101

1 Posts
2 Users
0 Reactions
22 Views
Posts: 7
 aptx
Topic starter
(@developerapptaxi-it)
Member
Joined: 3 years ago

After upgrading from osTicket-1.18.1-Awesome-101 to osTicket-1.18.3-Awesome-101, we are experiencing HTTP 500 errors when accessing the staff control panel at /scp/.

The issue appears to be caused by syntax/escaping problems in the Italian translation file:

include/i18n/it/LC_MESSAGES/messages.mo.php

When a staff user opens /scp/, PHP fails due to invalid escaping in some translation strings, which results in HTTP 500.

Examples from the file:

  • Line 45:
    'Header Title' => 'Titolo dell\'intestazione',
  • Line 81:
    'Scroll to Top Icon' => 'Scorri fino all\'icona superiore',
  • Line 101:
    'Use a Custom Background Image' => 'Usa un\'immagine di sfondo personalizzata',
  • Line 103:
    'Use Background Image' => 'Usa l\'immagine di sfondo',

It looks like the strings contain an extra backslash before the apostrophe (e.g. \') which may be triggering a parse error.
Please advise on the correct fix or provide an updated Italian translation file compatible with 1.18.3-Awesome-101.

Theme Informations:

osTicket v1.18.3 // osTicket-1.18.3-Awesome-101
PHP 8.3.30 // MySQL 10.6.20 // Apache web server


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

Hi Alexander,

First, a huge apology: your post was silently flagged by our spam filter and I never saw it. I only discovered it today while investigating a broader moderation issue (which, ironically, you also helped uncover). More on that shortly.

You diagnosed this one perfectly. The double-escaped apostrophes in the Italian language pack were causing PHP parse errors. Italian wasn't the only affected language; Catalan, Estonian, French, Hebrew, Turkish, and Ukrainian had the same problem.

This was fixed in osTicket-1.18.3-Awesome-102, released January 28th, thanks to you. If you haven't already updated, grab that version from the downloads page.

Thanks for the thorough report, and sorry again for the silence.


Reply
Share: