Did you do a `php symfony cc` after installing DbFinder?
On Wed, May 6, 2009 at 14:11, maithili.k shalu0...@gmail.com wrote:
I am getting the error when i run http://localhost/sf_sandbox/web
Fatal error: Uncaught exception 'InvalidArgumentException' with
message 'The plugin DbFinderPlugin
You should check out the propel criteria builder[1], where you can
enter the sql and it generates the criteria for you.
[1] http://propel.jondh.me.uk/criteria/analyse
On Wed, May 6, 2009 at 19:57, Kevin Barsotti
kevin.barso...@tribaldawn.com wrote:
I'm wondering if anyone's familiar with a
Compare:
check_password_callable: [LDAP, checkLDAPPassword]
class LDAPclass extends sfGuardSecurityUser {
in the config you say LDAP, but later you call it LDAPclass, this is
why you get the following error:
Warning: call_user_func_array() [function.call-user-func-array]: First
argument
It is a regexp. The slashes mark the start and the end of the pattern,
the i is the case-insensitive flag, so it also matches .JPG, .jPG,
etc.
Recommended reading: http://hu.php.net/manual/en/regexp.reference.php
/\.jpg$/i that it would look at that as not being a regex expression
because
Show us your schema.yml, the error is there.
On Tue, Apr 28, 2009 at 12:53, Waseem whme...@gmail.com wrote:
Dear All,
i am facing following problem. please help.
D:\Apache2\htdocs\atssymfony propel:build-model
schema converting D:/Apache2/htdocs/a...ig/generated-schema.yml to XML
The problem is caused by the automatic escaping of any data passed
from the controller to the view (including the flash), that you have
enabled while generating the application.
One way to work around it is to disable escaping entirely, but then
you'll have to do this manually, or to get the data
You can use a normal template to be rendered after an ajax call, just
set hasLayout to false either in view.yml, or in your action. I think
symfony can do this automatically when the IsXMLHTTPRequest http
header is set (automatically done by prototype and jquery).
On Thu, Apr 16, 2009 at 16:09,
The cli often has a different php.ini, maybe you don't have pdo
enabled there. Run a phpinfo() from the command line and it will tell
you which php.ini it uses.
On Fri, Apr 17, 2009 at 12:40, Waseem whme...@gmail.com wrote:
i have installed symfony 1.2.5 on windows xp. and using mysql 5 and
/plugins/sfErrorHandlerPlugin
On 16 Apr 2009, at 09:58, FÁSI Gábor wrote:
I suggest uploading the _dev front controller and commenting the die()
command, but make sure you delete is as soon as you've finished.
On Thu, Apr 16, 2009 at 10:52, Roland Cruse cruses...@gmail.com
wrote:
Hi symfony
I suggest uploading the _dev front controller and commenting the die()
command, but make sure you delete is as soon as you've finished.
On Thu, Apr 16, 2009 at 10:52, Roland Cruse cruses...@gmail.com wrote:
Hi symfony coders
I making a rest application which does not show php syntax errors.
/controllers and none of them seem to
call die at least grep did not think so.
I do not understand, could you give me some more details.
Thanks
On Thu, Apr 16, 2009 at 10:58 AM, FÁSI Gábor maerl...@gmail.com wrote:
I suggest uploading the _dev front controller and commenting the die
It's not like you 'should' or 'must', it's just a convention to use
delete for deletion, put for creation or update.
Check this:
http://en.wikipedia.org/wiki/Representational_State_Transfer#RESTful_example:_the_World_Wide_Web
On Wed, Apr 15, 2009 at 14:12, dziobacz aaabbbcccda...@gmail.com
Put an `error_reporting(E_ALL);` before the code, and you'll get the
error message on the output, not just the error log.
On Wed, Apr 15, 2009 at 17:37, Adrien Mogenet adrien.moge...@gmail.com wrote:
I performed a test using `class_exists()` and Swift class seems to be
correctly loaded...
One of the basic symfony principles is don't reinvent the wheel, do
it's highly unlikely they do something that can be done with a single
php function.
On Wed, Apr 15, 2009 at 19:29, Kevin Barsotti
kevin.barso...@tribaldawn.com wrote:
There's no way to do this within the Symfony framework's
I believe you need a validator, even if you don't need the validation.
Check sfValidatorPass:
http://www.symfony-project.org/forms/1_2/en/B-Validators#chapter_b_sub_sfvalidatorpass
On Mon, Apr 13, 2009 at 09:48, dziobacz aaabbbcccda...@gmail.com wrote:
I have made my own search - I don't want
If you meant if utf8 supported cyrillic, the answer is a definite yes.
2009/4/12 Alexandru-Emil Lupu gang.al...@gmail.com:
HI!
you might want to try UTF-8 encoding ?
dunno for sure if it supports cyrilic characters.. but it might be a chance
alecs
2009/4/12 belbek zbit...@gmail.com
The second parameter of the default constructor[1] is an array called
$options. You can use that to pass config settings to the form, and
get them via sfForm's getOption()[2].
[1] http://www.symfony-project.org/api/1_2/sfForm#method___construct
[2]
' =
'Michael'));
in Form:
class ChangeForm extends sfForm
{
public function configure()
{
$a = $this-getOption('parameter1');
.
is it ok ?
On 11 Kwi, 15:53, FÁSI Gábor maerl...@gmail.com wrote:
The second parameter of the default constructor[1
and sid for help :)
On 11 Kwi, 17:23, FÁSI Gábor maerl...@gmail.com wrote:
I don't know what $object is, I tend to use array() there (the default
value for that parameter), but besides this your code seems fine.
On Sat, Apr 11, 2009 at 17:00, dziobacz aaabbbcccda...@gmail.com wrote:
so
I don't think you can make this .yml file dynamic, but you can create
dynamic credential checks with something like sfBasicSecurityFilter.
You can check its source here:
http://trac.symfony-project.org/browser/branches/1.2/lib/filter/sfBasicSecurityFilter.class.php
Focus on the
jeroen_heeft_behoefte_aan_r...@hotmail.com
wrote:
Ok, I will look into it. Thank you!
More suggestions are welcome :)
On 9 apr, 13:54, FÁSI Gábor maerl...@gmail.com wrote:
I don't think you can make this .yml file dynamic, but you can create
dynamic credential checks with something like
My customized 404 page does send a 404 http code, your example makes
me think the default one doesn't.
Add a custom error page (settings.yml, error_404_module and
error_404_action) and try again.
On Thu, Apr 9, 2009 at 15:47, Pierre Bastoul pie...@o10c.fr wrote:
would you like to try :
mime_types should be an array.
On Wed, Apr 8, 2009 at 10:26, saturn1...@hotmail.com
saturn1...@hotmail.com wrote:
Hello in the case of an upload of mp3 file, i write this validator :
$this-validatorSchema['son'] = new sfValidatorFile(array(
'required' = true,
'path' =
Try .../staff/edit/someid
On Tue, Apr 7, 2009 at 15:46, Nacho Bergmann nachoc...@gmail.com wrote:
I add some info:
This are my routes:
textos:
class: sfDoctrineRouteCollection
options:
model:Textos
module: textos
prefix_path:
cd /path/to/symfony; php symfony clearActiveUsers
On Wed, Apr 8, 2009 at 04:49, xhe hexuf...@gmail.com wrote:
Don't know if you have ever met this issue.
I want to run sym1.2 task from cron cli environemnt, in windows, I
will use
php symfony clearActiveUsers
But in linux cron, how can we
ArenaFor:
Ice Hockey, Shinny, Level
Chttp://goaliegigs.local/frontend_dev.php/goalies/apply-for-booking/1
It looks like I have to put in two line breaks for each line break I
want to see?!
On Apr 2, 1:13 pm, FÁSI Gábor maerl...@gmail.com wrote:
Do you get the linebreaks in the source
You can use sqlType in your schema, but you may lose portability this way.
On Fri, Apr 3, 2009 at 11:31, andreas inputrequi...@googlemail.com wrote:
Hi all,
unfortunately, MySQL VARCHAR columns are not case-sensitive by default.
To make them case-sensitive, columns need to be defined like
This problem has nothing to do with max_execution_time, and by the
way: that's a php config value, not an apache one.
On Fri, Apr 3, 2009 at 05:48, sherwin corpuz sherwincor...@gmail.com wrote:
Your Apache execution is only 30 second in default, make it large,
max_execution time of your
Do you get the linebreaks in the source? You can check it with the
'show original' menuitem under the downarrow.
On Thu, Apr 2, 2009 at 18:46, Steve the Canuck steve.san...@gmail.com wrote:
Hi,
I am sending plain text emails from my app using Swift Mailer. The
email bodies are all stored
You linked screenshots for two different screens: one for the job
list, one for an edit job page.
Just checked jobeet day 03, seems like the url is incorrect, it should
be like /job/edit/1 or something like that.
On Tue, Mar 31, 2009 at 22:27, Emily Berk em...@armadillosoft.com wrote:
I've
It's pretty useful when you have two files with the same name
uploaded. You can get the original filename via
sfValidatedFile-getOriginalName()
An instance of sfValidatedFile is returned by sfValidatorFile by default.
On Mon, Mar 30, 2009 at 11:51, HAUSa
While saving the form data in your action, you can get the
sfValidatedFile instance by calling $form[file]-getValue(), and
that has the getOriginalName() method I was referring to.
On Mon, Mar 30, 2009 at 12:46, HAUSa
jeroen_heeft_behoefte_aan_r...@hotmail.com wrote:
Fási, thank you too! But I
On Thu, Mar 26, 2009 at 09:31, Benjamin agtle...@gmail.com wrote:
Lets say I change a field called name to first_name. Then I rebuild
the models. fooPeer::NAME will no longer exist. Do I then manually
define that constant in a peer class?
Nope, you can use the phpName attribute for
Well, the problem is: your mysql extension is not loaded. :P
Check your php.ini, make sure there's no semicolon before the
pdo_mysql extension. Note: the cli and the cgi versions often have a
different php.ini.
On Thu, Mar 26, 2009 at 11:01, sachin jain jainsachi...@gmail.com wrote:
, HAUSa
jeroen_heeft_behoefte_aan_r...@hotmail.com wrote:
I changed it, but still got the same problem...
On 25 mrt, 14:15, Fási Gábor maerl...@gmail.com wrote:
Check the encoding of your file, if I view it with iso-8859-1 instead
of utf8, it's fine.
On Wed, Mar 25, 2009 at 10:56, HAUSa
You have the short open tags php option enabled, so ? already
starts the php interpreter, and you get a syntax error.
On Thu, Mar 26, 2009 at 14:48, Nei Rauni Santos nra...@gmail.com wrote:
Hi,
I did the day 15 of Jobeet today, and I got an error when it render the atom
template:
Parse
Check the encoding of your file, if I view it with iso-8859-1 instead
of utf8, it's fine.
On Wed, Mar 25, 2009 at 10:56, HAUSa
jeroen_heeft_behoefte_aan_r...@hotmail.com wrote:
See here:
http://www.starterswijzerutrecht.nl/zoeken/jkals
It is in dutch :P but in the main part you see two
You can use __construct(), just like anywhere else in php. Remember to
call parent::__construct().
On Tue, Mar 24, 2009 at 16:11, dziobacz aaabbbcccda...@gmail.com wrote:
How can I make constructor in symfony ? I have tried:
class see_userActions extends sfActions
{
private $id;
public
What's 'broken'? You mean you can't open it with adobe reader/other
pdf viewer? If you check the contents of the file, does it look like a
valid pdf?
On Tue, Mar 24, 2009 at 12:51, Tomasz Ignatiuk tomek.ignat...@gmail.com wrote:
Hi, I use this code for downloading files. If I download image, it
{
private $ident;
public function __construct()
{
parent::__construct();
$ident=2;
}
.
}
What can be the reason ?
On 24 Mar, 16:41, Fási Gábor maerl...@gmail.com wrote:
You can use __construct(), just like anywhere else in php
strg? is that command?
Ctrl
--~--~-~--~~~---~--~~
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
You can use the validators described in the Forms book, appendix B
http://www.symfony-project.org/book/forms/1_2/en/B-Validators
they can be used w/o the form framework.
On Mon, Mar 23, 2009 at 07:10, Prashanth pmahank...@gmail.com wrote:
Hi All,
iam working with symfony 1.2.
i have created
What you need is BasePeer::doUpdate($selectCriteria, $updateCriteria, $con)
See http://snippets.symfony-project.org/snippet/50
On Sat, Mar 21, 2009 at 09:16, Lawrence Krubner lkrub...@geocities.com wrote:
When I look in Chapter 8 of the book, I realize that Criteria seems to
be mostly about
Did you clear your cache after installing the plugin?
On Sat, Mar 21, 2009 at 00:57, 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:
I'm not sure about the messages, but the labels can be translated, the
form framework does this automatically. Unfortunately, the i18:extract
task doesn't check the generated forms for strings to be translated,
but if you include them in your xliff file, it'll echo the translated
version.
On
Check this, taken from jobeet part 19:
# config/schema.yml
jobeet_category:
_attributes: { isI18N: true, i18nTable: jobeet_category_i18n }
id: ~
jobeet_category_i18n:
id: { type: integer, required: true, primaryKey: true,
foreignTable: jobeet_category,
What's the error message you get? Did you modify all your php.inis?
The cli and the cgi versions often use a different one.
On Tue, Mar 17, 2009 at 00:14, Ghizlane Zinbi ghizlane.zi...@gmail.com wrote:
Hi,
I failed to connect my database oracle9i to symfony1.0
I m developping in windows xp. i
It seems like the site is trying to use the user's culture info, but
it doesn't have any. Add one language, and try again.
On Tue, Mar 17, 2009 at 02:57, xhe hexuf...@gmail.com wrote:
I just followed the jobeet to create a backend admin for my site, but
I met this error when trying to visit.
48 matches
Mail list logo