I?m having trouble creating a class instance. The code I?m using works on another server so I?m thinking it must be some settings that are wrong.
The error message I get is: Fatal error: Class ‘Test’ not found in /mounted-storage/home30a/sub001/sc15979-ERWX/XXXdomainNameXXX/INDEX/test.php on line 6
The class include file seems to get included into the calling file OK. Example code of both the test class and calling page are bellow.
I hope someone can help me out here as it is bound to be some simple setting or something.
The test code I have:
** Mod Edit - Added Code and PHP tags for readabilty.