| Dan Barbaria 2006-11-02, 7:12 pm |
| I'm building a new web app. I have a custom class (fileRerunClass.cc) that
I've use without problem in another web app.
As I started building the new web app, I used the same class but realize
that I would be better off creating a new class for the new app built on the
old class. So I simply copied the old class and renamed it making some
minor changes. It doesn't work and I don't understand why. What happens is
I get an error returned from the web server
that says:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable
to complete your request.
Reviewing the apache error log it reports a "malformed header from script.
Bad header..."
The original class (fileRerunClass.cc) starts as follows:
class fileRerunClass of CGISession from "..\..\PnPWebclass.cc"
The program that uses it without problems has these lines of code:
set procedure to FileRerunClass.cc additive
oCGI = new fileRerunClass()
oCGI.Connect()
When I copied fileRerunClass.cc, I named it PrintRequest.cc and changed the
first line to this:
class printRequest of CGISession from "..\..\PnPWebclass.cc"
In the program that uses it I changed the code to:
set procedure to PrintRequest.cc additive
oCGI = new printRequest()
oCGI.Connect()
These are the only changes and I sure don't understand why it doesn't work.
Any ideas?
Thanks
Dan Barbaria
|