Thanks for the replies, but I am afraid I meant something else. I was
thinking to execute on the server like this:
1. Calculate page to serve
2. Send the page over the Internet
3. Close TCP connection (if not using keep-alive)
3. Do some more processing (like rebuild Lucene index)
4. Terminate
I'm logged in when I execute the action.
Anyway, someone told me that the 'credentials' option for a generator
action specifies which credentials are sufficient to execute that
action. It does NOT provide the executor with the specified
credentials.
First question: is that true?
Second
Once the web server sends the response ... the script ends.
On Thu, Nov 11, 2010 at 11:25 AM, torok84 toro...@gmail.com wrote:
Thanks for the replies, but I am afraid I meant something else. I was
thinking to execute on the server like this:
1. Calculate page to serve
2. Send the page over
To expound on that, here is the flowchart of work:
Request comes to web server for a PHP page - Web server sees its a PHP file
and passes off to PHP parser - PHP parser processes all PHP code and
generates all HTML - PHP parser returns the HTML generated to web server
and stops - Web server sends
Hi everyone,
I've got a dev-workflow question for you:
Assume I want to modify/extend an existing symfony project versioned
via svn to which I have no commit access.
So I begin doing a checkout of the project.
Now I modify or add some files.
But now: leaving the modified files as local changes
So PHP should fork just before telling Apache it''s done, and on the
forked process do some slow processing...
anyway it seems my idea is quite complicated to implement and maybe
interesting for not many people.
On 11 Nov, 11:07, Gareth McCumskey gmccums...@gmail.com wrote:
To expound on that,
Why not just create a branch in the existing repository? If you need to make
it a whole new repository you can disconnect what you checked out from its
existing repository before committing it the a new one.
On Thu, Nov 11, 2010 at 12:25 PM, klemens_u klem...@ull.at wrote:
Hi everyone,
I've
Thanks, but no - disconnecting is not an option because it's not
possible to get updates from the original repo.
On 11 Nov., 12:35, Gareth McCumskey gmccums...@gmail.com wrote:
Why not just create a branch in the existing repository? If you need to make
it a whole new repository you can
Once you add or modify files you dont know if youll be conflicting with
files from the other repo. Check out svn:external that allows you to
reference other repos that you may or may not have read access to and save
custom files to another repo. Im not experienced with git yet so their may
be
Bonjour a tous et merci d'avance pour vos réponses,
Voila, c'est un problème simple mais je sèche complètement.
J’exécute une requête dans un executeIndex:
$this-req = Doctrine_query::create()
-select('*')
-from('utilisateur')
-fetchArray();
Que
Hello List,
I have a problem that after creating a module and configuring
dsExtDirectPlugin, no new action is created in the extdirect api.
When I use modules which have not been autogenerated (action class
extends sfActions), it works perfectly and I have new functions in the
extdirect api.
I have a database defined as (simple recursive many-to-many relation:
WorkItem:
columns:
type: { type: enum, length: 10, values: [Product, UserStory,
TestSuite, TestCase, Bug] }
WorkItemRelation:
columns:
parent_id: { type: integer, notnull: true }
child_id: { type: integer,
I still don't have any idea what is causing this - and I'm now seeing
it on another server which has a fresh OS/PHP/MySQL install.
FYI - this is also being discussed here:
I finally tracked this down. The delay (at least in my situation) is
happening when sfSessionStorage.class.php tries to start the PHP
session (simply by calling session_start()), and is caused by a file
locking condition on the session file itself (CentOS 5.3). There is
some info in the comments
I've tracked this down, please take a look here:
http://groups.google.com/group/symfony-users/browse_thread/thread/3dbe8e48215e0691/e6b1232a50207fc0
On Oct 21, 1:24 pm, ashton honnecke ahonne...@gmail.com wrote:
@Stephen - I haven't had time yet :( However, I'll let you know if I
come upon
Hello,
Im trying to follow this excellent page to learn symfony but i have
two problems in this chapter.
1.- When i run the command: symfony propel:insert-sql the console
print the message:
Database myDataBase does not exist.
My database exist. I can access it whit mysql
2.- I try to find a
I'm a first-time Symfony user, so bear with me!
I installed the ahAdminGenerataorThemesPlugin to take advantage of
sorting by virtual columns, but I can't figure out how to get the
customizeable titles to work in my backend app.
To be honest, I've perfectly happy with the default titles, but am
Hi all,
We're looking for someone to review the code our development
consultant is writing for our high-functioning website, set to launch
in March 2011. Do you or anyone you know do code review? We're a
startup on a tiny budget, so it'll have to be at a price we can pay.
This could lead to a
Hi
There is a column in my table which stores external urls e.g.
www.amazon.com.
Now when I try to use link_to('Product', $Obj-getUrl()). It outputs
a href=http://www.myappbaseurl.com/www.amazon.com;Product/a
Infact symfony takes all the url as internal uri.
Is there a way in symfony thru
Can try using a message queue. Something like http://kr.github.com/beanstalkd/
should be sufficent for what you want to do.
On Nov 10, 3:21 pm, torok84 toro...@gmail.com wrote:
I am developping a site in wichi I use PHP Lucene for full text
indexing. Lucene is not really a lighting. It would be
Hello everyone,
I have an table in my database called verhalen. This contains stories
people wrote. There is an relation between the table stories and the
table sf_guard_user. (I use sfDoctrineGuardPlugin.)
Now I want to add a new story to the database with a form I created.
All the columns are
Remplace -fetchArray() avec execute().
C'est tous ma francaise. Bon chance!
Wes
2010/11/8 gwanael Neiveyans gwen69...@gmail.com
Bonjour a tous et merci d'avance pour vos réponses,
Voila, c'est un problème simple mais je sèche complètement.
J’exécute une requête dans un executeIndex:
That is an html problem. You need to precede links that go outside your site
with http. Try puting a normal anchor with www.amazon.com in it. a href=
www.amazon.comAmazon/a The link will be url will try to go to
http://yoursite.com/www.amazon.com.
In short, you need the http://.
On Thu, Nov 11,
Do you have a database in your database server called myDatabase?
On Tue, Nov 9, 2010 at 09:42, PabloRS pabl...@gmail.com wrote:
Hello,
Im trying to follow this excellent page to learn symfony but i have
two problems in this chapter.
1.- When i run the command: symfony propel:insert-sql the
Never mind, I got it solved. Here's how I did it:
?php
protected function processForm(sfWebRequest $request, sfForm $form)
{
$formParam = $request-getParameter($form-getName());
if($form-isNew())
{
$formParam['uid'] = $this-getUser()-getId();
}
$form-bind(
Hello,
i am finishing my first project in symfony and i want to deploy it
from localhost to production server. i also didn't use any deployment
strategies before.
i am running on windows. to run symfony commands i use cyqwin linux
emulator.
on my production server i have enabled cli shell and ssh
hi,
yes you have to install rsync in your cygwin environment and have to
make sure that rsync is installed on the server as well!
Greetings
Ben
Am 11.11.2010 17:54, schrieb hribo:
Hello,
i am finishing my first project in symfony and i want to deploy it
from localhost to production server. i
Hello,
I've spent some time to play with the new form framework, and then I have
some questions about its usage.
First case, how to have two validation strategy for the same class, using
annotations:
I have a User entity, and two forms: a subscribe form, and a edit profile
form. In the first
Please, see below if this is your problem. I've written many occurrences
when teaching a Basic Symfony Training, this is the one.
First, when changing for other training room, problems were increased, like
this INSERT-SQL TASK ERROR;
So, when performing the doctrine:insert-sql task, Symfony
Hi
I would like to launch test on my test project but i have an error (see below):
PHPUnit 3.5.3 by Sebastian Bergmann.
E
Time: 0 seconds, Memory: 6.00Mb
There was 1 error:
1) Application\MetaBundle\Tests\Controller\MainControllerTest::testAbout
RuntimeException: Unable to guess the Kernel
I am making a form in the backend and it allows multiple extensions.
I'm using sfWidgetFormChoice to allow the user to select multiple
options, but I have to concatenate each selection.
1-form:
$this-widgetSchema['extension'] = new sfWidgetFormChoice(array(
'choices' =
thank you,
and does symfony natively support deployment from git or maybe svn?
(rather git). if yes, could you please let me know some good article
about that?
thanks
On Nov 11, 6:30 pm, Ben Bieker m...@ben-bieker.de wrote:
hi,
yes you have to install rsync in your cygwin environment and have
All I am trying to do is make a drop down menu from a table in a
database.
I think I need to place some code in an action class.
The table is called 'sectors.
The column I would like to see in the drop down menu is is
'sectorTitle'
'
The code I am using is:
$this-form = new sfForm();
Add new before sfWidget... : you are instanciating an object, not calling a
function
---
Alexandre Salomé - http://alexandre-salome.fr
Le 12 nov. 2010 01:04, apc...@dsl.pipex.com apc...@dsl.pipex.com a
écrit :
All I am trying to do is make a drop down menu from a table in a
database.
I think I
Thank you for taking time to help me.
My code is now:
$this-form = new sfForm();
$this-form-setWidgets(array(
'section_id' = new sfWidgetFormChoice(array(
'model' = 'sectors',
'column' = 'sectorTitle'
)
)));
But I still get another error: sfWidgetFormChoice does not support the
Hi folks,
I'm sure the solution to this is right in my face but I have been looking
(without success, obviously) for a way to know if a doctrine object has
changed after its form has been saved. I'd like to display a banner saying
your information was saved whenever it has indeed changed, but not
I've added the embedRelations call and i can see (and edit and delete)
my relations when i edit the parent record. But for some reason I
can't add a relation. How do i add a relation?? Am i missing
something in my embedRelations method?
$this-embedRelations(array(
Upon further reading i realized that i had to add new_RELATIONNAME
to my generator.yml!
On Nov 11, 10:02 pm, thronic sean.vill...@gmail.com wrote:
I've added the embedRelations call and i can see (and edit and delete)
my relations when i edit the parent record. But for some reason I
can't
--
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
por favor que alguien me diga como puedo integrar symfony con extjs
--
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
This is a full time, on-site, salaried Senior PHP/Symfony Developer
position located in New York City paying $90,000-$135,000 depending on
experience + benefits. No telecommuting allowed. US Citizens or
Green Card holders only please. Local candidates only. Thank you.
This is a very hush hush
Why not just deploy from svn to your production server? Makes life a lot
easier when you have updates to manage. Just svn checkout into a directory
on the production server and you don't have to worry about rsync then.
On Thu, Nov 11, 2010 at 11:53 PM, hribo hribo...@gmail.com wrote:
thank you,
Hi Noel,
I have a User entity, and two forms: a subscribe form, and a edit profile
form. In the first one, I have two fields: the username, and the password.
In the second, username, password, first name and last name.
Actually, if I add the annotation @validation:NotBlank on the first name
This is expected behavour. url_for looks for the suffix http:// to know if
its an external link or not.
On Thu, Nov 11, 2010 at 2:39 PM, deepak deepakkumar...@gmail.com wrote:
Hi
There is a column in my table which stores external urls e.g.
www.amazon.com.
Now when I try to use
Yes, and you also have the option 'noNewForm' set to true which, obviously,
discards the form to add a new related object. :)
Cheers, Daniel
Sent from my iPhone4
On Nov 12, 2010, at 4:10 AM, thronic sean.vill...@gmail.com wrote:
Upon further reading i realized that i had to add
Hi, you should post some lines about the errors you found, it would help.
What's the validator for that widget?
Pietro
I am making a form in the backend and it allows multiple extensions.
I'm using sfWidgetFormChoice to allow the user to select multiple
options, but I have to concatenate each
That's because you have to use the Doctrine (or Propel) version of this widget.
Cheers, Daniel
Sent from my iPhone4
On Nov 12, 2010, at 1:27 AM, apc...@dsl.pipex.com apc...@dsl.pipex.com
wrote:
Thank you for taking time to help me.
My code is now:
$this-form = new sfForm();
Thanks Gareth. :)
On Nov 12, 12:42 pm, Gareth McCumskey gmccums...@gmail.com wrote:
This is expected behavour. url_for looks for the suffix http:// to know if
its an external link or not.
On Thu, Nov 11, 2010 at 2:39 PM, deepak deepakkumar...@gmail.com wrote:
Hi
There is a column
You mean prefix of http://, right? ;-)
Sent from my iPhone4
On Nov 12, 2010, at 8:42 AM, Gareth McCumskey gmccums...@gmail.com wrote:
This is expected behavour. url_for looks for the suffix http:// to know if
its an external link or not.
On Thu, Nov 11, 2010 at 2:39 PM, deepak
49 matches
Mail list logo