Hello,
I recently had very much trouble dealing with a weird „Could not execute
script”
error. After I changes suPHP's source code, so the error message would also
show
a cause, I immediately fixed the error. In order to avoid other people having
headaches, I highly recommend the following patch. Thanks.
Should you have any comments, please CC me, as I am not subscribed on the list.
=== cut here ===
--- src/Application.cpp.orig 2006-02-05 22:21:03.000000000 +0200
+++ src/Application.cpp 2008-02-14 17:23:41.000000000 +0200
@@ -475,7 +475,7 @@
}
} catch (SystemException& e) {
throw SoftException("Could not execute script \"" + scriptFilename
- + "\"", e, __FILE__, __LINE__);
+ + "\": " + e.getMessage(), __FILE__, __LINE__);
}
}
=== end here ===
--
+-------------------------------------+
| Cristian KLEIN |
| Network Engineer |
| Communication Center |
| Technical University of Cluj-Napoca |
+-------------------------------------+
| Tel: +40-264-401247, int. 247 |
| WWW: http://www.cc.utcluj.ro |
+-------------------------------------+
_______________________________________________
suPHP mailing list
[email protected]
http://lists.marsching.biz/mailman/listinfo/suphp