Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now

Open a New Ticket always returns "500 Internal Server Error" (Invalid CSRF token on ticket.response)

Just setup a new installation of v1.9.12 (19292ad), made some changes to Forms > Ticket Details.

Now on EVERY "Open a New Ticket", irregardless of the user, I get the generic "500 Internal Server Error"

Looking at the php "ost_syslog", IK see many instances of this entry:
Invalid CSRF token [7bb804a344ab6005a30b1b8802eebcacf99b4ed2] on http://blah/blah/scp/ajax.php/draft/ticket.response.1

How can I see more details regarding this "Warning"?  Do I need to look in a different place to get more log details?

Here is my setup info:

  osTicket — Customer Support System
System LogsInformation
About this osTicket Installation

Server Information
osTicket Version v1.9.12 (19292ad) —  Up to date
Web Server Software Apache/2.2.29 (Unix)
MySQL Version 5.5.44
PHP Version 5.3.29
PHP Extensions
gdlib Used for image manipulation and PDF printing
imap Used for email fetching
xml-dom Used for HTML email processing
json Improves performance creating and processing JSON
mbstring Highly recommended for non western european language content
phar Highly recommended for plugins and language packs
fileinfo Used to detect file types for uploads
PHP Settings
cgi.fix_pathinfo "1" is recommended if AJAX is not working
date.timezone UTC
Database Information and Usage
Schema support_osti956 (
Schema Signature b26f29a6bb5dbb3510b057632182d138
Space Used 2.38 MiB
Space for Attachments 0.01 MiB
Installed Language Packs
Copyright © 2006-2016 IPCentral :: Support Ticket System All Rights Reserved.


  • Please enable error displaying, or consult your PHP error log.

    Directions on enabling error displaying:

    You may also want to check out your Apache error logs to get more infomration about the 500 error being thrown.
  • Nothing in the apache error logs.  Enabled error displaying as recommend, no difference.

    Perhaps I am not looking in the correct place for the error logs?  I am looking in php admin under syslog.  Is there any other place for osTicket error logs?
  • Where your PHP error logs reside is controlled by your php.ini.

    You can look at your php.ini or if you do not know where that is you can create a test.php and put this in it:

    <?php phpinfo(); ?>

    Save it and put it in your web tree and browse to it with a web browser.
Sign In or Register to comment.