Re: [symfony-users] Create sfGuard user in production environment

2010-07-01 Thread Mariusz Sasinski
Mariano,
You can do it from the command line
php symfony guard:create-user your_email username password
php symfony guard:promote username

to view all options just execute

php symfony list guard

Mariusz Sasinski

On Thu, Jul 1, 2010 at 2:10 PM, Mariano Sola mariano.s...@gmail.com wrote:

I'd like to ask you for some help with a production migration of a symfony 
1.4 project with the sfGuard plugin installed.

I have created tables on the dababase (model and sfGuard ones) of 
production environment, but I wasn't be able to create an admin user in order 
to log in into the application.

I saw that the password column of the sfGuardUser is encrypted so I can't 
do a simple insert statement to create it.

Does somebody know how to solve it?

thanks in advance!
mariano ::

-- 
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 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

-- 
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 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: how to install a symfony website

2009-10-06 Thread Mariusz Sasinski

 
 One of the big weaknesses of Symfony is that it can not be deployed as
 easily as WordPress. The fact that non-technical people have an easy
 time installing WordPress gives WordPress much of its presence on the
 web scene.

As far as I know symfony is not a blog, and it's made with _technical_ people 
in mind.  And for technical people, willing to read the manual, it's as easy 
to deploy as it can possibly be. 

Mariusz

--~--~-~--~~~---~--~~
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: Symfony Super Cache in 1.2

2009-10-01 Thread Mariusz Sasinski


 
 We've been doing some tests, and even with pages that are cached with
 the layout, the overhead Symfony produces is phenomenal compared to
 just reading a file from the server.

Well, it's hard to expect symfony to be as fast as a static html file
First of all you need to have XCache or APC installed. Then, if you are using 
Doctrine, you should also configure your project to use Doctrine_Cache to 
either use Memcache or APC, and add -useResultCache(true); to your queries. 

You may also switch to Nginx, with php-cgi.

Last but not least, read this and see if you can implement some of the 
suggestions  from this article 
http://developer.yahoo.com/performance/rules.htm

Mariusz

--~--~-~--~~~---~--~~
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: Re-open Doctrine Connection was Re: Server has gone away

2009-09-30 Thread Mariusz Sasinski

On Wednesday 30 September 2009 09:16:02 am Tom Haskins-Vaughan wrote:
 Sorry to bump this, guys, but it's holding up my development. Can
 anyone even just confirm or deny whether it's possible to reconnect to
 a Doctrine database during the middle of a script. If it's impossible,
 I'll just use a native mysql connection for this part.

It seems like you can do it:
http://www.doctrine-project.org/documentation/manual/1_0/en/connections

I've never needed that, so I can't guarantee it will help in your case :)

Mariusz

--~--~-~--~~~---~--~~
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: Re-open Doctrine Connection was Re: Server has gone away

2009-09-30 Thread Mariusz Sasinski


 
 Unfortunately, I don't really have access to cron jobs. Well, I can
 schedule jobs, but I can't run any shell commands. I can just call php
 files.


I'm not sure if I fully understand how your application works but maybe you 
could  create a cron job that will only be responsible for downloading files to 
a local folder and unzipping them.  Then use your current script to process 
those files using that local storage. This way your script won't have to wait 
for files to finish downloading. 

Mariusz

--~--~-~--~~~---~--~~
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: sfSyncContentPlugin: sync content as easily as code

2009-09-29 Thread Mariusz Sasinski

On Tuesday 29 September 2009 02:04:21 pm Jake Barnes wrote:
 How is this different from
 
 scp -r m...@mysite.com:/path/to/symfony/project/* m...@newsite.com:/path/
 to/symfony/project/
 
 Followed by symfony cc.

And why not just use symfony project:deploy ?

Mariusz

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---