internal server error while AJAX submit

internal server error while AJAX submit

raspiraspi Posts: 18Questions: 3Answers: 0

Hi Alan
I (mostly) finished my tables and now did transfer the stuff onto the production server (hosted site).
Here I get a 500 internal server error when I try updating or deleting a cell or a row.

The only thing I see is:
HTTP/1.1 500 Internal Server Error
Date: Thu, 21 Aug 2014 20:31:55 GMT
Server: Apache
Vary: Accept-Encoding
Content-Encoding: gzip
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html

I expect any server setting for database or security issues,
Did you ever got this error or a question regarding this?

Or could anybody drop me a hint where to looking at?

thank you
raspi

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    Answer ✓

    Hi,

    You'll likely need to have a look at the server's error log to identify what the problem is. What does the error log show?

    Allan

  • raspiraspi Posts: 18Questions: 3Answers: 0
    edited August 2014

    Everything is fine now - thanks.

    I did not get access to my servers error log (shared hosting) but thanks to the hotline guys they made me my error logs available with a .htaccess entry. Maybe this helps anybody else. Just add these lines into a .htaccess file located on the scripts directory:

    php_flag log_errors on

    php_value error_log /www/htdocs/<account-login>/error.log

    The error file then is stored in the root of your website

    After this - I could figure out that simply the path to datatables was not set correctly on my site and other small things which differ from my local test installation caused by linux and windows machines (eg. case sensitive directories).

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin

    Hi,

    Excellent - thanks for the feedback and great to hear you've got it working now.

    Regards,
    Allan

This discussion has been closed.