[symfony-users] Re: i get a blank white screen, even in dev mode, even with sfErrorHandler installed
and, I should add, when I look in my PHP error logs, the last entry is from 2 weeks ago. There are no errors from tonight. How can that be? How can I get a blank white screen, yet nothing gets recorded to the error logs? and yes, I've cleared the cache. many times. On Apr 20, 1:01 am, Lawrence Krubner wrote: > Just setting up a new site. Was working and now it isn't. I forget > what I did to break it. I now get a blank white screen when I go here: > > http://lawrence.sds5.com/esociety/web/test_dev.php/weblog/index > > I tried installing sfErrorHandler so I could get more intelligent > error messages. I installed the files of sfErrorHandler (copied them > over from another project, and I modified settings.yml so it now has > this: > > all: > .settings: > enabled_modules: [default, sfMediaLibrary, sfFormExtra, > sfErrorHandler] > > I still get a plain white screen. Can anyone suggest what I do next? > > This error reminds of what I face when I have a syntax error in a yml > file. Does anyone know where I can test my yml files for parse errors? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Re: i get a blank white screen, even in dev mode, even with sfErrorHandler installed
Wow, this just keeps getting weirder. I went into Subversion and rolled the site back to a version that I know used to work. Then I ran this command: php symfony cc And yet I'm still getting a blank white screen. And yet, the whole site is in Subversion and this version used to work. On Apr 20, 1:11 am, Lawrence Krubner wrote: > and, I should add, when I look in my PHP error logs, the last entry is > from 2 weeks ago. There are no errors from tonight. How can that be? > How can I get a blank white screen, yet nothing gets recorded to the > error logs? > > and yes, I've cleared the cache. many times. > > On Apr 20, 1:01 am, Lawrence Krubner wrote: > > > Just setting up a new site. Was working and now it isn't. I forget > > what I did to break it. I now get a blank white screen when I go here: > > >http://lawrence.sds5.com/esociety/web/test_dev.php/weblog/index > > > I tried installing sfErrorHandler so I could get more intelligent > > error messages. I installed the files of sfErrorHandler (copied them > > over from another project, and I modified settings.yml so it now has > > this: > > > all: > > .settings: > > enabled_modules: [default, sfMediaLibrary, sfFormExtra, > > sfErrorHandler] > > > I still get a plain white screen. Can anyone suggest what I do next? > > > This error reminds of what I face when I have a syntax error in a yml > > file. Does anyone know where I can test my yml files for parse errors? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Re: i get a blank white screen, even in dev mode, even with sfErrorHandler installed
This happened to me once due to a permissions problem, Symfony (or whatever user Symfony/PHP/Apache is running as) could not write to the cache directories, producing a system error that, in production, was an empty screen. When you run "cc" do you see any permission errors fly by along with all the output? Lawrence Krubner wrote: > Wow, this just keeps getting weirder. I went into Subversion and > rolled the site back to a version that I know used to work. Then I ran > this command: > > php symfony cc > > And yet I'm still getting a blank white screen. And yet, the whole > site is in Subversion and this version used to work. > > > > > > On Apr 20, 1:11 am, Lawrence Krubner wrote: > >> and, I should add, when I look in my PHP error logs, the last entry is >> from 2 weeks ago. There are no errors from tonight. How can that be? >> How can I get a blank white screen, yet nothing gets recorded to the >> error logs? >> >> and yes, I've cleared the cache. many times. >> >> On Apr 20, 1:01 am, Lawrence Krubner wrote: >> >> >>> Just setting up a new site. Was working and now it isn't. I forget >>> what I did to break it. I now get a blank white screen when I go here: >>> >>> http://lawrence.sds5.com/esociety/web/test_dev.php/weblog/index >>> >>> I tried installing sfErrorHandler so I could get more intelligent >>> error messages. I installed the files of sfErrorHandler (copied them >>> over from another project, and I modified settings.yml so it now has >>> this: >>> >>> all: >>> .settings: >>> enabled_modules: [default, sfMediaLibrary, sfFormExtra, >>> sfErrorHandler] >>> >>> I still get a plain white screen. Can anyone suggest what I do next? >>> >>> This error reminds of what I face when I have a syntax error in a yml >>> file. Does anyone know where I can test my yml files for parse errors? >>> > > > > > -- Kevin Barsotti Operations Director Tribal Dawn, LLC 412.736.1357 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Re: i get a blank white screen, even in dev mode, even with sfErrorHandler installed
On Apr 20, 1:49 am, Kevin Barsotti wrote: > This happened to me once due to a permissions problem, Symfony (or > whatever user Symfony/PHP/Apache is running as) could not write to the > cache directories, producing a system error that, in production, was an > empty screen. When you run "cc" do you see any permission errors fly by > along with all the output? Thanks for responding. To answer your question, no. There was at one point an error about "Could not write to cache file /etc/etc/etc". Something like that. I deleted the file and then ran "cc" again, and everything was fine. This is the output I now get: lawre...@paris:~/public_html/esociety$ php symfony cc >> cache Clearing cache type "all" for "test" app and "test" env >> file+ /home/lawrence/public_html/esociety/data/test_test-cli.lck >> chmod 777 /home/lawrence/public_html/esociety/data/test_test-cli.lck >> file- /home/lawrence/public_html/esoc.../config_config_handlers.yml.php >> file- /home/lawrence/public_html/esoc.../test/config/config_app.yml.php >> file- /home/lawrence/public_html/esoc.../config/config_settings.yml.php >> file- /home/lawrence/public_html/esociety/data/test_test-cli.lck >> cache Clearing cache type "all" for "test" app and "dev" env >> file+ /home/lawrence/public_html/esociety/data/test_dev-cli.lck >> chmod 777 /home/lawrence/public_html/esociety/data/test_dev-cli.lck >> file- /home/lawrence/public_html/esoc.../config_config_handlers.yml.php >> file- /home/lawrence/public_html/esoc...t/dev/config/config_app.yml.php >> file- /home/lawrence/public_html/esoc.../config/config_settings.yml.php >> file- /home/lawrence/public_html/esociety/data/test_dev-cli.lck > Lawrence Krubner wrote: > > Wow, this just keeps getting weirder. I went into Subversion and > > rolled the site back to a version that I know used to work. Then I ran > > this command: > > > php symfony cc > > > And yet I'm still getting a blank white screen. And yet, the whole > > site is in Subversion and this version used to work. > > > On Apr 20, 1:11 am, Lawrence Krubner wrote: > > >> and, I should add, when I look in my PHP error logs, the last entry is > >> from 2 weeks ago. There are no errors from tonight. How can that be? > >> How can I get a blank white screen, yet nothing gets recorded to the > >> error logs? > > >> and yes, I've cleared the cache. many times. > > >> On Apr 20, 1:01 am, Lawrence Krubner wrote: > > >>> Just setting up a new site. Was working and now it isn't. I forget > >>> what I did to break it. I now get a blank white screen when I go here: > > >>>http://lawrence.sds5.com/esociety/web/test_dev.php/weblog/index > > >>> I tried installing sfErrorHandler so I could get more intelligent > >>> error messages. I installed the files of sfErrorHandler (copied them > >>> over from another project, and I modified settings.yml so it now has > >>> this: > > >>> all: > >>> .settings: > >>> enabled_modules: [default, sfMediaLibrary, sfFormExtra, > >>> sfErrorHandler] > > >>> I still get a plain white screen. Can anyone suggest what I do next? > > >>> This error reminds of what I face when I have a syntax error in a yml > >>> file. Does anyone know where I can test my yml files for parse errors? > > -- > Kevin Barsotti > Operations Director > Tribal Dawn, LLC > 412.736.1357 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Re: i get a blank white screen, even in dev mode, even with sfErrorHandler installed
On Apr 20, 1:49 am, Kevin Barsotti wrote: > This happened to me once due to a permissions problem, Symfony (or > whatever user Symfony/PHP/Apache is running as) could not write to the > cache directories, producing a system error that, in production, was an > empty screen. When you run "cc" do you see any permission errors fly by > along with all the output? And also, I should add, I did find a parse error in settings.yml, but I fixed it and then re-ran "cc". And I still get this blank white page: http://lawrence.sds5.com/esociety/web/test_dev.php/weblog/index > Lawrence Krubner wrote: > > Wow, this just keeps getting weirder. I went into Subversion and > > rolled the site back to a version that I know used to work. Then I ran > > this command: > > > php symfony cc > > > And yet I'm still getting a blank white screen. And yet, the whole > > site is in Subversion and this version used to work. > > > On Apr 20, 1:11 am, Lawrence Krubner wrote: > > >> and, I should add, when I look in my PHP error logs, the last entry is > >> from 2 weeks ago. There are no errors from tonight. How can that be? > >> How can I get a blank white screen, yet nothing gets recorded to the > >> error logs? > > >> and yes, I've cleared the cache. many times. > > >> On Apr 20, 1:01 am, Lawrence Krubner wrote: > > >>> Just setting up a new site. Was working and now it isn't. I forget > >>> what I did to break it. I now get a blank white screen when I go here: > > >>>http://lawrence.sds5.com/esociety/web/test_dev.php/weblog/index > > >>> I tried installing sfErrorHandler so I could get more intelligent > >>> error messages. I installed the files of sfErrorHandler (copied them > >>> over from another project, and I modified settings.yml so it now has > >>> this: > > >>> all: > >>> .settings: > >>> enabled_modules: [default, sfMediaLibrary, sfFormExtra, > >>> sfErrorHandler] > > >>> I still get a plain white screen. Can anyone suggest what I do next? > > >>> This error reminds of what I face when I have a syntax error in a yml > >>> file. Does anyone know where I can test my yml files for parse errors? > > -- > Kevin Barsotti > Operations Director > Tribal Dawn, LLC > 412.736.1357 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Re: i get a blank white screen, even in dev mode, even with sfErrorHandler installed
On Apr 20, 1:49 am, Kevin Barsotti wrote: > This happened to me once due to a permissions problem, Symfony (or > whatever user Symfony/PHP/Apache is running as) could not write to the > cache directories, producing a system error that, in production, was an > empty screen. When you run "cc" do you see any permission errors fly by > along with all the output? The sysadmin might have chrooted the directory I'm working, so that the project now points to a local copy of the core symfony framework, rather than pointing to the standard location: /usr/share/php/symfony Not sure if that could be causing a problem. At least one site on this server continued to work after he did the chroot bit. --- lawrence > Lawrence Krubner wrote: > > Wow, this just keeps getting weirder. I went into Subversion and > > rolled the site back to a version that I know used to work. Then I ran > > this command: > > > php symfony cc > > > And yet I'm still getting a blank white screen. And yet, the whole > > site is in Subversion and this version used to work. > > > On Apr 20, 1:11 am, Lawrence Krubner wrote: > > >> and, I should add, when I look in my PHP error logs, the last entry is > >> from 2 weeks ago. There are no errors from tonight. How can that be? > >> How can I get a blank white screen, yet nothing gets recorded to the > >> error logs? > > >> and yes, I've cleared the cache. many times. > > >> On Apr 20, 1:01 am, Lawrence Krubner wrote: > > >>> Just setting up a new site. Was working and now it isn't. I forget > >>> what I did to break it. I now get a blank white screen when I go here: > > >>>http://lawrence.sds5.com/esociety/web/test_dev.php/weblog/index > > >>> I tried installing sfErrorHandler so I could get more intelligent > >>> error messages. I installed the files of sfErrorHandler (copied them > >>> over from another project, and I modified settings.yml so it now has > >>> this: > > >>> all: > >>> .settings: > >>> enabled_modules: [default, sfMediaLibrary, sfFormExtra, > >>> sfErrorHandler] > > >>> I still get a plain white screen. Can anyone suggest what I do next? > > >>> This error reminds of what I face when I have a syntax error in a yml > >>> file. Does anyone know where I can test my yml files for parse errors? > > -- > Kevin Barsotti > Operations Director > Tribal Dawn, LLC > 412.736.1357 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Re: i get a blank white screen, even in dev mode, even with sfErrorHandler installed
I guess the real question is, how do I get Symfony to talk to me? A blank white screen does not give me any clue about what to fix. I can't get sfErrorHander to work - nothing works. And whatever the error is, it seems like Symfony is suppressing it, since no errors appear in the PHP logs. On Apr 20, 1:01 am, Lawrence Krubner wrote: > Just setting up a new site. Was working and now it isn't. I forget > what I did to break it. I now get a blank white screen when I go here: > > http://lawrence.sds5.com/esociety/web/test_dev.php/weblog/index > > I tried installing sfErrorHandler so I could get more intelligent > error messages. I installed the files of sfErrorHandler (copied them > over from another project, and I modified settings.yml so it now has > this: > > all: > .settings: > enabled_modules: [default, sfMediaLibrary, sfFormExtra, > sfErrorHandler] > > I still get a plain white screen. Can anyone suggest what I do next? > > This error reminds of what I face when I have a syntax error in a yml > file. Does anyone know where I can test my yml files for parse errors? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Re: i get a blank white screen, even in dev mode, even with sfErrorHandler installed
On Apr 20, 1:01 am, Lawrence Krubner wrote: > Just setting up a new site. Was working and now it isn't. I forget > what I did to break it. I now get a blank white screen when I go here: > > http://lawrence.sds5.com/esociety/web/test_dev.php/weblog/index > > I tried installing sfErrorHandler so I could get more intelligent > error messages. I installed the files of sfErrorHandler (copied them > over from another project, and I modified settings.yml so it now has > this: > > all: > .settings: > enabled_modules: [default, sfMediaLibrary, sfFormExtra, > sfErrorHandler] > > I still get a plain white screen. Can anyone suggest what I do next? > > This error reminds of what I face when I have a syntax error in a yml > file. Does anyone know where I can test my yml files for parse errors? Here are some of the things I'm assuming. Someone please tell me where I might be wrong. Given a blank white screen, there are 3 main things I should check: 1.) clear the cache 2.) look for parse errors in yml files 3.) look for permission errors but I have done all these things. So what is next? What 4th area typically causes problems? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Re: i get a blank white screen, even in dev mode, even with sfErrorHandler installed
On Apr 20, 1:01 am, Lawrence Krubner wrote: > Just setting up a new site. Was working and now it isn't. I forget > what I did to break it. I now get a blank white screen when I go here: > > http://lawrence.sds5.com/esociety/web/test_dev.php/weblog/index > > I tried installing sfErrorHandler so I could get more intelligent > error messages. I installed the files of sfErrorHandler (copied them > over from another project, and I modified settings.yml so it now has > this: > > all: > .settings: > enabled_modules: [default, sfMediaLibrary, sfFormExtra, > sfErrorHandler] > > I still get a plain white screen. Can anyone suggest what I do next? > > This error reminds of what I face when I have a syntax error in a yml > file. Does anyone know where I can test my yml files for parse errors? Here are some of the things I'm assuming. Someone please tell me where I might be wrong. Given a blank white screen, there are 3 main things I should check: 1.) clear the cache 2.) look for parse errors in yml files 3.) look for permission errors but I have done all these things. So what is next? What 4th area typically causes problems? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Re: i get a blank white screen, even in dev mode, even with sfErrorHandler installed
I'm honestly not sure what to tell you; if there's a PHP syntax error that Symfony is catching, there should be something in the /log/appname.dev.log file (or something similar), and likewise it shouldn't be displaying a blank page unless the template it's attempting to load is nonexistent or blank. But my understanding of the framework is far from perfect. Lawrence Krubner wrote: > > On Apr 20, 1:01 am, Lawrence Krubner wrote: > >> Just setting up a new site. Was working and now it isn't. I forget >> what I did to break it. I now get a blank white screen when I go here: >> >> http://lawrence.sds5.com/esociety/web/test_dev.php/weblog/index >> >> I tried installing sfErrorHandler so I could get more intelligent >> error messages. I installed the files of sfErrorHandler (copied them >> over from another project, and I modified settings.yml so it now has >> this: >> >> all: >> .settings: >> enabled_modules: [default, sfMediaLibrary, sfFormExtra, >> sfErrorHandler] >> >> I still get a plain white screen. Can anyone suggest what I do next? >> >> This error reminds of what I face when I have a syntax error in a yml >> file. Does anyone know where I can test my yml files for parse errors? >> > > > > > > Here are some of the things I'm assuming. Someone please tell me where > I might be wrong. > > Given a blank white screen, there are 3 main things I should check: > > 1.) clear the cache > > 2.) look for parse errors in yml files > > 3.) look for permission errors > > but I have done all these things. So what is next? What 4th area > typically causes problems? > > > > > > -- Kevin Barsotti Operations Director Tribal Dawn, LLC 412.736.1357 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Re: i get a blank white screen, even in dev mode, even with sfErrorHandler installed
You might try removing sfErrorHandler from your settings.yml (clear cache) and see if your log file is getting written to while in "dev" mode.Then go from there. On Mon, Apr 20, 2009 at 9:22 AM, Kevin Barsotti wrote: > > I'm honestly not sure what to tell you; if there's a PHP syntax error > that Symfony is catching, there should be something in the > /log/appname.dev.log file (or something similar), and likewise it > shouldn't be displaying a blank page unless the template it's attempting > to load is nonexistent or blank. > > But my understanding of the framework is far from perfect. > > Lawrence Krubner wrote: >> >> On Apr 20, 1:01 am, Lawrence Krubner wrote: >> >>> Just setting up a new site. Was working and now it isn't. I forget >>> what I did to break it. I now get a blank white screen when I go here: >>> >>> http://lawrence.sds5.com/esociety/web/test_dev.php/weblog/index >>> >>> I tried installing sfErrorHandler so I could get more intelligent >>> error messages. I installed the files of sfErrorHandler (copied them >>> over from another project, and I modified settings.yml so it now has >>> this: >>> >>> all: >>> .settings: >>> enabled_modules: [default, sfMediaLibrary, sfFormExtra, >>> sfErrorHandler] >>> >>> I still get a plain white screen. Can anyone suggest what I do next? >>> >>> This error reminds of what I face when I have a syntax error in a yml >>> file. Does anyone know where I can test my yml files for parse errors? >>> >> >> >> >> >> >> Here are some of the things I'm assuming. Someone please tell me where >> I might be wrong. >> >> Given a blank white screen, there are 3 main things I should check: >> >> 1.) clear the cache >> >> 2.) look for parse errors in yml files >> >> 3.) look for permission errors >> >> but I have done all these things. So what is next? What 4th area >> typically causes problems? >> >> > >> >> >> > > -- > Kevin Barsotti > Operations Director > Tribal Dawn, LLC > 412.736.1357 > > > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Re: i get a blank white screen, even in dev mode, even with sfErrorHandler installed
On 20 Apr 2009, at 07:24, Lawrence Krubner wrote: > Given a blank white screen, there are 3 main things I should check: > > 1.) clear the cache > > 2.) look for parse errors in yml files > > 3.) look for permission errors > > but I have done all these things. So what is next? What 4th area > typically causes problems? You've already answered your own question On 20 Apr 2009, at 07:20, Lawrence Krubner wrote: > The sysadmin might have chrooted the directory I'm working, so that > the project now points to a local copy of the core symfony framework, > rather than pointing to the standard location: > > /usr/share/php/symfony The 4th thing to check is "other people 'fixing' my application that wasn't broke" I'm pretty sure this is the root of your problem. Find your SysAdmin - beat them with a stale baguette, like one of our cops would beat a G20 protester Whenever we have our SysAdmins "play" with our applications, it's done whilst a developer is with them - so that they can be sure to check everything that could cause the application to break - and to actually test that it still works afterwards. It certainly sounds like a permissions issue - make sure you've done a chmod -R 777 on both log/ and cache/ Other than that, make sure you've got a sensible error logging level set, and that display_errors in on... It's going to be a silly error - so you just need to think through everything logically :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Re: i get a blank white screen, even in dev mode, even with sfErrorHandler installed
Hi, I recently got a similar problem on the same env : Apache/2.2.8 (Ubuntu) + PHP/5.2.4-2ubuntu5.5. When I took a look to frontend.log, there were this error : ALERT - canary mismatch on efree() - heap overflow detected sfYamlParser.class.php Never really find how to fix it ... I just reload apache, and the problem is gone. But sometimes, it comes back... On 20 avr, 11:24, Lee Bolding wrote: > On 20 Apr 2009, at 07:24, Lawrence Krubner wrote: > > > Given a blank white screen, there are 3 main things I should check: > > > 1.) clear the cache > > > 2.) look for parse errors in yml files > > > 3.) look for permission errors > > > but I have done all these things. So what is next? What 4th area > > typically causes problems? > > You've already answered your own question > > On 20 Apr 2009, at 07:20, Lawrence Krubner wrote: > > > The sysadmin might have chrooted the directory I'm working, so that > > the project now points to a local copy of the core symfony framework, > > rather than pointing to the standard location: > > > /usr/share/php/symfony > > The 4th thing to check is "other people 'fixing' my application that > wasn't broke" > > I'm pretty sure this is the root of your problem. Find your SysAdmin - > beat them with a stale baguette, like one of our cops would beat a G20 > protester > > Whenever we have our SysAdmins "play" with our applications, it's done > whilst a developer is with them - so that they can be sure to check > everything that could cause the application to break - and to actually > test that it still works afterwards. > > It certainly sounds like a permissions issue - make sure you've done a > chmod -R 777 on both log/ and cache/ > > Other than that, make sure you've got a sensible error logging level > set, and that display_errors in on... > > It's going to be a silly error - so you just need to think through > everything logically :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Re: i get a blank white screen, even in dev mode, even with sfErrorHandler installed
Interesting. I kept looking in the error log and I was frustrated that there was no error. But now, I just looked in the access log. The access is being recorded, but it is sending a 500 response (is that technically correct? Do 500 errors belong in the access log, instead of the error log? I find that surprising). But for some reason, the 500 error doesn't appear on screen: http://lawrence.sds5.com/esociety/web/test_dev.php All I get is a blank white screen. What could choke a 500 response before it is sent to the browser? On Apr 20, 9:03 am, Jeremy Benoist wrote: > Hi, > > I recently got a similar problem on the same env : Apache/2.2.8 > (Ubuntu) + PHP/5.2.4-2ubuntu5.5. > > When I took a look to frontend.log, there were this error : > ALERT - canary mismatch on efree() - heap overflow detected > sfYamlParser.class.php > > Never really find how to fix it ... I just reload apache, and the > problem is gone. > But sometimes, it comes back... > > On 20 avr, 11:24, Lee Bolding wrote: > > > On 20 Apr 2009, at 07:24, Lawrence Krubner wrote: > > > > Given a blank white screen, there are 3 main things I should check: > > > > 1.) clear the cache > > > > 2.) look for parse errors in yml files > > > > 3.) look for permission errors > > > > but I have done all these things. So what is next? What 4th area > > > typically causes problems? > > > You've already answered your own question > > > On 20 Apr 2009, at 07:20, Lawrence Krubner wrote: > > > > The sysadmin might have chrooted the directory I'm working, so that > > > the project now points to a local copy of the core symfony framework, > > > rather than pointing to the standard location: > > > > /usr/share/php/symfony > > > The 4th thing to check is "other people 'fixing' my application that > > wasn't broke" > > > I'm pretty sure this is the root of your problem. Find your SysAdmin - > > beat them with a stale baguette, like one of our cops would beat a G20 > > protester > > > Whenever we have our SysAdmins "play" with our applications, it's done > > whilst a developer is with them - so that they can be sure to check > > everything that could cause the application to break - and to actually > > test that it still works afterwards. > > > It certainly sounds like a permissions issue - make sure you've done a > > chmod -R 777 on both log/ and cache/ > > > Other than that, make sure you've got a sensible error logging level > > set, and that display_errors in on... > > > It's going to be a silly error - so you just need to think through > > everything logically :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Re: i get a blank white screen, even in dev mode, even with sfErrorHandler installed
is it ACTUALLY a 500 error? does it have a 500 status code? or does it have a 200 status code, and the request is for an error500.php? (or similar) If it's the former, I guess that when your sysadmin played with your application, they set the access and error logs to be one and the same. If it's the latter, then it could still be a number of things - permissions, missing file, syntax error in the file, that the error500 itself is causing a further 500 error... it could even be that there isn't ANYTHING wrong, and that your error500.php is infact empty - so that's what you're being served - an empty file. What exactly is the message of the 500 code? this should be in the log On 20 Apr 2009, at 18:27, Lawrence Krubner wrote: > > > Interesting. I kept looking in the error log and I was frustrated that > there was no error. But now, I just looked in the access log. The > access is being recorded, but it is sending a 500 response (is that > technically correct? Do 500 errors belong in the access log, instead > of the error log? I find that surprising). But for some reason, the > 500 error doesn't appear on screen: > > http://lawrence.sds5.com/esociety/web/test_dev.php > > All I get is a blank white screen. > > What could choke a 500 response before it is sent to the browser? > > > > On Apr 20, 9:03 am, Jeremy Benoist wrote: >> Hi, >> >> I recently got a similar problem on the same env : Apache/2.2.8 >> (Ubuntu) + PHP/5.2.4-2ubuntu5.5. >> >> When I took a look to frontend.log, there were this error : >> ALERT - canary mismatch on efree() - heap overflow detected >> sfYamlParser.class.php >> >> Never really find how to fix it ... I just reload apache, and the >> problem is gone. >> But sometimes, it comes back... >> >> On 20 avr, 11:24, Lee Bolding wrote: >> >>> On 20 Apr 2009, at 07:24, Lawrence Krubner wrote: >> Given a blank white screen, there are 3 main things I should check: >> 1.) clear the cache >> 2.) look for parse errors in yml files >> 3.) look for permission errors >> but I have done all these things. So what is next? What 4th area typically causes problems? >> >>> You've already answered your own question >> >>> On 20 Apr 2009, at 07:20, Lawrence Krubner wrote: >> The sysadmin might have chrooted the directory I'm working, so that the project now points to a local copy of the core symfony framework, rather than pointing to the standard location: >> /usr/share/php/symfony >> >>> The 4th thing to check is "other people 'fixing' my application that >>> wasn't broke" >> >>> I'm pretty sure this is the root of your problem. Find your >>> SysAdmin - >>> beat them with a stale baguette, like one of our cops would beat a >>> G20 >>> protester >> >>> Whenever we have our SysAdmins "play" with our applications, it's >>> done >>> whilst a developer is with them - so that they can be sure to check >>> everything that could cause the application to break - and to >>> actually >>> test that it still works afterwards. >> >>> It certainly sounds like a permissions issue - make sure you've >>> done a >>> chmod -R 777 on both log/ and cache/ >> >>> Other than that, make sure you've got a sensible error logging level >>> set, and that display_errors in on... >> >>> It's going to be a silly error - so you just need to think through >>> everything logically :) > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Re: i get a blank white screen, even in dev mode, even with sfErrorHandler installed
On Apr 20, 5:24 am, Lee Bolding wrote: > On 20 Apr 2009, at 07:24, Lawrence Krubner wrote: > > > Given a blank white screen, there are 3 main things I should check: > > > 1.) clear the cache > > > 2.) look for parse errors in yml files > > > 3.) look for permission errors > > > but I have done all these things. So what is next? What 4th area > > typically causes problems? > > You've already answered your own question > > On 20 Apr 2009, at 07:20, Lawrence Krubner wrote: > > > The sysadmin might have chrooted the directory I'm working, so that > > the project now points to a local copy of the core symfony framework, > > rather than pointing to the standard location: > > > /usr/share/php/symfony > > The 4th thing to check is "other people 'fixing' my application that > wasn't broke" > > I'm pretty sure this is the root of your problem. Find your SysAdmin - > beat them with a stale baguette, like one of our cops would beat a G20 > protester > > Whenever we have our SysAdmins "play" with our applications, it's done > whilst a developer is with them - so that they can be sure to check > everything that could cause the application to break - and to actually > test that it still works afterwards. Okay, it seems you were right. Talked to the sysadmin. He thought the issue was arising from suexec he imposed on the server. Finally got something to appear on the front page: http://lawrence.sds5.com/esociety/web/test_dev.php though the inner pages are still blank white: http://lawrence.sds5.com/esociety/web/comment/index > > It certainly sounds like a permissions issue - make sure you've done a > chmod -R 777 on both log/ and cache/ > > Other than that, make sure you've got a sensible error logging level > set, and that display_errors in on... > > It's going to be a silly error - so you just need to think through > everything logically :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Re: i get a blank white screen, even in dev mode, even with sfErrorHandler installed
This is your error : Fatal error: Call to undefined method BasePeer::getmapbuilder() in / home/lawrence/public_html/esociety/lib/model/om/BaseCommentPeer.php on line 69 From this URL : http://lawrence.sds5.com/esociety/web/test_dev.php/comment/index On 20 Apr 2009, at 21:11, Lawrence Krubner wrote: > > > > On Apr 20, 5:24 am, Lee Bolding wrote: >> On 20 Apr 2009, at 07:24, Lawrence Krubner wrote: >> >>> Given a blank white screen, there are 3 main things I should check: >> >>> 1.) clear the cache >> >>> 2.) look for parse errors in yml files >> >>> 3.) look for permission errors >> >>> but I have done all these things. So what is next? What 4th area >>> typically causes problems? >> >> You've already answered your own question >> >> On 20 Apr 2009, at 07:20, Lawrence Krubner wrote: >> >>> The sysadmin might have chrooted the directory I'm working, so that >>> the project now points to a local copy of the core symfony >>> framework, >>> rather than pointing to the standard location: >> >>> /usr/share/php/symfony >> >> The 4th thing to check is "other people 'fixing' my application that >> wasn't broke" >> >> I'm pretty sure this is the root of your problem. Find your >> SysAdmin - >> beat them with a stale baguette, like one of our cops would beat a >> G20 >> protester >> >> Whenever we have our SysAdmins "play" with our applications, it's >> done >> whilst a developer is with them - so that they can be sure to check >> everything that could cause the application to break - and to >> actually >> test that it still works afterwards. > > > Okay, it seems you were right. Talked to the sysadmin. He thought the > issue was arising from suexec he imposed on the server. Finally got > something to appear on the front page: > > http://lawrence.sds5.com/esociety/web/test_dev.php > > > though the inner pages are still blank white: > > http://lawrence.sds5.com/esociety/web/comment/index > > > > > > > > > > > > > > >> >> It certainly sounds like a permissions issue - make sure you've >> done a >> chmod -R 777 on both log/ and cache/ >> >> Other than that, make sure you've got a sensible error logging level >> set, and that display_errors in on... >> >> It's going to be a silly error - so you just need to think through >> everything logically :) > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---