in reply to json return value
The first thing I'd do is to ensure your server script runs without problems, perhaps you don't have the JSON module installed, perl does not have JSON as part of it's core module set. Running the script from the command line will throw errors if a module is missing, apache will throw an error and your client won't be able to get a valid response. Various debugging techniques are covered in CGI Help Guide from CGI Programming.
Update: to install JSON from the command prompt:
cpan JSON
Or speak to your systems administrator.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: json return value
by tobyink (Canon) on Jul 11, 2013 at 09:06 UTC | |
by marto (Cardinal) on Jul 11, 2013 at 10:07 UTC | |
by marto (Cardinal) on Jul 11, 2013 at 09:16 UTC | |
by Anonymous Monk on Jul 11, 2013 at 09:47 UTC | |
by marto (Cardinal) on Jul 11, 2013 at 09:53 UTC | |
by Anonymous Monk on Jul 11, 2013 at 10:56 UTC | |
| |
by stenasc (Novice) on Jul 12, 2013 at 10:18 UTC | |
by marto (Cardinal) on Jul 12, 2013 at 10:34 UTC | |
by stenasc (Novice) on Jul 13, 2013 at 20:56 UTC | |
by marto (Cardinal) on Jul 15, 2013 at 08:18 UTC | |
by Anonymous Monk on Jul 13, 2013 at 23:18 UTC | |
|