I'm using OOP PHP5. When I want to load class using _autoload function I've got an error:
Code:
Fatal error: Cannot instantiate non-existent class: main in /home/www/rowerowo.100webspace.net/index.php on line 20
First thing - there is no php5 set as default... but when I add to my .htaccess file:
Code:
:Location *.(php)
Use php5
There is:
Code:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, support (at) 100ws.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
Any ideas, help?
Best Regards,
Tomq