That's a better solution than mine.
Thanks :-)
-Ursprüngliche Nachricht-
Von: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] Im
Auftrag von ???
Gesendet: Donnerstag, 8. April 2010 12:19
An: kim
Betreff: Re: [symfony-users] Re: save xml php
I'm using
Asynchronous executing is not possible, as there are no threads in PHP.
However you could create a new shell task in your event listener. This
process will run independant from your current PHP process.
Am 08.04.2010 um 18:50 schrieb Dong YANG:
Hello everyone,
I have a question about
If you use PHP-FPM you could try to come with some solution using the
fastcgi_finish_request(); function provided by that PHP version. We use it in
prod quite a lot, but it depends on using PHP-FPM.
On Apr 9, 2010, at 3:25 PM, Frank Stelzer wrote:
Asynchronous executing is not possible, as
adapted from this about asynchronous http post :
http://petewarden.typepad.com/searchbrowser/2008/06/how-to-post-an.html
?php
function curl_post_async($url, $params = null)
{
if($params) {
foreach ($params as $key = $val) {
if (is_array($val)) $val = implode(',', $val);
Hello Alvaro and Frank,
Thanks very much for your suggestions.
I also considered about these two solutions and you make me sure.
I haven't decided which one I will use, I will get back to you when
I decided.
Thanks again.
JoJo
2010/4/9 Alvaro Videla
Hello Romain,
Thanks for your suggestion, it looks interesting.
I will have a try.
Regards,
JoJo
2010/4/9 romain godefroy romain.godef...@wanadoo.fr
adapted from this about asynchronous http post :
http://petewarden.typepad.com/searchbrowser/2008/06/how-to-post-an.html
That strange, I store my validators in the lib/validator folder
without problems. The problem must be somewhere else.
On 7 dub, 18:34, Javier Garcia tirengar...@gmail.com wrote:
No problem if i store it inside lib/ folder instead of lib/validator.
Is there any way to store it in lib/validator
I think the classic way of doing this is to store a cookie when the
user comes (from some link with id which idetify the affiliate). Then
you can identify him by this cookie, or you can use session - if you
don't need to identify him after he leaves your website and comes
later by just typing your
I thought that you want to just change the username field in sfGuar
from not null to null
.. don't change the schema in plugin
just try to add into your project schema.yml the:
sfGuardUser:
columns:
username:
type: string(128)
notnull: false
unique: true
On 8 dub,
Hi everybody.
Here are several Doctrine calls :
These ones work (the request is compiled and processed with no errors) :
$q = Doctrine_Query::create()-from('Livre')-where(infos_aliga like
'%?%', 'something')-execute();
$q = Doctrine_Query::create()-from('Livre')-whereNotIn('id',
Then you probably have to create your own widget which does this.
On 8 dub, 11:45, axel at axel.zu...@gmail.com wrote:
overwriting the doBind works for me but it's an ugly solution - other
frameworks use checkbox widgets with hidden fields to solve this
problem, would be nice for symfony too.
Hi
I have a many-To-many (Gig-Song) relation and want to use
sfWidgetFormSelectDoubleList.
It work's fine, but I want to save the order of assignments, too (and
not only associated /unassociated ).
schema.yml:
# many-To-many-relation
...
GigSong:
columns:
order_id: { type: integer,
Where is async here?
On 9 апр, 15:00, romain godefroy romain.godef...@wanadoo.fr wrote:
adapted from this about asynchronous http post
:http://petewarden.typepad.com/searchbrowser/2008/06/how-to-post-an.html
--
If you want to report a vulnerability issue on symfony, please send it to
Okay I have found my error... :)
It was in the schema.yml :
edsDimensionsLiterie:
inheritance:
extends: edsDimensionsLL
type: column_aggregation
keyField: object_class
keyValue: edsDimensionsLiterie
columns:
literie_id:
type: integer(4)
relations:
literie:
OK, found. The reason why the query throws an error is in the where clause.
rewrting the query like this works :
$q = Doctrine_Query::create()-from('Livre')-where(infos_aliga like ?,
'%something%'))-andWhereNotIn('id', array(1,2,3))-execute();
BTW, I found the error while DOHing on very
Thanks, Tom!
One of the main reasons to do it with subdomains, is to give the
affiliates ownership of the way the site looks.
If I do do it with subdomains, and then store the affiliate in for in
sfUser, am I ok to do the subdomain analysis in in the sfUser class?
I mean, can I just check the
I have interesting question. Customer asked me if it is possible to
have links in two languages. For example I have module JOB and I have
Symfony appliaction in two lanuages: english and polish. 'job' ==
'praca' in polish language. Is it possible to show url:
http://xyz.com/job - in english
Yes... you need a custom url.
Check apostrophe. I am on mobile and i can't copy paste stuff
sent via htc magic
On Apr 9, 2010 8:40 PM, alexmm misiekaleksan...@gmail.com wrote:
I have interesting question. Customer asked me if it is possible to
have links in two languages. For example I have
Apostrophe ? Which apostrophe should I check ?
On 9 Kwi, 19:47, Alexandru-Emil Lupu gang.al...@gmail.com wrote:
Yes... you need a custom url.
Check apostrophe. I am on mobile and i can't copy paste stuff
sent via htc magic
On Apr 9, 2010 8:40 PM, alexmm misiekaleksan...@gmail.com wrote:
And even if it is possible - what do you think about that ? I think it
isn't often meet situation that we have urls in many languages. Why ?
On 9 Kwi, 20:19, Alexandru-Emil Lupu gang.al...@gmail.com wrote:
Apostrophenow.com or so...
Is a sf based cms.
I hope i can provide details in around 2-3
On 04/09/2010 12:22 PM, Tom Ptacnik wrote:
I thought that you want to just change the username field in sfGuar
from not null to null
.. don't change the schema in plugin
just try to add into your project schema.yml the:
sfGuardUser:
columns:
username:
type: string(128)
There is a $60 award for a question about database configuration on
Symfony Experts:
http://www.symfonyexperts.com/question/show/id/36
--
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
Hello All,
My name is Charles Wisniewski, we are exploring the route of adopting
symfony for a large project at work.
While going through the tutorial/documentation, I am confused by
Doctrine's yml format:
http://www.symfony-project.org/jobeet/1_4/Doctrine/en/03
specifically, this:
try this
sfOutputEscaper::unescape(valute_to_unescape)
regards,
On Thu, Apr 8, 2010 at 3:35 PM, Apul Gupta apulmca...@gmail.com wrote:
It doesn't work.
Fatal error: Call to a member function getRawValue() on a non-object
Any other?
On Apr 7, 5:59 pm, Massimiliano Arione
After you have upgraded a project to version 1.2 of symfony, every
time I try to view a table of the database I get:
500 | Internal Server Error | sfException
Unable to load generator template in: /home/franko/workspace/SGF/
data/generator/sfPropelCrud/default/template, /home/franko/workspace/
I think
http://www.apostrophenow.com/
peter
On Pi, 2010-04-09 at 11:06 -0700, alexmm wrote:
Apostrophe ? Which apostrophe should I check ?
On 9 Kwi, 19:47, Alexandru-Emil Lupu gang.al...@gmail.com wrote:
Yes... you need a custom url.
Check apostrophe. I am on mobile and i can't copy
i followed symfony rules i wanted to creat my own function that
returns the result of a query
like this
protected function executeListlab(sfWebRequest $request){
$this-membres = Doctrine::getTable('Member')
-createQuery('m')
-where('m.member_type = ?', 'lab')
-execute();
try this.
sfOutputEscaper::unescape(value_to_unescape)
regards,
On Apr 8, 3:05 pm, Apul Gupta apulmca...@gmail.com wrote:
It doesn't work.
Fatal error: Call to a member function getRawValue() on a non-object
Any other?
On Apr 7, 5:59 pm, Massimiliano Arione garak...@gmail.com wrote:
28 matches
Mail list logo