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 8738511
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T10:44:44+00:00 2026-06-13T10:44:44+00:00

i have a symfony2 project works well, after some modification of html, i always

  • 0

i have a symfony2 project works well, after some modification of html, i always get a blank page when i set in app.php:

$kernel = new AppKernel('prod', false);

but if i set the debug parameter to true:

$kernel = new AppKernel('prod', true);

everything works fine, i haven’t see any log in my prod.log. I use php apc and fastCGI on my server. Anyone can tell me the difference between the parameter? Or this is just a problem of cache?

  • 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-06-13T10:44:45+00:00Added an answer on June 13, 2026 at 10:44 am

    finally, i have found the problem.
    I searched again in my log of appache, i got this error:
    [Fri Oct 26 14:12:19 2012] [error] [client 127.0.0.1] PHP Fatal error: require() [function.require]: Failed opening required ‘D:/workspace/symfony_bannieres/app/cache/devprod/doctrine/orm/Proxies\AcmeModerationBundleEntityModerationObjectStatusProxy.php’ (include_path=’.;d:\software\wamp\bin\php\php5.3.9\pear’) in D:\workspace\symfony_bannieres\vendor\doctrine\lib\Doctrine\ORM\Proxy\ProxyFactory.php on line 85

    ok, that means i do not have the entity proxy file. I check this file in the dev env, it exist. so i figure out which is a problem of my entity class. I found in my entity class where exists a un defined relationship,

     /**
     * @var AddepiUser
     *
     * @ORM\ManyToOne(targetEntity="AddepiUser")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="addepi_user_id", referencedColumnName="id")
     * })
     */
    private $addepiUser;
    

    in fact i do not have this entity. so i removed this one and use

    php app/console cache:warmup --env=prod --no-debug
    

    to warm up the prod env. everything works just fine.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Symfony2 project with a MySQL db: #app/config/config.yml doctrine: dbal: driver: %database_driver%
When I update my Symfony2 project I always have to do this: root@xxx:/var/www/project# php
I have a question about symfony2. I have a project and I am using
I have a symfony project with the followin structure SDCU |-app |-----cache |-----logs |-bin
In my Symfony 2 project, I have a page displaying information about an entity.
In Symfony2 (2.0.3) I have a BetaBundle that is set as the parent of
I have setup a SonataAdminBundle on my Symfony 2.1.2 project and it works correctly.
I have a Symfony2 project with its own database, and now I want to
I use Doctrine2 as ORM in a Symfony2 project. I have article and tag
I have added the translator service for my Symfony2 project. I use it both

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.