My forum runs on sub domain. It was working fine. One day suddenly it started showing error.
Calling a member function session_begin() on a non-object in C:\path\to\forum\wwwroot\index.php on line 24.
I copied my forum files to a sub directory under same subdomain. eg. subdomain.domain.com/testforum.
Here it worked well.
I copied the same files in root another subdomain. subdomain2.domain.com
Here it showd error. Then I copied the files under a sub directory in second subdomain. Here it worked well.
Conclusion
If forum files are placed on the wwwroot of the subdomain they show error. If I place them in any subfolder under the same subdomain then they work correctly.
Server guys are saying that this is error of forum software. But I don't think so because initially it was installed on root folder and this error starts showing about 1 week ago. I asked to phpbb support and they given the every possible cause of this error.
But no cause applies on my condition.
I also copied the forum files in my Windows Vista IIS7. and here it worked perfectly at http://localhost:2008/
Please help
Forum software: phpbb3
Web Server: Windows Server 2008
IIS7phpbbwindows server 2008
My Blog on Computer and Technology: http://blogs.antarjaal.in/takneek/
My Blog on Web Development:
http://blogs.antarjaal.in/webvikas/
12 Posts
php problem in iis7
Nov 19, 2008 05:08 PM|futureking|LINK
My forum runs on sub domain. It was working fine. One day suddenly it started showing error.
Calling a member function session_begin() on a non-object in C:\path\to\forum\wwwroot\index.php on line 24.
I copied my forum files to a sub directory under same subdomain. eg. subdomain.domain.com/testforum.
Here it worked well.
I copied the same files in root another subdomain. subdomain2.domain.com
Here it showd error. Then I copied the files under a sub directory in second subdomain. Here it worked well.
Conclusion
If forum files are placed on the wwwroot of the subdomain they show error. If I place them in any subfolder under the same subdomain then they work correctly.
Server guys are saying that this is error of forum software. But I don't think so because initially it was installed on root folder and this error starts showing about 1 week ago. I asked to phpbb support and they given the every possible cause of this error. But no cause applies on my condition.
I also copied the forum files in my Windows Vista IIS7. and here it worked perfectly at http://localhost:2008/
Please help
Forum software: phpbb3
Web Server: Windows Server 2008
IIS7 phpbb windows server 2008
My Blog on Web Development:
http://blogs.antarjaal.in/webvikas/
909 Posts
Re: php problem in iis7
Nov 20, 2008 05:47 AM|HostingASPNet|LINK
Hello,
Do you have any errors in systemroot\System32\LogFiles\HTTPERR?
Regards
HowtoASP.NET - Free ASP.NET tutorials and source code.