Archived Forum Post

Index of archived forum posts

Question:

Cannot include("chilkat_9_3_2.php") into PHP code.

Aug 20 '12 at 14:42

When the line include("chilkat_9_3_2.php") is added to any PHP script, it does not work – the page stops loading and nothing happens.


Answer

Here is the solution:

If error tracking is enabled, the following error is produced:

Fatal error: Cannot redeclare class SYSTEMTIME in chilkat_9_3_2.php on line 38

The solution is to use "include_once" instead of "include". For example:

include_once("chilkat_9_3_2.php")