[symfony-users] Re: Problem with doctrine:build-schema

2010-11-27 Thread lawrence
I have been struggling with this same issue. I have written this up on Symfony Experts. I am offering a $20 prize for a solution: http://www.symfonyexperts.com/question/show/id/156 Any help is greatly appreciated. I have been stuck on this for hours. On Nov 16, 6:45 am, Pratik Mazumder

[symfony-users] Re: Problem with doctrine:build-schema

2010-11-27 Thread lawrence
Any progress with this? I am desperate for an answer. On Nov 16, 6:45 am, Pratik Mazumder pmazumder2...@gmail.com wrote: No Alex, I don't have tabs. These are white spaces only !!! On Tue, Nov 16, 2010 at 5:11 PM, Dominik Tuleweit symf...@tuleweit.comwrote: You have tabs for

[symfony-users] Re: Problem with doctrine:build-schema

2010-11-27 Thread lawrence
Are there any other scripts I might be able to use to generate the schema? doctrine:build-schema does not work On Nov 16, 6:45 am, Pratik Mazumder pmazumder2...@gmail.com wrote: No Alex, I don't have tabs. These are white spaces only !!! On Tue, Nov 16, 2010 at 5:11 PM, Dominik Tuleweit

[symfony-users] database configuration question

2010-04-09 Thread lawrence
There is a $60 award for a question about database configuration on Symfony Experts: http://www.symfonyexperts.com/question/show/id/36 -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are

[symfony-users] Re: if anyone would like to sign up on our site, we could use some Symfony experts

2010-02-28 Thread lawrence
On Feb 23, 3:59 am, Eno symb...@gmail.com wrote: I dont suppose anyone knows of a similar site forAndroidquestions? :-) We will be launching an Android site at the end of March. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com

[symfony-users] Re: How to get user object on libs to not get the erro The default context does not exist.

2010-02-22 Thread lawrence
On Feb 19, 12:08 pm, Nei Rauni Santos nra...@gmail.com wrote: It worked for me, do you think it's a good solution? ?php class tools {   /*    * This code is used to allow get the user object on sf 1.3    * I usually used to $sf_user = sfContext::getInstance()-getUser();    * but it

[symfony-users] if anyone would like to sign up on our site, we could use some Symfony experts

2010-02-20 Thread lawrence
Hey, everyone, we are looking for some Symfony programmers to answer questions on our new Symfony site. Darren Hoyt and I are often asked for help with small programming or design tasks, simple problems that require maybe 5 minutes of our time. We find it isn't always easy to charge for the small

[symfony-users] Re: Free opensource Symfony-friendly PHP IDE: NetBeans 6.8

2010-01-06 Thread lawrence
NetBeans 6.8 has built-in Symfony support. I have composed small blog- post about setting up symfony project in NetBeans: http://www.fractalizer.ru/frpost_393/free-opensource-symfony-friendly... I consider now NetBeans as a replacement for Zend Studio ;) Yes, people should consider this,

[symfony-users] Re: Accessing arrays from templates turns them into sfOutputEscaperArrayDecorator objects?

2010-01-06 Thread lawrence
On Jan 4, 11:58 pm, Eno symb...@gmail.com wrote: actions.class.php: $this-content_tabs = array('key1' = 'value1', 'key2' = 'value2'); Maybe something like this? $this-content_tabs[] = new array('key1' = 'value1', 'key2' = 'value2'); This is PHP. Why new array? -- You received this

[symfony-users] created_at is intermittently blank

