PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I have taken code from a webserve that I use to develop my site and placed it on an XP box with Apache and PHP. Both use version 1.3.37 Apache and 4.4.4 PHP.
However... my classes and extended classes are working on my public webserver but not on my local machine. I think it's to do with the way PHP is installed. Can someone please help me identify if settings can affect the classes?
The error received is:
Fatal error: Class events: Cannot inherit from undefined class CLASSNAME in c:\inetpub\wwwroot\websites\includes\classes\events.php on line 3
followed by...
Fatal error: Cannot instantiate non-existent class: events in c:\inetpub\wwwroot\websites\localband\index.php on line 9
I don't see why it wouldn't work on my localhost server as it's the same setup as the online server. Any ideas you may have would be great!