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

500 (Internal Server) Error After Submitting New Ticket

So when a user go to our support center for example http://mydomain.com/helpdesk/
and create a new ticket (user is not logged-in), fulfill all the info and they hit the "Create Ticket" button, they get 500 (Internal Server) Error (it supposes to display the thank-you page, I think, the page url is still http://mydomain.com/helpdesk/open.php and show the 500 (Internal Server) Error Message) but the ticket was still submitted to the system and the admin got the alert email.
 Am I missing something here?

Comments

  • Well, I just check it again and seems like after hit the "Create Ticket" button, even you dont enter anything and leave all the forms blank, a little box "loading please wait .... " appeared then the page displayed "500 (Internal Server) Error" so the http://.../.../open.php got problem?
  • I am using Go-daddy shared Window hosting, which system has confirmed everything worked except the IMAP function.
  • Please copnsult your PHP error logs and provide any errors that you see there.  OR enable PHP error displaying to the screen via these instructions: http://tmib.net/osticket-v19x-frequently-asked-questions-faq#2

  • Please copnsult your PHP error logs and provide any errors that you see there.  OR enable PHP error displaying to the screen via these instructions: http://tmib.net/osticket-v19x-frequently-asked-questions-faq#2
    I did edit that file but still dont see any error, it just display the default Go-daddy 500 Error page (the url still remains the same http://.../.../open.php
  • A 500 error is an internal server error.  This is a very generic error and can pretty much literally be anything that's gone wrong on the server side.  If its not PHP logging the error then there must be an error some where be it PHP, Weserver Access, or MySQL logs.
  • @julyzerg - Did you install a language by any chance? If so, then please make sure you install PHP phar extension.
  • I did not install any language (I dont even know what you mean).
    As far as I know, shared Godaddy (Windows hosting)'s access was very limited.
    All I did was:
    - Download the osTicket, unzip and upload it to a folder named: support on my hosting
    - In the /setup (/setup/index.php) it said IMAP is not supported (it's ok I dont need it anyway), continue.
    - I went through the installation w/o any problem, rename the ost-sampleconfig.php to ost-config..., delete the setup folder after finished. Only thing I could not do was change the permission of the ost-config..php to remove "write" permission, because goddady windows hosting not allow me to do it (only allow to change folder's permission, not file's)
    - So far all other function worked, only open.php file gave me that problem (as I mentioned earlier if you fulfill all required fields and hit submit (or create ticket) it still go through (ticket was created, email's alerts was sent) but it will not display the thank you page.
  • What version of osTicket are you running?
  • osTicket v1.9.1 I just downloaded it today
  • I'm having the same issue, which is hosted myself on IIS 7.5.

    I've posted this previously, as I was having this issue when I upgraded to 1.9.0 also.

    Getting the stock standard internal server error (500) when I try to open a new ticket as a staff member, and this occurs when customers do the same.

    Server Information
    osTicket Version v1.9.1 (0e29c8d)
    Server Software Microsoft-IIS/7.5
    PHP Version 5.3.6
    MySQL Version 5.1.41
    PHP Extensions
    gdlib Used for image manipulation and PDF printing
    imap Used for email fetching
    xml XML API
    xml-dom Used for HTML email processing
    json Improves performance creating and processing JSON
    gettext Improves performance for non US-English configurations
    mbstring Highly recommended for non western european language content
    Database Usage
    Database Space Used 6.56 MiB
    Database Space for Attachments 0.21 MiB
    osticketerror.JPG
    809 x 242 - 28K
  • From the PHP Error log - 
    [30-May-2014 10:30:49] PHP Fatal error:  Call to undefined method DynamicFormEntry::addExtraHeader() in F:\OSTicket\scp\tickets.php on line 586

    Line 586 - 
    $ost->addExtraHeader('<script type="text/javascript" src="js/ticket.js?0e29c8d"></script>');
  • I put this <httpErrors errorMode="Detailed"/> to web.config and here what I got whenever hit create ticket button on open.php
    image

    Link Image: http://s18.postimg.org/knch45h1l/Untitled.png
  • @Loco are you using FastCGI also?
  • @Loco are you using FastCGI also?
    Yes @ntozier, using FastCGI also.
Sign In or Register to comment.