2010-01-05 Thread lawrence
I've a problem with the created_at field defined in my schema.yml on this site: http://www.wpquestions.com/ I've this table: sf_guard_user_profile: _attributes: { phpName: sfGuardUserProfile } id: ~ user_id: { type: integer, foreignTable: sf_guard_user,

[symfony-users] is anyone else having trouble with url_for()?

2010-01-04 Thread lawrence
We are having a serious problem with url_for() on our site. Sometimes it does not correctly render the HTML. I saw it myself, but only in Google Chrome. But then our customers began reporting it in FireFox: -- I noticed it happening a few times in various locations, on the top experts

[symfony-users] Re: is anyone else having trouble with url_for()?

2010-01-04 Thread lawrence
before, the problem is intermittent. But it just stopped a customer from completing a sale, so I regard the problem as serious. --- lawrence On Tue, Jan 5, 2010 at 8:44 AM, lawrence lawrence.krub...@gmail.com wrote: We are having a serious problem with url_for() on our site

[symfony-users] Re: is anyone else having trouble with url_for()?

2010-01-04 Thread lawrence
/ Basically, an HTML element will fail to render correctly, and some of the HTML will appear on screen. It is almost as if the closing is forgotten. But if you hit refresh, or View Source then the problem is vanishes. --- lawrence On Mon, Jan 4, 2010 at 2:54 PM, lawrence lawrence.krub

[symfony-users] Re: is anyone else having trouble with url_for()?

2010-01-04 Thread lawrence
On Jan 4, 4:31 pm, Gábor Fási maerl...@gmail.com wrote: ui=2view=attth= 1257035cb4bc9c21attid=0.1disp=attdrealattid=ii_1257035cb4bc9c21zw This is a partial view attachment link from gmail's web interface - how did it end up on your site? Interesting. It is possible that he made a

[symfony-users] anonymous visits getting into a module marked credentials: admin. Why?

2009-12-13 Thread Lawrence
I create a new module. Then I create a folder called config in that module, and in a file called security.yml I add: all: is_secure: on credentials: admin Then I run symfony cc. And yet, even when I'm not logged in, I can still point my browser at every page in the module. Did I forget

[symfony-users] Re: anonymous visits getting into a module marked credentials: admin. Why?

2009-12-13 Thread Lawrence
I'm using Symfony 1.2.5 On Dec 13, 7:42 pm, Lawrence lkrub...@geocities.com wrote: I create a new module. Then I create  a folder called config in that module, and in a file called security.yml I add: all:   is_secure:   on   credentials: admin Then I run symfony cc. And yet, even when

Re: [symfony-users] config/error/erro.html.php cannot be shown

2009-11-27 Thread Lawrence Krubner
apps/frontend/config/settings.yml all: .actions: error_404_module: default error_404_action: error404 Don't you want to change the error module? I usually create a module called error: error_404_module: error I put all of my error templates in there. On Fri, Nov 27, 2009 at

Re: [symfony-users] Re: is sfLucenePlugin dead? what are people using for search?

2009-11-26 Thread Lawrence Krubner
Thanks, Thomas, I look forward to using it. But what is the correct URL for the newest (reasonably stable) version? On Thu, Nov 26, 2009 at 4:01 AM, Thomas Rabaix thomas.rab...@gmail.com wrote: Hello, I am not working anymore on the Zend_Search version as it suffers from performance issues.

Re: [symfony-users] File uploading

2009-11-26 Thread Lawrence Krubner
Hey guys, I need to allow users to upload files. Thing is, I am not using the SF Forms, and my forms are as basic as they can be. I want to make use of something that is the equivalent of $this-getrequest()-moveFile() but that seems to be deprecated. I don't understand your question. If

[symfony-users] any plugins offering a GUI form builder for non-programmers

2009-10-04 Thread lawrence
I've a friend who is in charge of overseeing a web start-up. They are still assembling their tech team, but their recruiters are already active gathering up corporations and talents into a database. As a stop-gap (since he has no tech team), he has started building forms using Zoho.com. The

[symfony-users] what plugins or code do symfony developers prefer for image cropping?

2009-09-29 Thread lawrence
A client has asked me to build an image gallery. I'm curious what code or plugins Symfony developers typically use for this (assuming there is any typical usage). Have developers here used the eCropPlugin, and do you have an opinion about it?

[symfony-users] why do the objects take so long to dump to screen?

2009-07-26 Thread Lawrence
I was pursuing a rare bug involved with saving a form, so I opened sfForm.class.php and I added in a print_r() statement: public function getErrorSchema() { echo the error schema: ; print_r($this-errorSchema); die(); return $this-errorSchema; } I simply wanted to see what the

[symfony-users] where does symfony hard-code paths?

2009-06-15 Thread Lawrence
This was a surprising problem. I suppose it shows how poorly I understand Symfony. We were doing development on our server at this path: /home/mypail/home/sfprojects/bw2/ On the server, in the directory that is available on the web, we created an alias so that the above path could be reached

[symfony-users] how can we find out if an URL is pointing to a template? (if we want to delete the template?)

2009-05-25 Thread Lawrence
Recently, I was working on a site, and we deleted a template that we no longer wanted. But it turned out, in an obscure area of the site, there was a link going to that template. So when people clicked on that link, they got an error page. The site is under rapid evolution and we are constantly

[symfony-users] What might cause output to appear when running a command line script? We're getting: Content-type: text/html; charset=iso-8859-1

2009-05-18 Thread Lawrence
We are now unable to run commands such as: symfony propel:build-all-load Because this seems to output between all the major steps: X-Powered-By: PHP/5.2.9 Content-type: text/html; charset=iso-8859-1 Which causes this: Fatal error: Class 'Content-type' not found in /home/apartments/php/

[symfony-users] Re: What might cause output to appear when running a command line script? We're getting: Content-type: text/html; charset=iso-8859-1

2009-05-18 Thread Lawrence
But this just started a few days ago. The problem wasn't there last week. On 18. Máj, 08:02 h., Lawrence lkrub...@geocities.com wrote: We are now unable to run commands such as: symfony propel:build-all-load Because this seems to output between all the major steps: X-Powered-By: PHP

[symfony-users] Re: Symfony backend questions?

2009-05-18 Thread Lawrence
As Eno says, you would create a plugin to share a module between the backend and frontend. For the sake of simplicity, I usually create duplicate, redundant modules on the frontend and backend. Once the project is up and running, if there is time, I pull them out and make them a plugin. Fabien

[symfony-users] Re: What might cause output to appear when running a command line script? We're getting: Content-type: text/html; charset=iso-8859-1

2009-05-18 Thread Lawrence
On May 18, 4:43 pm, Eno symb...@gmail.com wrote: On Mon, 18 May 2009, Lawrence wrote: mybai...@mybailiwick.com [~/home/sfprojects/bw2]# php -v PHP 5.2.9 (cgi-fcgi) (built: May 18 2009 02:46:53) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend

[symfony-users] Re: how to change an integer form input to a string?

2009-05-18 Thread Lawrence
- in the validators. But I guess the model classes do this too. On Mon, May 18, 2009 at 7:13 AM, Lawrence lkrub...@geocities.com wrote: I've got a field that was mistakenly defined in the schema as an integer. So the base class looks like this (I'm leaving out the irrelevant fields

[symfony-users] how to change an integer form input to a string?

2009-05-17 Thread Lawrence
I've got a field that was mistakenly defined in the schema as an integer. So the base class looks like this (I'm leaving out the irrelevant fields): $this-setWidgets(array( 'payment_amount'= new sfWidgetFormInput(), )); $this-setValidators(array( 'payment_amount'

[symfony-users] we are going to convert a site from Propel to Doctrine. What are the pain points?

2009-04-25 Thread Lawrence Krubner
We are going to convert a site from using Propel to using Doctrine. Have others done this? Can you suggest what the pain points are? I haven't looked, but I assume the Doctrine interface is different and therefore we need to crawl through our code changing a lot of method calls.

[symfony-users] Re: Propel question: how to get AND instead of OR

2009-04-23 Thread Lawrence Krubner
-addDescendingOrderByColumn(WeblogPeer::CREATED_AT);    $this-sendDataToPager(Weblog, $c); On Thu, Apr 23, 2009 at 8:20 AM, Lawrence Krubner lkrub...@geocities.comwrote: I have this code:    $this-howManyToPage = 6;    $c = new Criteria();    $c-add(WeblogPeer::CATEGORY, general

[symfony-users] Re: Propel question: how to get AND instead of OR

2009-04-23 Thread Lawrence Krubner
::NOT_EQUAL);    $c-addDescendingOrderByColumn(WeblogPeer::CREATED_AT);    $this-sendDataToPager(Weblog, $c); On Thu, Apr 23, 2009 at 8:20 AM, Lawrence Krubner lkrub...@geocities.comwrote: I have this code:    $this-howManyToPage = 6;    $c = new Criteria();    $c-add(WeblogPeer

[symfony-users] Oddly enough, sfPager isn't working, though I copied the code over from a site that was working

2009-04-23 Thread Lawrence Krubner
Hmm. Odd. Go here and scroll to the bottom of the page: http://lawrence.sds5.com/esociety/web/ You'll see these links, created by sfPager: « 1 - 2 » But click on the 2, and it doesn't work. You're still on the front page. Most of my code is copy-n-paste of the code snippets on the Symfony

[symfony-users] Re: Oddly enough, sfPager isn't working, though I copied the code over from a site that was working

2009-04-23 Thread Lawrence Krubner
On Apr 23, 7:56 am, Eno symb...@gmail.com wrote: On Thu, 23 Apr 2009, LawrenceKrubnerwrote: The code has worked before, in other contexts, so I'm unclear why it is not working now. Are you sure there are 30 items? You probably should have some code that doesn't show the next link if

[symfony-users] Re: http://www.symfony-project.org/plugins/ Unavailable

2009-04-22 Thread Lawrence Krubner
On Apr 22, 12:13 am, Sherif sherifgmans...@gmail.com wrote: I'm unable to login tohttp://www.symfony-project.org/plugins/(its been like that for a few hours now). When you try to login, you get a 500 Server error. Just posting it here if anyone knows someone who can fix this, that would be

[symfony-users] Re: How do I set a field value on a form?

2009-04-22 Thread Lawrence Krubner
On Apr 22, 7:36 am, Adrien Mogenet adrien.moge...@gmail.com wrote: Be careful Mark, I think that by this way you'll get the same issue that I got... =http://groups.google.fr/group/symfony-users/browse_thread/thread/8473... setDefault() didn't work for me within the form to force a value

[symfony-users] Re: Admin linking.

2009-04-22 Thread Lawrence Krubner
On Apr 22, 10:07 am, Valkerian valker...@gmail.com wrote: Morning all. I'm going to throw out a really simple question here about the backend admin. If I want to prefill a field when creating a new item, how do I do that via a link? Say I have a contact form and I want to link to it such

[symfony-users] Propel question: how to get AND instead of OR

2009-04-22 Thread Lawrence Krubner
I have this code: $this-howManyToPage = 6; $c = new Criteria(); $c-add(WeblogPeer::CATEGORY, general, Criteria::NOT_EQUAL); $c-add(WeblogPeer::CATEGORY, featured, Criteria::NOT_EQUAL); $c-add(WeblogPeer::ACTIVE, 0, Criteria::NOT_EQUAL);

[symfony-users] what kind of errors should I expect upgrading from Symfony 1.1 to 1.2?

2009-04-21 Thread Lawrence Krubner
So, I had a working site on an old server, running Symfony 1.1. I've moved the site to a new server, running Symfony 1.2. Now I get errors like this: Fatal error: Call to undefined method BasePeer::getmapbuilder() in / home/lawrence/public_html/esociety/lib/model/om/BaseCommentPeer.php on line

[symfony-users] Re: Something I don't understand with form default values

2009-04-21 Thread Lawrence Krubner
Which version of Symfony? You should always be able to force a default value from the action. Always. I've done this many times. On Apr 20, 5:42 pm, Adrien Mogenet adrien.moge...@gmail.com wrote: As I tought it changed nothing...  :-/ -- Adrien On 20 avr, 23:28, FlyLM [ML]

[symfony-users] Re: Error: Unable to open PDO connection

2009-04-21 Thread Lawrence Krubner
On Apr 21, 4:57 am, Lee Bolding l...@leesbian.net wrote: On 21 Apr 2009, at 07:41, Lawrence Krubner wrote: 500 | Internal Server Error | PropelException Unable to open PDO connection [wrapped: SQLSTATE[28000] [1045] Access denied for user 'lawrence'@'localhost' (using password

[symfony-users] Why would I get a Template not set error message?

2009-04-21 Thread Lawrence Krubner
So, I've been having some troubles. We just moved a new site (we'd barely started work on it, really) from a server that had been running Symfony 1.1 to a new server running 1.2. As Lee Bolding said, moving and upgrading at the same time guarantees some pain. But I've been reading tutorials and

[symfony-users] Re: Why would I get a Template not set error message?

2009-04-21 Thread Lawrence Krubner
On Apr 21, 1:36 pm, Lawrence Krubner lkrub...@geocities.com wrote: So, I've been having some troubles. We just moved a new site (we'd barely started work on it, really) from a server that had been running Symfony 1.1 to a new server running 1.2. As Lee Bolding said, moving and upgrading

[symfony-users] is anyone currently able to reach the Plugins page on Symfony-Project.org?

2009-04-21 Thread Lawrence Krubner
When I go here: http://www.symfony-project.org/plugins/ I get this error: Content Encoding Error The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression. The page you are trying to view cannot be shown because it uses an invalid or

[symfony-users] what is the best wiki plugin for Symfony 1.2?

2009-04-21 Thread Lawrence Krubner
I'm building a site using Symfony 1.2. The client has asked for a simple wiki where staff can collect business information. Does anyone recommend any of the wiki plugins? I just looked over the plugin page. Seems like there are few wiki plugins for 1.2.

[symfony-users] Re: is anyone currently able to reach the Plugins page on Symfony-Project.org?

2009-04-21 Thread Lawrence Krubner
Odd. I got that error as soon as I tried to log in. I finally fixed it by deleting all cookies from the symfony- project.org site. On Apr 21, 5:07 pm, Sid Bachtiar sid.bacht...@gmail.com wrote: I can view the page fine On Wed, Apr 22, 2009 at 9:00 AM, Lawrence Krubner lkrub

[symfony-users] Re: is anyone currently able to reach the Plugins page on Symfony-Project.org?

2009-04-21 Thread Lawrence Krubner
On Apr 21, 10:18 pm, Eno symb...@gmail.com wrote: On Tue, 21 Apr 2009, Lawrence Krubner wrote: I finally fixed it by deleting all cookies from the symfony- project.org site. I tried that. I still get the error upon login. Yes, I'm unable to login. But at least, when I deleted all

[symfony-users] i seem unable to get the settings right for security.yml

2009-04-21 Thread Lawrence Krubner
I've a website with 1 app and inside of that are 8 modules. One module is open to the public, and the others are to be behind a password. I seem unable to figure out how to say this in security.yml. I realize I can set these things by creating a file inside of a config of each module, but I

[symfony-users] what are the best tutorials on how to build a full public profile system for users, based off of sfGuard?

2009-04-21 Thread Lawrence Krubner
I've been asked to build, not quite an online social network, more like a system where users can sign up and create public profile pages. I'm starting with sfGuard as my base. Can anyone point me to some of the better tutorials and blog posts on this subject?

[symfony-users] Re: i get a blank white screen, even in dev mode, even with sfErrorHandler installed

2009-04-20 Thread Lawrence Krubner
, 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

[symfony-users] Re: i get a blank white screen, even in dev mode, even with sfErrorHandler installed

2009-04-20 Thread Lawrence Krubner
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

[symfony-users] Re: i get a blank white screen, even in dev mode, even with sfErrorHandler installed

2009-04-20 Thread Lawrence Krubner
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

[symfony-users] Re: i get a blank white screen, even in dev mode, even with sfErrorHandler installed

2009-04-20 Thread Lawrence Krubner
. On Apr 20, 1:01 am, Lawrence Krubner lkrub...@geocities.com 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

[symfony-users] Re: i get a blank white screen, even in dev mode, even with sfErrorHandler installed

2009-04-20 Thread Lawrence Krubner
On Apr 20, 1:01 am, Lawrence Krubner lkrub...@geocities.com 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

[symfony-users] Re: i get a blank white screen, even in dev mode, even with sfErrorHandler installed

2009-04-20 Thread Lawrence Krubner
On Apr 20, 1:01 am, Lawrence Krubner lkrub...@geocities.com 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

[symfony-users] Re: i get a blank white screen, even in dev mode, even with sfErrorHandler installed

2009-04-20 Thread Lawrence Krubner
just reload apache, and the problem is gone. But sometimes, it comes back... On 20 avr, 11:24, Lee Bolding l...@leesbian.net 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

[symfony-users] Re: i get a blank white screen, even in dev mode, even with sfErrorHandler installed

2009-04-20 Thread Lawrence Krubner
On Apr 20, 5:24 am, Lee Bolding l...@leesbian.net 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

[symfony-users] when I try to use propel:build-model I get error

2009-04-20 Thread Lawrence Krubner
information What would cause this? I've already changed all the permissions to 0777: drwxrwxrwx 2 lawrence lawrence 4096 2009-04-20 22:26 . drwxr-xr-x 12 lawrence lawrence 4096 2009-04-20 22:22 .. -rwxrwxrwx 1 lawrence lawrence 122 2009-04-20 22:15 databases.yml -rwxrwxrwx 1 lawrence lawrence

[symfony-users] Re: when I try to use propel:build-model I get error

2009-04-20 Thread Lawrence Krubner
On Apr 20, 11:13 pm, Eno symb...@gmail.com wrote: On Mon, 20 Apr 2009, Lawrence Krubner wrote: [propel-om] Could not perform XLST transformation.  Make sure PHP has been compiled/configured to support XSLT. I think perhaps the error above is the problem? Thanks for the response

[symfony-users] Re: when I try to use propel:build-model I get error

2009-04-20 Thread Lawrence Krubner
On Apr 20, 11:13 pm, Eno symb...@gmail.com wrote: On Mon, 20 Apr 2009, Lawrence Krubner wrote: [propel-om] Could not perform XLST transformation.  Make sure PHP has been compiled/configured to support XSLT. I think perhaps the error above is the problem? On the older server, where

[symfony-users] i get a blank white screen, even in dev mode, even with sfErrorHandler installed

2009-04-19 Thread Lawrence Krubner
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

[symfony-users] Re: i get a blank white screen, even in dev mode, even with sfErrorHandler installed

2009-04-19 Thread Lawrence Krubner
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

[symfony-users] what does this mean: Argument 1 passed to sfPatternRouting::configureRoute() must be an instance of sfRoute

2009-04-19 Thread Lawrence Krubner
Check out the error that I'm getting here: http://lawrence.sds5.com/bocahoops/web/frontend_dev.php Catchable fatal error: Argument 1 passed to sfPatternRouting::configureRoute() must be an instance of sfRoute, string given, called in /home/lawrence/symfony/lib/routing

[symfony-users] Re: i get a blank white screen, even in dev mode, even with sfErrorHandler installed

2009-04-19 Thread Lawrence Krubner
. On Apr 20, 1:11 am, Lawrence Krubner lkrub...@geocities.com 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

[symfony-users] how do you create an OR statement using Propel?

2009-04-04 Thread Lawrence Krubner
If I want SQL that has an OR in it, like this: select * from teams where game_id=5 OR game_id=7 How do I get that with Propel. This is not covered in Chapter 8 of the Symfony book. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[symfony-users] Re: in my error logs: Action uploads/assets does not exist.

2009-03-21 Thread Lawrence Krubner
On Mar 21, 1:49 am, Eno symb...@gmail.com wrote: On Fri, 20 Mar 2009, Lawrence Krubner wrote: I've got the sfMediaLibraryPlugin installed, and it uploads files to uploads/assets, but I don't see how that can be an issue. I've haven't been using or testing the plugin, yet these errors

[symfony-users] how do I update 23 records with one query? That is, all the players on a particular team?

2009-03-21 Thread Lawrence Krubner
When I look in Chapter 8 of the book, I realize that Criteria seems to be mostly about building SELECT statements: http://www.symfony-project.org/book/1_1/08-Inside-the-Model-Layer When I look to see how I should update a record, I find a lot of information about updating a particular record,

[symfony-users] Re: Pake V's Phing?

2009-03-21 Thread Lawrence Krubner
On Mar 13, 8:34 am, Lee Bolding l...@leesbian.net wrote: FWIW, I chose Phing. Seems pretty cool - just trying to work out how to make a wrapper so I   can deploy my application like so : ./deploy.sh --target=[dev|test|stage|prod] --tag=svn_tag Lee, can you tell us why you chose Phing?

Re: Re : [symfony-users] sfGuardExtraPlugin

2009-03-21 Thread Lawrence Krubner
On Mar 20, 7:18 pm, ckemmler ckemm...@gmail.com wrote: Thanks! Did that. I have two problems now 1. the README there tells me: * Add method `retrieveByUsernameOrEmailAddress` to get a user by email or username in lib/model/sfGuardPlugin/sfGuardUserPeer.class e.q. [PHP]

Re: Re : [symfony-users] sfGuardExtraPlugin

2009-03-21 Thread Lawrence Krubner
On Mar 20, 7:57 pm, ckemmler ckemm...@gmail.com wrote: This might be more interesting: I just tried to trigger the register action by going to: http://localhost/web/frontend_dev.php/sfGuardRegister/register This got me: Fatal error: Class 'sfGuardFormRegister' not found in /eclipse/

[symfony-users] in my error logs: Action uploads/assets does not exist.

2009-03-20 Thread Lawrence Krubner
As far as I know, I never call an action called uploads/assets. Yet I'm getting this in my error logs: [21-Mar-2009 00:21:10] Action uploads/assets does not exist. I thought maybe I'd accidentally typed this into some module so I did this: cd /apps/frontend/modules grep -R uploads\/assets *

[symfony-users] Re: One module, many forms

2009-03-18 Thread Lawrence Krubner
On Mar 17, 7:23 pm, Tomasz Ignatiuk tomek.ignat...@gmail.com wrote: Hi I have a module called Documents. In this modul I use few kinds of documents. They use the same table in db but different fields. So that I created few Forms for them. I overridden executeNew() in order to call proper

[symfony-users] Re: form_tag_for

2009-03-11 Thread Lawrence Krubner
On Mar 11, 3:41 am, ken marfillas...@gmail.com wrote: Im currently creating my own doctrine admin theme and added tabbing functionality but I just came across a problem and I cant find any answer in the net. How do I pass additional query_string to form_tag_for in _form.php template?

[symfony-users] no key_method in version 1.1 of Symfony?

2009-03-11 Thread Lawrence Krubner
I would like to have this in my child form class: public function configure() { $this-widgetSchema['teamnumber'] = new sfWidgetFormPropelSelect(array ('model' = 'NewTeam', 'add_empty' = true, 'key_method' = 'getTeamnumber', 'choices' = 'Choose a team')); } I need for this drop

[symfony-users] I can not get a class in the lib directory to autoload

2009-03-11 Thread Lawrence Krubner
a team')); } I get this error: Fatal error: Class 'sfWidgetFormPropelSelectForTeams' not found in / home/lawrence/public_html/bocahoops/lib/form/NewCoachForm.class.php on line 18 Why isn't the autoloading working? --~--~-~--~~~---~--~~ You received this message

[symfony-users] Re: a plugin to generate Google Sitemaps

2009-03-11 Thread Lawrence Krubner
it up, so now waiting for the admin to help me sort it out :( In the meantime: http://onlinesid.com/blog/sfsimplegooglesitemapplugin See it in action: http://onlinesid.com/gsitemap On Sun, Mar 8, 2009 at 3:37 PM, Lawrence Krubner lkrub...@geocities.com wrote: On Mar 7, 8:42

[symfony-users] Re: pkContextCMS: the first beta is out!

2009-03-11 Thread Lawrence Krubner
On Mar 11, 6:00 pm, Tom Boutell t...@punkave.com wrote: The first beta release of pkContextCMS is out. pkContextCMS is a CMS based on Symfony 1.2 and Doctrine. Notable features include:     * Editing takes place “in context.” sfSimpleCMS followed this principle for editing slots; we

[symfony-users] Re: Model Peer question about default values

2009-03-11 Thread Lawrence Krubner
I'm guessing that if a value is equal to the default value, then the Model class should assume that this value has never been set before. Think about it the other way around: how should the Model code determine when a value has been previously set? Also, I'm curious, does the default value

[symfony-users] Re: Add values after form submit

2009-03-11 Thread Lawrence Krubner
On Mar 10, 12:58 pm, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com wrote: I got a form, in which users can select multiple values for a field using sfWidgetFormChoiceMany(). Now, is it possible to add more values to the submitted array on submit? I'm not talking about default values

[symfony-users] Re: Bigger or smaller modules ?

2009-03-10 Thread Lawrence Krubner
seeing what they are suppose to see. I could then go through, one by one, and open up those modules that the public should see, but that would cost me about the same delay that doing it the opposite way also cost me. --- lawrence In the apps/yourapp/config/security.yml you can write default

[symfony-users] what background image do people normally use for sfWidgetFormJqueryDate?

2009-03-10 Thread Lawrence Krubner
I've implemented this widget on a form: http://www.symfony-project.org/book/forms/1_2/en/A-Widgets#chapter_a_sub_sfwidgetformjquerydate I am surprised that this doesn't have any background. It is transparent, and it looks wrong. Check out this screenshot:

[symfony-users] Re: what background image do people normally use for sfWidgetFormJqueryDate?

2009-03-10 Thread Lawrence Krubner
On Mar 10, 2:10 am, Lawrence Krubner lkrub...@geocities.com wrote: I've implemented this widget on a form: http://www.symfony-project.org/book/forms/1_2/en/A-Widgets#chapter_a_... I am surprised that this doesn't have any background. It is transparent, and it looks wrong. Check out

[symfony-users] Re: i can not login, using the simple, built in security that Symfony has be default

2009-03-10 Thread Lawrence Krubner
-in settings.yml file, in my opinion. On Mar 6, 6:06 am, Lawrence Krubner lkrub...@geocities.com wrote: On Mar 6, 2:04 am, Sid Bachtiar sid.bacht...@gmail.com wrote: No, AFAIK there isn't default login form. You need sfGuardPlugin or build your own. Where does the login form go? Symfony

[symfony-users] Re: how do I set a default value for a hidden input?

2009-03-10 Thread Lawrence Krubner
On Mar 9, 12:00 pm, CyrilQ cyril.quin...@gmail.com wrote: Hello, i was surprised when reading that setDefault does not exist in symfony 1.1. I downloaded it and you are right, there is no setDefault on sfWidgetSchema class, but i found one in sfForm :   /**    * Sets a default value for

[symfony-users] Re: how do I set a default value for a hidden input?

2009-03-10 Thread Lawrence Krubner
() in your form class wich extends sfForm ? Okay, I tried this and it works. Damn frustrating that I missed that in the API. On Mar 7, 3:26 am, Lawrence Krubner lkrub...@geocities.com wrote: On Mar 6, 7:39 am, Alan Bem alan@gmail.com wrote: Look at this example

[symfony-users] how do I capture the page a user is going to, so after they log in, I can send them there?

2009-03-10 Thread Lawrence Krubner
If someone tries to go to a secure page, I want to stop them and force them to login. Once they are logged in, I want to send them to wherever it was they were trying to go. How do I do this? I thought I needed to get REQUEST_URI, but I find it is not mentioned on the Symfony site:

[symfony-users] how to match a new routing rule to an URL?

2009-03-10 Thread Lawrence Krubner
In routing.yml, I tried to make up a new rule: login_redirect: url: /dashboard/login/originalUri/:redirectUrl param: { module: dashboard, action: redirectAfterLogin I was hoping it would match this URL:

[symfony-users] Drop down select boxes are not showing the current value

2009-03-09 Thread Lawrence Krubner
This is worrisome. I'm setting up a site to manage the teams in high school basketball tournament in Florida. I've got two database tables: new_game: _attributes: { idMethod: native } id: { type: INTEGER, required: true, autoIncrement: true, primaryKey: true } location: { type:

[symfony-users] Re: Drop down select boxes are not showing the current value

2009-03-09 Thread Lawrence Krubner
(NewGamePeer::retrieveByPk($request- getParameter('id'))); } Do I need to implement some magic to get the right values to the drop down select boxes? On Tue, Mar 10, 2009 at 1:52 PM, Lawrence Krubner lkrub...@geocities.com wrote: This is worrisome. I'm setting up a site to manage the teams

[symfony-users] Re: Bigger or smaller modules ?

2009-03-09 Thread Lawrence Krubner
On Mar 9, 9:05 pm, Patrick Fong patr...@ddns.com.au wrote: Hi Guys, I'm looking for a bit of guidance in the design on my application, mainly how much to place in a particular module. The case that I am currently looking at is my user module. As well as the standard, profile, credentials

[symfony-users] how to I override the core symfony code?

2009-03-08 Thread Lawrence Krubner
I'd like to learn more about sfForm and sfFormPropel. For me, that means putting print_r() in the code in various places, and changing the code, breaking things to see how it all fits together. I'd like to do this for one test project, without endangering the other projects that are on the same

[symfony-users] Re: how to I override the core symfony code?

2009-03-08 Thread Lawrence Krubner
On Mar 8, 7:59 am, Leon van der Ree l...@fun4me.demon.nl wrote: Instead of using print_r/var_dump which can be usefull in many situations, it probably is wiser to learn to use a debugger (xdebug). With Eclipse you can set breakpoints in your code. Wben you request a page in your

[symfony-users] form won't work, no error messages, what do I do?

2009-03-08 Thread Lawrence Krubner
I must have done something to damage one of my editSuccess forms (for my NewNews module), since I'm no longer able to create new entries, nor can I edit old entries. No errors are appearing either. What do I do? --~--~-~--~~~---~--~~ You received this message

[symfony-users] Re: form won't work, no error messages, what do I do?

2009-03-08 Thread Lawrence Krubner
On Mar 8, 8:56 pm, Lawrence Krubner lkrub...@geocities.com wrote: I must have done something to damage one of my editSuccess forms (for my NewNews module), since I'm no longer able to create new entries, nor can I edit old entries. No errors are appearing either. What do I do

[symfony-users] Re: what is the best way to enable JQuery in Symfony?

2009-03-08 Thread Lawrence Krubner
On Mar 8, 6:46 am, Lee Bolding l...@leesbian.net wrote: On 8 Mar 2009, at 04:52, Lawrence Krubner wrote: I didn't want to hard code the path, so I moved it to view.yml: all:  javascripts:    - /bocahoops/web/js/jquery/jquery-1.3.1.js This really isn't rocket science. in /apps/app

[symfony-users] a plugin to generate Google Sitemaps

2009-03-07 Thread Lawrence Krubner
I haven't been able to find a plugin that generates a Google Sitemap. (or rather, sitemap for those search engines that use the format developed by Google). Is there one? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[symfony-users] Re: a plugin to generate Google Sitemaps

2009-03-07 Thread Lawrence Krubner
On Mar 7, 8:42 pm, Sid Bachtiar sid.bacht...@gmail.com wrote: I'm looking for it too, to be integrated with sfSimpleBlogPlugin. I don't think there is one at the moment. On Sun, Mar 8, 2009 at 2:38 PM, LawrenceKrubnerlkrub...@geocities.com wrote: I haven't been able to find a plugin that

[symfony-users] Re: what is the best way to enable JQuery in Symfony?

2009-03-07 Thread Lawrence Krubner
On Mar 7, 1:16 am, Ant Cunningham prodigital...@vectrbas-d.com wrote: layout.php is just a wrapper for the the template and contains the head section of the html, so all things that are added to the head are actually added to layout.php by the include_metas() call. so if in

[symfony-users] Re: Symfony Production Performance improvements

2009-03-07 Thread Lawrence Krubner
On Mar 7, 2:06 am, Gareth McCumskey gmccums...@gmail.com wrote: Greetings all, We have recently released a project we have been working on for some months now as an Alpha version and while we have focussed primarily on bug fixing as well as feature completion for the next Alpha release

  1   2   >