I know this response is a bit late but thought you might still find this
handy:
http://www.symfony-project.org/api/1_1/sfAutoload#method_reloadclasses
Gareth
On Tue, Mar 17, 2009 at 11:47 PM, isleshocky77 sost...@sowebdesigns.comwrote:
Is there a way to reload the autoloaded classes?
I tried to dump data, but I get erros about many to one reference.
It's sql error: invalid result set tablename_id, in my schema.yml it
is Tabelname_id not lowercase tablename_id. Is it that why I get
error? or what it's?
On 17 maalis, 14:39, Ghizlane Zinbi ghizlane.zi...@gmail.com wrote:
Hi,
http://www.symfony-project.org/book/1_0/08-Inside-the-Model-Layer
On Fri, Mar 20, 2009 at 9:16 AM, torso petteri.torsso...@gmail.com wrote:
I tried to dump data, but I get erros about many to one reference.
It's sql error: invalid result set tablename_id, in my schema.yml it
is Tabelname_id
how can i check version of doctrine which I am using in symfony?
--~--~-~--~~~---~--~~
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
:( I'm using 1.2 and dunno backward compatibility issues with previous
versions.
Cheers, Alan
On Thu, Mar 19, 2009 at 9:19 PM, Frank He hexuf...@gmail.com wrote:
maybe I am using symfony propel-init-admin users Users, this method is
still for 1.0, that is why I can not find the file you
Hi,
I m using 1.0 symfony version, but i cant display
$nationalite-getLibelle(). Why?
2009/3/19 Joan Teixidó eliog...@gmail.com
which version are you using?? if it's 1.0, the generator can't automaticly
do things with i18n tables (but is easy to add the behavior).
Joan
2009/3/19 Ghizlane
You're better off finding an Apache mailing list to ask these kind of
questions.
Or even a specific SysAdmin / LAMP one.
Most people here are developers, not SysAdmins ;)
On 20 Mar 2009, at 04:30, Sumedh wrote:
No one... :(
sob sob... :)
Sumedh wrote:
Hi All,
We are upgrading our
Why not just use .htaccess to limit access to the website?
On Fri, Mar 20, 2009 at 10:32 PM, CiPheR an...@stepuptravel.org wrote:
Is there a way to disable project but allow only specific IPs to use
the site? This is very useful for performing post-install validation
so that testers can
Is there a way to disable project but allow only specific IPs to use
the site? This is very useful for performing post-install validation
so that testers can validate the new release without necessarily
opening the site up to the public.
--~--~-~--~~~---~--~~
You
Hello symfonians,
Im trying to get objects from a custom query with Propel 1.3 , symfony
1.2.
The snippet:
http://snippets.symfony-project.org/snippets/tagged/custom/order_by/date
doesnt work with Propel 1.3 and PDO
Any tips ?
Thanks
Joao
--~--~-~--~~~---~--~~
I would like to know if it's possible to make an admin generator based
module to use a different SQL request for the 'list' action depending on the
credential of the connected user ...In practice, I have two credential admin
and operator and I show a lisitng of orders : I would like that the
Why not take a look at the IP exclusion clause in the dev controller
and modify this accordingly?
Make a backup of your existing index.php, then copy the dev controller
to index.php and add your exclusions.
Or, as Sid said - use .htaccess
Or iptables.
Or a firewall.
Many ways to skin
Thanks for the suggestions. IP tables or firewall is not really
appropriate since I still want users to see the unavailable page,
not completely block them.
.htaccess is the easiest for one off manipulation, though it would be
nice to have the feature self-contained in the framework and not have
You can ovverride buildCriteria() method in actions. Check there
credentials and add Criteria to it
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to
Use *your_module*GeneratorConfiguration.class.php. Its PHP based generator
configuration.
U can specify peer there without touching actions.
Cheers, Alan
On Fri, Mar 20, 2009 at 1:07 PM, Tomasz Ignatiuk
tomek.ignat...@gmail.comwrote:
You can ovverride buildCriteria() method in actions. Check
I u want to do that highly congiurable (create module maybe with IP table?)
I would use execution filter - create your own or modify existing security
filtter.
Cheers, Alan
On Fri, Mar 20, 2009 at 12:40 PM, CiPheR an...@stepuptravel.org wrote:
Thanks for the suggestions. IP tables or firewall
Could be made a plugin ;-)
On Sat, Mar 21, 2009 at 2:02 AM, Alan Bem alan@gmail.com wrote:
I u want to do that highly congiurable (create module maybe with IP table?)
I would use execution filter - create your own or modify existing security
filtter.
Cheers, Alan
On Fri, Mar 20, 2009
Hi,
I got the exact same problem. I tried to look at the code, but without
any success.
Did you find a solution?
Thanks,
Saad
On Feb 28, 8:26 pm, Brian Racer bra...@gmail.com wrote:
There is sfErrorLogger
http://www.symfony-project.org/plugins/sfErrorLoggerPlugin and
sfDoctrineErrorLogger
Is doesn't seem silly to anybody else that an error handler that
relies on a DB connection is itself, yet another single point of
failure?
If you've experienced a fatal error, or even a badly handled non-fatal
error, I can't see this is going to help you much. Heh, if the error
is
Thanks for your answers :)I also see that you can put your peer method
directly in the generator.yml file like this :
config:
list:
peer_method: myOwnPeerMethod
I work, but I think their is some pb with filter now ...
2009/3/20 Alan Bem alan@gmail.com
Use
Yep, it could be :)
On Fri, Mar 20, 2009 at 2:05 PM, Sid Bachtiar sid.bacht...@gmail.comwrote:
Could be made a plugin ;-)
On Sat, Mar 21, 2009 at 2:02 AM, Alan Bem alan@gmail.com wrote:
I u want to do that highly congiurable (create module maybe with IP
table?)
I would use execution
On Fri, Mar 20, 2009 at 3:15 PM, xhe hexuf...@gmail.com wrote:
This is how I used it:
step: create a form by this configue
public function configure(){
$this-setWidgets(
array(
'reportedMember' = new sfWidgetFormInput(),
'reportingMember' = new
I see.
The jquery I used is jquery-1.3.min.js, but if i use current stable
jquery-ui, 1.7.1, then the IE browser is broken, i changed to legacy one
with version of 1.5.3, then IE is fine.
Thanks man for your advice.
Frank
On Fri, Mar 20, 2009 at 10:17 AM, Paolo Mainardi
Yeah. I had found that yesterday I guess I should've posted a reply in
case anyone had the same problem. My problem was that I was looking
through the sfCoreAutoad class instead the sfAutoload class. But
thanks again.
--
Stephen Ostrow sost...@sowebdesigns.com
On Mar 20, 3:06 am, Gareth
I have in file action.class.php - this site is only for log in
persons:
$id = $this-getUser()-getGuardUser()-getId();
$this-friends = Doctrine_Query::create()
-select('s1.*, s2.username as username')
-from('SfGuardUserProfile s1')
-innerJoin('s1.SfGuardUser
I thought you might have as well but figured if an answer was posted others
might find it useful as well :)
On Fri, Mar 20, 2009 at 5:22 PM, isleshocky77 sost...@sowebdesigns.comwrote:
Yeah. I had found that yesterday I guess I should've posted a reply in
case anyone had the same problem. My
Hi
I one of my modules I use primary key as a varchar, called logo. So
the default validator which is created by Propel is:
sfValidatorPropelChoice(array('model' = 'Partner', 'column' =
'logo', 'required' = false))
but while validating it throws error that it is invalid. So in
configure I
I'm on a plan90 @ ovh
I get the following message:
Can't connect to local MySQL server through socket '/var/run/mysqld/
mysqld.sock' (2)
when trying to propel:build-all
dev:
propel:
param:
classname: DebugPDO
test:
propel:
param:
classname: DebugPDO
all:
propel:
Can you connect on your db by www.ovh.com/phpmyadmin ???
Date: Fri, 20 Mar 2009 12:32:33 -0700
Subject: [symfony-users] mysql connection problems on ovh
From: ckemm...@gmail.com
To: symfony-users@googlegroups.com
CC: damien.liege...@gmail.com
I'm on a plan90 @ ovh
I get the
well that one particular page doesn't work, but I can connect to this
one:
http://90plan.ovh.net/phpMyadmin/
On Mar 20, 12:47 pm, Gregoire Laporte saturn1...@hotmail.com wrote:
Can you connect on your db bywww.ovh.com/phpmyadmin???
Date: Fri, 20 Mar 2009 12:32:33 -0700
Subject:
And on localhost , with user : root , it works?
Date: Fri, 20 Mar 2009 12:49:20 -0700
Subject: [symfony-users] Re: mysql connection problems on ovh
From: ckemm...@gmail.com
To: symfony-users@googlegroups.com
well that one particular page doesn't work, but I can connect to this
one:
What do you mean? Of course it doesn't run with user root. I'm using a
federated plan, so I have a user configured with limited rights to the
db. And the db doens't run on localhost, but on the server I
specified, namely mysql5-52.90
On Mar 20, 12:53 pm, Gregoire Laporte saturn1...@hotmail.com
ckemmler wrote:
all:
propel:
class: sfPropelDatabase
param:
classname: PropelPDO
dsn: mysql:dbname=;host:mysql5-52.90
username:
password:
encoding: utf8
persistent: true
pooling: true
Because you need to say
!
:-)
nice shot - thanks
On Mar 20, 1:26 pm, Alistair MacDonald iamsl...@gmail.com wrote:
ckemmler wrote:
all:
propel:
class: sfPropelDatabase
param:
classname: PropelPDO
dsn: mysql:dbname=;host:mysql5-52.90
username:
This plugin seems to buy me everything I need. However, I can't
install it using plugin:install...
What about other ways of installing it? How do I know that it's going
to work?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
hey Candide and Alex,
i've got the same probleme and actually can't find any solution for
it.
how can i set the value of hidden field blog_post_id to equivalent of
$_GET['post_id']?
thanks for help
mick
On 17 Feb., 22:23, ckemmler ckemm...@gmail.com wrote:
Thank you alex! But unfortunately
Hey Candide,
i'd the same problem, but i find a solution.
edit action.class.php (apps/frontend/modules/comment/actions/
actions.class.php) and search for the processForm function.
modify this function like this code:
protected function processForm(sfWebRequest $request, sfForm $form)
{
Try by SVN or download the pear package.
++
De : ckemmler ckemm...@gmail.com
À : symfony users symfony-users@googlegroups.com
Envoyé le : Vendredi, 20 Mars 2009, 23h58mn 04s
Objet : [symfony-users] sfGuardExtraPlugin
This plugin seems to buy me everything I
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]
static public function retrieveByUsernameOrEmailAddress
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/
I'm trying to do something very simple. All I want to do is validate
a field. If the field is valid I want to verify that it is (unique),
ie not already in the database.
I have tried many different combinations of validators, but symfony
insists on running a database query to check if it
Try symfony plugin:inslall --release=xx.xx.xx sfGuardExtraPlugin
and make shure you register the plugin in the ProjectConfiguration.class.php
Example:
$this-enablePlugins('sfGuardExtraPlugin');
OR
$this-enableAllPluginsExcept(array('sfXXXPlugin', 'sfCompat10Plugin'));
regards,
Hello Thomas,
Originally I had idea about ajaxified widget based implementation,
something like:
1. Implement the widget, initially it's might be single field to hold
lat/lng.;
2. Implement button on the right of field, to open up modal window with
gmap;
3. Modal window will show the map and
This may seem minor, but it's wasting resources and
driving me nuts.
Yep, sfValidatorAnd has driven many people mad, nut, crazy, and
generally annoyed.
Use sfValidatorAndWithBreak for more proper operator 'And' behaviour
from http://forum.symfony-project.org/index.php/m/70930/
On Sat, Mar
sfValidatorPropelUnique as post validator? When did that changed?
Here's some live code from one of my forms:
$this-setValidator('health_care_institution_book_number', new
sfValidatorAnd(array(
new sfValidatorRegex(array('required' = false, 'pattern' =
Hey,
Suppose you have define a widget as is :
$this-setWidget('problem_code', new sfWidgetFormJQueryAutocompleter
(array(
'url' = $context-getController()-genUrl('@ajax_getProblems'),
)));
Is there any way I can get the widget type (shoud be equal to
sfWidgetFormJqueryAutocompeter in this
get_class($this-getWidget())
On Sat, Mar 21, 2009 at 1:37 AM, fredlab frederic.beauf...@free.fr wrote:
Hey,
Suppose you have define a widget as is :
$this-setWidget('problem_code', new sfWidgetFormJQueryAutocompleter
(array(
'url' =
Of course, supply the name of a widget.
--~--~-~--~~~---~--~~
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
I guess I'm just going to have to write my own validator. Using the
recommend methods throws global errors and I need them specific to the
field.
Alan Bem wrote:
sfValidatorPropelUnique as post validator? When did that changed?
Here's some live code from one of my forms:
My example does not throw global error.
On Mar 21, 1:48 am, Benjamin agtle...@gmail.com wrote:
I guess I'm just going to have to write my own validator. Using the
recommend methods throws global errors and I need them specific to the
field.
Alan Bem wrote:
sfValidatorPropelUnique as post
Are you running at as a post validator though? In symfony 1.2 I'm not
able to run sfValidatorPropelUnique if it's not in a post validator.
I tried setting throw_global_error to false but it wouldn't take it.
Anyway, I wrote a custom validator and it works fine.
Alan Gabriel Bem wrote:
My
Hello,
In my user model I would like to capture the user's ip address for new
records in the user-save() event. I am using symfony 1.2. What is
the best way to access the sfWebRequest object from within the model?
Thank you,
Benjamin
--~--~-~--~~~---~--~~
You
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 *
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 appear.
How do you know that noone else is calling that
54 matches
Mail list logo