It is currently Thu Mar 28, 2024 9:57 am


All times are UTC


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: [php] Fatal error or Internal Server Error
PostPosted: Mon Jun 25, 2007 1:38 pm 
Noobie
Noobie

Joined: Mon Jun 25, 2007 1:31 pm
Posts: 2
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


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 25, 2007 4:17 pm 
Support Team Member

Joined: Mon Feb 21, 2005 10:10 am
Posts: 341
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


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 26, 2007 8:25 am 
Noobie
Noobie

Joined: Mon Jun 25, 2007 1:31 pm
Posts: 2
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ]  Moderators: fhmagic, KJ, Moderators, Support Team

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
100WebSpace © 2011