View Full Version : Conflict with the new version?
Hi,
I have just updated my TU2 trial version to v2.0.0.0. Before this update, I have created 1 update application where I am using the HTTP.Submit action and it was already working then.
However, after I updated to the new version, the HTTP.Submit action in the update application (created with earlier version) is no longer working properly. I am still able to connect to the URL I am passing to this action and the CGI script is working but I noticed that the parameters that I have given are not passed to the script.
Could my update to the new version have affected my already existing update application although no changes have been done to it?
thanks,
Ninj
Ted Sullivan
03-18-2005, 08:09 AM
If you were using an early beta version, it's possible that file formats etc have changed. I would definitely start a new project - you can easily copy and paste your script into the new project, but at least you'd be eliminating any "beta" conflicts but starting with a clean project.
I've already tried to create a new project and copied my scripts there. But it is still the same, the values that I pass to the HTTP.Submit action is not received by my CGI script.
I have also tried to create a new test CGI script that would print the value that I have sent and print/return it back to make sure that the values are received by the CGI script. But no luck as well.
Below is the copy of my very simple test CGI script:
#!/usr/bin/perl -w
use CGI qw(:standard);
use CGI qw(:standard Vars);
print header ( );
print "This is a test\r\n";
print "name : ", param('name');
I use the HTTP.Submit action as below:
SubmitFName = HTTP.Submit("http://www.myURL.com/cgi-bin/test.cgi", {name="ninj" }, SUBMITWEB_POST, 120, 80, nil, nil);
Dialog.Message("Submit result", "Server Response : "..SubmitFName, MB_OK, MB_ICONNONE, MB_DEFBUTTON1);
The result expected is :
This is a test
name : ninj
However, all i get is :
This is a test
name :
So, from this I assume that my CGI script is not able to get the values passed.
Is there anyone there who have used this action and can prove that the action is really working properly? I have already simplified the CGI script but without any success that's why I'm starting to think that this might be a bug with the HTTP.Submit action. Any ideas, please?!?!
Hi,
FYI, I checked my web server logs and noticed that the values where not recorded as well, whether I use the GET or POST method in the HTTP.Submit.
Ninj
Hi Ninj,
We have been looking into this problem on our side and it appears as though there may be a problem in the HTTP.Submit() action. It does not appear to affect every web script but it does seem to affect a few.
We have been able to replicate and fix the problem on our side and are currently testing it to ensure that there are no other issues.
One work-around that is available to you now, is to include your variables in your URL, something like:
"http://www.myURL.com/cgi-bin/test.cg?name=\"ninj\""
vBulletin® v3.7.3, Copyright ©2000-2009, Jelsoft Enterprises Ltd.