I am getting the following error.
"The server encountered an internal error and was unable to complete your request.there was an error in a CGI script."
Last edit: shrinithi vb 2015-05-28
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes the server was not configured to run cgi scripts. Now the problem is resolved :)
The tool works partially. It does not identify errors like the one in your webpage. Is it because I tweaked the build file ??
Last edit: shrinithi vb 2015-06-01
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I completed the creation of the .cgi file.Now I'm integrating it with my webpage.But I am not using form to receive source code from the user.
How to use ajax call to send the source code to the cgi file and get response from the cgi file ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have a webpage where I want to use cppcheck tool to evaluate the cpp programs submitted by the user.How should I integrate the tool to my webpage?
as you may know, we have a online cppcheck client:
http://cppcheck.sourceforge.net/demo/
You can see our underlying php code here:
https://github.com/danmar/cppcheck-htdocs/tree/master/demo
The democlient code is available here:
https://github.com/danmar/cppcheck/tree/master/democlient
Thank you so much :)
Last edit: shrinithi vb 2015-05-25
I am not able create .cgi file. On executing the build file i get too many errors.Pls help
easiest solution is to update your compiler.
To compile it with gcc-4.4.7 I need to tweak the code before I compile it:
Thank u soo much!! It created the .cgi file. But if I open the file in a text editor it contains unreadable characters?
Last edit: shrinithi vb 2015-05-27
I am getting the following error.
"The server encountered an internal error and was unable to complete your request.there was an error in a CGI script."
Last edit: shrinithi vb 2015-05-28
I dont know why.. does cgi work on your server? if you try just some simple "hello world" script does that work properly?
Yes the server was not configured to run cgi scripts. Now the problem is resolved :)
The tool works partially. It does not identify errors like the one in your webpage. Is it because I tweaked the build file ??
Last edit: shrinithi vb 2015-06-01
Can I edit the output of the cgi file? like I want to change the presentation of errors.
I believe that it currently outputs xml.
You can edit the output with xslt etc.
If you want you can change the output from xml to text.. however you must edit the democlient.cpp sourcecode then.
Thank you for the suggestions :)
Why does online demo has a limit of 1024 characters for the programs?
Last edit: shrinithi vb 2015-06-03
to make CPU usage low.
I completed the creation of the .cgi file.Now I'm integrating it with my webpage.But I am not using form to receive source code from the user.
How to use ajax call to send the source code to the cgi file and get response from the cgi file ?
please ask web programming questions in another forum. I don't know much about web programming.