Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6948329
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T13:48:30+00:00 2026-05-27T13:48:30+00:00

I am new to symfony, I am reading Practical Symfony , I am working

  • 0

I am new to symfony, I am reading Practical Symfony, I am working on both Linux and Windows. I use GitHub to move my changes. yesterday i created a small project on my windows machine and pushed it to github https://github.com/showketbhat/medicine. I pulled the code today on Linux machine i changed some configurations for my database. now when i try to open my index page it shows me the following error message :-

500 | Internal Server Error | sfFileException

Unable to open the log file “D:\sfproject\medicine\log/backend_dev.log” for writing.
stack trace

* at ()
  in SF_ROOT_DIR/lib/vendor/symfony/lib/log/sfFileLogger.class.php line 75 ...
          72.     $fileExists = file_exists($options['file']);
          73.     if (!is_writable($dir) || ($fileExists && !is_writable($options['file'])))
          74.     {
          75.       throw new sfFileException(sprintf('Unable to open the log file "%s" for writing.', $options['file']));
          76.     }
          77.
          78.     $this->fp = fopen($options['file'], 'a');

I tried to change the permission to 777 for backend_dev.log file, but nothing happen. can anyone help me out?

After Using php symfony project:permissions

>> chmod 777 /home/sfprojects/medicine/cache
>> chmod 777 /home/sfprojects/medicine/log
>> chmod 777 /home/sfprojects/medicine/symfony 
....
....
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T13:48:31+00:00Added an answer on May 27, 2026 at 1:48 pm

    First you must clear the cache and reload the page.

    rm -rf cache/*
    

    or

    php symfony cc
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I created a new bundle on a Symfony project, and I want to use
I am new to symfony. I have created a registration form using the code:
I am new to symfony 2. I am trying to use custom repository in
I am new to Symfony and learning Symfony2 by creating a small project. /
I use symfony's ProjectConfiguration.class.php for configuring doctrine's connection: public function configureDoctrineConnectionCertby(Doctrine_Connection $conn) { $conn->setListener(new
I use symfony 1.4 In my index page, I have created some fields as
I'm new to Propel and Symfony. Well actually more Propel, than Symfony. I'm working
I am new to Symfony. I created a layout page in which I have
I am new to symfony. I have decided to move my wheel with Symfony
I'm working on a new big PHP / Symfony 2 project and decided to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.