Project

General

Profile

error when running as fastcgi only

Added by Mohammed Rashad over 13 years ago

my application works if i run it as wthttp connector but the same code does not work if i run it as fastcgi connector

the error when running as fastcgi is given below

syntax error

[Break on this error] ;e.id=typeof c=\"string\"?c:co?"app"....name=d;e.object=e.event=null}e.args=[


Replies (4)

RE: error when running as fastcgi only - Added by Koen Deforche about 13 years ago

Hey Mohammed,

It is strange to see interference of the connector on JavaScript syntax errors.

Can you rule out that although you built the FastCGI version without problems, it is not being run using an old version of the Wt library (which may be installed somewhere else on your system) ?

If the problem is genuine, then we will need some kind of reproducing test case.

The indicate line has to do with a JSignal, if that helps.

Regards,

koen

RE: error when running as fastcgi only - Added by Mohammed Rashad about 13 years ago

sorry the problem was it is compiled under old version. i think so. now the issue is solved.

Thanks,

RE: error when running as fastcgi only - Added by Richard Ulrich almost 13 years ago

I seem to have the same problem.

When testing in the development environment with wthttp, it runs fine (debug and release).

But when I deploy with wtfcgi, I get these syntax errors.

Not all apps are affected.

I use the current ubuntu packages from pau's ppa for development and deploying.

Not affected:

http://flugbuch2.ulrichard.ch/

Problems here:

http://flightpred.ulrichard.ch/

http://pointlineweb.ulrichard.ch/

They are installed from my ppa:

https://launchpad.net/\~richi-paraeasy/+archive/ppa/+packages

The syntax errors that firebug displays, are not the same in the two apps.

Rgds

Richard

RE: error when running as fastcgi only - Added by Richard Ulrich almost 13 years ago

If I install the same binary package as on the server to my development machine, it works.

I can't tell what's different on that machine that could be responsible for the different behavior.

Also, I discovered, that the syntax errors that firebug reports are on rather long lines of java script.

The line where pointlineweb fails is 366249 characters long in the firebug source view, and contains webgl data (float arrays).

The line where flightpred fails is 126406 chatacters long and contains Ext.data.SimpleStore and google maps data.

I don't know if that's relevant, but in both cases, the lines where firebug reports syntax errors are the longest lines in the script.

The apache error doesn't give me any vlauable hint.

How can I debug such a problem further?

    (1-4/4)