100 Web Space
http://forum.100webspace.com/

[php] Fatal error or Internal Server Error
http://forum.100webspace.com/viewtopic.php?f=5&t=7047
Page 1 of 1

Author:  tomq [ Mon Jun 25, 2007 1:38 pm ]
Post subject:  [php] Fatal error or Internal Server Error

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

Author:  Jazzy [ Mon Jun 25, 2007 4:17 pm ]
Post subject: 

Sorry but our host still do not support PHP5 , please use php4 for your files, also note that php5 is installed on the serve for testing proposes and you can try it by renaming your files to .php5

Author:  tomq [ Tue Jun 26, 2007 8:25 am ]
Post subject: 

Ok, thanks.

Rewrite my source to php4 will be waste of time. And I don't know if it is possible - php4 doesn't supported my solutions. I trust there will be php5 soon, I will wait :)

Best Regards,
Tomq

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/