Hello,
I have suddenly problems when I try to dump my data.
My model has a listener attached, that changes some queries.
Until now this didn't matter when using doctrine:data-dump. I updated
yesterday to sf 1.4, and now I can't dump the data anymore, because the
listener is executed.
This does
Hey guys, running into a major rut with deploying my symfony application
over A2 hosting...
so my *symfony project:deploy production* runs smooth
but when I run [B]*symfony project:deploy production --go*[/B]
I get this
[B]*rsync: recv_generator: mkdir several/directory/paths failed:
Permission
Parijat Kalia wrote:
Hey guys, running into a major rut with deploying my symfony
application over A2 hosting...
so my *symfony project:deploy production* runs smooth
but when I run [B]*symfony project:deploy production --go*[/B]
I get this
[B]*rsync: recv_generator: mkdir
Permissions of the directories seem to be d---, this is after I have
carried out the synchronization, prior to that it shows that i can rwx,
anyways, what is the fixture for this?
On Mon, Nov 23, 2009 at 1:25 AM, Yanko Simeonoff zech...@gmail.com wrote:
Parijat Kalia wrote:
Hey guys,
I have added setUid and getUid methods in my myUser.class.php
but when I'm running my functional tests I'm not able to use these
methods. I get:
sfException: Call to undefined method myUser::setUid.
My myUser.php.class looks like this:
?php
class myUser extends sfBasicSecurityUser {
Hi !
First, excuse me for my english, I don't have a very high level...
So, i've already meet this problem before.
You just have to change the value, the parameter of setTemplate()
method, which call the template pasted as a parameter.
For example, if you want to redirect to the index template,
I have issue , did you fixed that ?
On Oct 1, 10:59 pm, Vũ Văn Thanh vuthan...@gmail.com wrote:
C:\development\sfprojects\jobeetsymfony doctrine:build-model
doctrine generating model classes
C:\development\sfprojects\jobeetsymfony doctrine:build-sql
doctrine generating sql for models
How can I set a join table with propel for a i18n table?
That table has to be joined by the id and culture field, but as far as
I know the Criteria::addJoin() function only supports just one join
criteria.
--
You received this message because you are subscribed to the Google Groups
symfony
Does anybody know how good is it?
Tried once and it didn't worked...
--
Sidney G B Ferreira
Desenvolvedor Web
--
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe
Use svn rather. Makes life a lot easier
On Mon, Nov 23, 2009 at 11:45 AM, Parijat Kalia kaliapari...@gmail.comwrote:
Permissions of the directories seem to be d---, this is after I have
carried out the synchronization, prior to that it shows that i can rwx,
anyways, what is the fixture
Never tried, but I saw that in the weekly roundup after the bug hunt day, there
were a few fixes relating to Windows functionality.
Probably worth giving it another shot...
On 23 Nov 2009, at 10:49, Sid Ferreira wrote:
Does anybody know how good is it?
Tried once and it didn't worked...
Sorry, do you mean Delete it? what? the layout file??
On 20 nov, 15:21, velu samy velusamym...@gmail.com wrote:
Dleate it
On 11/21/09, tirengarfio tirengar...@gmail.com wrote:
Hi,
I have started to create the layout for my app, but it also appears in
my signining page...
I dont
Any idea?
On 20 nov, 13:57, tirengarfio tirengar...@gmail.com wrote:
Hi,
i have a table to with two fields: user1 and user2.
I have also this code to fetch the user2 column:
// Extraemos los amigos del usuario de la sesion.
$this-friend_list = Doctrine::getTable('FriendReference')
Hi everyone,
My layout includes top-level tabs. The one that's current depends on
the action or even the view.
Currently I have a big associative array inside the layout that maps
module/action keys to the currently active tab.
What would be the proper way to store attributes like this per
You can access your current view from symfony global variables within the
view ($this-getModuleName() $this-getActionName()).
On Fri, Nov 20, 2009 at 6:23 PM, Bram van Leur bvl...@gmail.com wrote:
Hi everyone,
My layout includes top-level tabs. The one that's current depends on
the action
In general for PHP applications I would always want to stick to a LAMP
setup. But that is a personal opinion based on the fact that I find Linux an
easier and more secure environment to setup for, not to mention far easier
and less costly to deploy as and when I need (no need to worry about
Does it matter? Just use user2 where you need and ignore the fact that user1
is there as well?
On Mon, Nov 23, 2009 at 1:24 PM, tirengarfio tirengar...@gmail.com wrote:
Any idea?
On 20 nov, 13:57, tirengarfio tirengar...@gmail.com wrote:
Hi,
i have a table to with two fields: user1 and
I have the same problem.
Anybody know the solution?
On 18 Nov., 00:44, Greg Freeman g...@imagize.com.au wrote:
Has anyone been using sfDoctrineGuardPlugin from the trunk with
symfony 1.3/1.4?
I can install it, add users by the command line and login but when I
try to add
I need to have a different main template for just one action. Is that
possible, or do I have to create a complete seperate app for that?
--
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to
Hi,
each time you regenerate a module, the files related to the templates
(indexSuccess.php, _form.php, ...) are also regenerated, so if you
modified something inside those files you will lose it each time the
module is regenerated.
Is there any solution to avoid losing those changes?
Bye
Javi
I have not used Doctrine only Propel but first of all, try to avoid using
Doctrine Criteria type commands in your action. In Propel I would create a
method in my model class like:
public static function getUserFriends($user_id)
{
$criteria = new Criteria();
$criteria-add(self::USER1,
Why are you regenerating modules? You shouldn't ever need to do that.
On Mon, Nov 23, 2009 at 2:47 PM, tirengarfio tirengar...@gmail.com wrote:
Hi,
each time you regenerate a module, the files related to the templates
(indexSuccess.php, _form.php, ...) are also regenerated, so if you
hello,
I have defined two database connections in my databases.yml:
all:
xyz:
class: sfDoctrineDatabase
param:
dsn: 'mysql:host=localhost;dbname=xyz'
...
abc:
class: sfDoctrineDatabase
param:
dsn: 'mysql:host=localhost;dbname=abc'
installed sfGuardPlugin, the sf*
$c = new Criteria();
$c-addJoin(//etc);
$c-addJoin.
so and so on. It supports multiple joins, the only canvat is if you are
joining on the same column all the time then it might overwrite.
On Mon, Nov 23, 2009 at 12:09 PM, HAUSa
jeroen_heeft_behoefte_aan_r...@hotmail.com wrote:
How can I
Hi,
Watch your vocabulary. Symfony's one :
- Project
- Applications
- Modules
- Actions
You can dynamically change the template using the setTemplate method :
class myActions extends sfActions
{
public function executeIndex(sfWebRequest $request)
{
// same treatment
The way I would do this in Propel instead is in my ModelClasses for the
tables in database xyz is overwrite the doSelect, doSelectOne methods to
explicitly call the correct connection:
public static function (Criteria $criteria, $con = null)
{
parent::doSelect($criteria,
Hum, do you modify files in the cache/ folder ?
If you generate a module my_user, you will have a
cache/frontend/dev/modules/automy_user/templates. But don't touch it !!!
Copy/paste files from cache folder to your module/templates folder, but
don't touch to cache files.
So, you can copy files
If you are perhaps referring to the global layout template housed under
apps/appname/templates ( as opposed to the ones in
apps/appname/modules/modulename/templates), then you can set the template
per action. Within your action use:
sfAction::setLayout('other_layout');
On Mon, Nov 23, 2009 at
Try with method return::sfSuccess and return::sfError (check for
synthax at syfony-project.org, I'm not sure).
So, you can have two differents templates for one action.
Hope I was clear
Bye
--
You received this message because you are subscribed to the Google Groups
symfony users group.
To
Hi...
Actually, when I try to execute an action that I don't have
credential, I'm redirect to the default page of symfony.
Can I change this page, or redirect automatically to my login page ?
--
You received this message because you are subscribed to the Google Groups
symfony users group.
To
Maybe he means the admin generated modules?
On 23 Nov 2009, at 12:51, Gareth McCumskey wrote:
Why are you regenerating modules? You shouldn't ever need to do that.
On Mon, Nov 23, 2009 at 2:47 PM, tirengarfio tirengar...@gmail.com wrote:
Hi,
each time you regenerate a module, the files
Found an easier solution for the problem by adding
connection: xyz
to all model definitions in
to the plugins/sfDoctrineGuardPlugin/config/doctrine/schema.yml:
eg:
sfGuardGroup:
connection: xyz
On 23 Nov., 13:57, Gareth McCumskey gmccums...@gmail.com wrote:
The way I would do this in
Hi,
Do you have any user management plugin installed? Or you wrote one?
Especially, the sfGuard plugins does what you want:
- when not logged in but credentials required, it forwards you to log in
- when logged in but don't have enough credentials it shows you an
appropriate credentials
I'm new with symfony and I'm having some problems with embeding
forms.
I have the following scenario with a Curriculum Vitae and asociated
Work_Experiences:
schema-yml using doctrine:
BolsadetrabajoCv:
tableName: bolsadetrabajo_cv
actAs: { Timestampable: ~ }
columns:
id: { type:
There are some several places in sfGuardPlugin where the $con parameter is
ignored ... I have uploaded a patch with several fixes, but it still need to
apply those patches...
On Mon, Nov 23, 2009 at 3:25 PM, axel at axel.zu...@gmail.com wrote:
Found an easier solution for the problem by adding
http://www.symfony-project.org/book/1_2/06-Inside-the-Controller-Layer#chapter_06_action_security
On Mon, Nov 23, 2009 at 3:21 PM, Vincent UNG ung.vinc...@gmail.com wrote:
Hi...
Actually, when I try to execute an action that I don't have
credential, I'm redirect to the default page of
Lukas Kahwe Smith wrote:
On 02.11.2009, at 10:10, Fabien Potencier wrote:
Now how do I get @db_logger into the services.yml definition?
It was not possible before today, as a parameter could not be a
reference to a service.
As of r23506, this is possible, so your problem is solved.
In
On 23.11.2009, at 16:16, Fabien Potencier wrote:
Lukas Kahwe Smith wrote:
On 02.11.2009, at 10:10, Fabien Potencier wrote:
Now how do I get @db_logger into the services.yml definition?
It was not possible before today, as a parameter could not be a
reference to a service.
As of
Thanks, overlooked this reply (*nudge* dedicated mailinglist *nudge*).
*nudge* http://groups.google.com/group/symfony-components *nudge*
;-)
--
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to
On 23.11.2009, at 16:31, Bernhard Schussek wrote:
Thanks, overlooked this reply (*nudge* dedicated mailinglist *nudge*).
*nudge* http://groups.google.com/group/symfony-components *nudge*
thx .. wasnt there when i check the components webpage just recently.
great to see its there now!
Can someone get there experiences going with a small Symfony and Flex
project.
Perhaps a few chapters in a pdf along with all the other
documentation.
If there are no real world examples that we can find to get documented
then one could convert Jobeet to have portions of the R.I.A. (Rich
No one willing to help a newbie?
On 22 nov, 20:39, nidkil stephen.oostenbr...@gmail.com wrote:
Hi,
I'm new to Symfony and busy playing around with the Jobeet tutorial.
I'm up to the chapter 5 Routing and playing around with the for_url
statement. I am getting a plus (+) as a replacement for
I recall a method called sfAction::setLayout(), you could call this
from the signin action:
$this-setLayout(false);
On Nov 20, 2:18 pm, tirengarfio tirengar...@gmail.com wrote:
Hi,
I have started to create the layout for my app, but it also appears in
my signining page...
I dont want that,
Probably the easiest way to solve this would be to ensure your urls
don't contain spaces in the first place.
If you are generating urls based on user generated input (user name,
article name etc) then look into creating slugs for this purpose.
I'm pretty sure the symfony routing simply makes use
str_replace(+, _, url_for(path/to/url));
Don't need symfony for everything ;)
On Mon, Nov 23, 2009 at 5:44 PM, nidkil stephen.oostenbr...@gmail.comwrote:
No one willing to help a newbie?
On 22 nov, 20:39, nidkil stephen.oostenbr...@gmail.com wrote:
Hi,
I'm new to Symfony and busy
Hi all
I am trying to write a Propel behaviour to check before saving a new object if
a row with identical values already exists. This should also work with i18n
objects, so I need a good way to tell if a Propel object has i18n, without
using the specific i18n accessors, which always contain
Thanks Garet, it worked! Anyway you won't surprise if i ask again
about the reason the DQL query of my first post doesn't work, exactly,
why the function select() doesn't work...
Javi
On Nov 23, 7:49 am, Gareth McCumskey gmccums...@gmail.com wrote:
I have not used Doctrine only Propel but
Hey Reynier,
I'm sorry, I'm not familiar with the inner workings of twig, I was
just commenting on why you got the other error.
I would take a look at the sfTwigPlugin that's in development. It
looks like the integration would be more seamless.
Daniel
On Nov 22, 8:41 pm, ReynierPM
Hi Gareth Russ,
Thx for your responses guys!
My question was actually triggered by the excersise in jobeet. In the
tutorial it shows spaces of the generated url replaced by hypens (-).
In my local installation the spaces in the url are replaced by plusses
(+). That's what made me wonder if this
Hi all,
I seem to have missed something. Could someone perhaps point me to a
resource that might clue me into what symfony 1.4 is all about? It seems
that just recently 1.3 was going to be coming out of beta etc and now 1.4
has suddenly hit the radar. The tutorials don't help matters and
Can't use SVN, have to use it using symfony deploy itself, anyone have a
clue?
On Mon, Nov 23, 2009 at 3:11 AM, Gareth McCumskey gmccums...@gmail.comwrote:
Use svn rather. Makes life a lot easier
On Mon, Nov 23, 2009 at 11:45 AM, Parijat Kalia kaliapari...@gmail.comwrote:
Permissions of
Are you developing on a Windows machine or a Linux machine?
If Windows download WinSCP and you can drag and drop the files onto the
remote server (http://winscp.net/)
If from a Linux machine then just manually use rsync yourself from command
line. Open terminal and type man rsync for full
1.4 is the same as 1.3, minus the deprecated features - it's that simple :)
On Mon, Nov 23, 2009 at 20:03, Gareth McCumskey gmccums...@gmail.com wrote:
Hi all,
I seem to have missed something. Could someone perhaps point me to a
resource that might clue me into what symfony 1.4 is all about?
It looks like a schema issue. Please post it here, well, particulary
the JobeetCatagoryAffiliate part.
On Nov 23, 11:00 pm, Caker eggca...@gmail.com wrote:
I have issue , did you fixed that ?
On Oct 1, 10:59 pm, Vũ Văn Thanh vuthan...@gmail.com wrote:
C:\development\sfprojects\jobeetsymfony
On Mon, 23 Nov 2009, Gareth McCumskey wrote:
I seem to have missed something. Could someone perhaps point me to a
resource that might clue me into what symfony 1.4 is all about? It seems
that just recently 1.3 was going to be coming out of beta etc and now 1.4
has suddenly hit the radar. The
Hi Users,
I'm planning on using Symfony to make a CMS and I'm making some
decisions at the moment that I hope I can get some feedback on. I'm
fairly new to Doctrine so please feel free to correct any nonsense I
write.
My plan is to make a Doctrine_Template that all my content types will
actAs. I
Are you using the package version with 1.3/1.4? The package version is
only for sf 1.2.
--
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send
Hi all. I've got a few projects I'd like to upgrade from 1.2 to 1.4. I'm
currently using the sfCompat10Plugin on my 1.2 projects. I'm thinking the
upgrade path is going to be a 3 step process like this:
1. Get projects working on 1.2 WITHOUT the sfCompat10Plugin.
2. Upgrade projects to 1.3
Hi,
This is a good roadmap to 1.4 :)
You should read this :
http://trac.symfony-project.org/browser/branches/1.1/lib/plugins/sfCompat10Plugin
The repository; you should read the plugin content, introduced classes and
find what matches in your application
I use it with the 1.3 symfony. I only get errors in the backend (user edit
form).
Don't hesistate to create ticket/purpose patches.
Alexandre
2009/11/24 Greg Freeman g...@imagize.com.au
Are you using the package version with 1.3/1.4? The package version is
only for sf 1.2.
--
You
You should read at the documentation. You would learn the I18n behavior.
Behaviors are Searchable, Sortable, I18n, Sluggable,
Timestampable...
What's your behavior purpose ? It looks like you don't have a precise idea
of what you are going to do, and about to create a super-global behavior
(bad
Spaces are encoded as + in URL style (HTTP definition).
Giving some text without filtering could give you some bad URLs. What about
characters : é, à, ç, %, *
Maybe you should add a slug column to your schema, to get
a-friendly-url-text and use it.
Hard replacing the spaces using
62 matches
Mail list logo