[Solved] Symfony works only at root on IIS

Discussion relating to version 1.3.x and 1.4.x

[Solved] Symfony works only at root on IIS

Postby jeanmich » Fri Mar 09, 2012 5:14 pm

Hello,
I am using symfony 1.4, and a Windows Server Web Edition 2008 R2.
It only works if project is at root on C: If project is in inetpub or any folder, I'm having a blank page. So here is php53_errors.log:

Code: Select all
[09-Mar-2012 14:46:27 UTC] PHP Fatal error:  require(): Failed opening required 'C:/myproject/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/database/sfDoctrineDatabase.class.php' (include_path='.;C:\php\pear') in C:\inetpub\myproject\cache\intranet\prod\config\config_core_compile.yml.php on line 95


I don't know why it is searching at C:\myproject instead of C:\inetpub\myproject...
Thank you for your help.
Last edited by jeanmich on Sun Mar 11, 2012 4:13 pm, edited 1 time in total.
jeanmich
Junior Member
 
Posts: 24
Joined: Thu Nov 06, 2008 10:31 pm
Location: France

Re: Symfony works only at root on IIS

Postby jeanmich » Sun Mar 11, 2012 4:13 pm

I finnaly solved it, I created a new Web site with a right-click in IIS Manager, and it created a new Application Pool and not a Application in default website.
So I put my web site in another folder, and I don't have the problem.
jeanmich
Junior Member
 
Posts: 24
Joined: Thu Nov 06, 2008 10:31 pm
Location: France


Return to symfony 1.3 and 1.4

Who is online

Users browsing this forum: No registered users and 8 guests