Great,
Thanks.
I was just wondering why there is no doc for DI from Sym2 Reloaded
Documentation. I guess sym2 DI is a mirror of spring, but I will have a
close check.
Thanks for this valuable link for me.
On Sun, Dec 19, 2010 at 8:27 AM, gordonslondon
wrote:
> for the container here:
> http://com
Hi,
Please forgive my ignorance.
Your config tag is absolutely new to me. As I just
started examing sym2 within last two days, I checked their doc and can not
find this at all. Can you point me to the right location that I can find its
definition and use instructions?
Thanks
On Sun, Dec 19, 2010
sorry I mean stop working, not start working. Pardon me
On Thu, Sep 30, 2010 at 11:19 AM, Frank He wrote:
> Once you used php symfony cc to clear cache, it will start working. This is
> the same as that of nu-coder.
> have you every cleared cache in the encoded project? Or you ne
Once you used php symfony cc to clear cache, it will start working. This is
the same as that of nu-coder.
have you every cleared cache in the encoded project? Or you never clear
cache for it once encoded?
2010/9/30 Gürkan SEVİNÇ
> On 29.09.2010 22:29, xhe wrote:
>
>> If I use nucode to encode s
I know that in task, I can use partial as this:
$configuration =
ProjectConfiguration::getApplicationConfiguration('frontend', 'prod', true);
$context = sfContext::createInstance($configuration);
$configuration->loadHelpers('Partial');
$message->attach( new
Swift_Message_Part(get_part
using frontend_dev.php to see the errors. At least, you have already
installed your project to blue host
On Wed, Jan 13, 2010 at 3:30 AM, Ali wrote:
> Hi , thanks alot for your help , this time i m not getting any 500
> error but , it show me a blank screen
> :(
>
>
> On Jan 1
You can add multiple symfony projects in just one account, like what I did
with hostmonster
structure can be like this:
public_html
--web(all your web assets including index.php)
--symfony-clb(all symfony files, apps, configue...)
And then in your webroot, modify your controller like this:
requi
If we don't user data service in Flash Builder 4, then symfony has no
problem, we can use remoting with AMF format, or httpSercvice to provide XML
format. But only if when you want to use data service, symfony seemed out of
power. It seemed we have to make a choice, either syfmony or FB4 data
servi
Agree, using sfContext::getInstance() is not working here in the lib
directory.
As I am using sfAmfplugin in the frontend, see
public function executeAmf() {
$this->setLayout(false);
$gateway = new sfAmfGateway();
$response = sfContext::getInstance()->getResponse();
$resp
Finally!
We must use SabreAMF_ArrayCollection() to conver the associate array and
pass back to flex in order to read the key!
On Thu, Oct 22, 2009 at 2:22 PM, Frank He wrote:
> I did an extensive research and found this may be the bug in amfPhpPlugin
>
> In order to prove it, I d
ot; + obj["firstname"] +",
lastname is " + obj["lastname"]);
}
}
And the result is being displayed correctly. That means amfphp can
accurately pass the key to flex.
But If I put the same function to afmphpplugin in symfony, the response no
longer
simple untyped Object() is only in as3, in PHP, I can not find that type. So
how can we pass untyped simple object from PHP to AS3?
On Thu, Oct 22, 2009 at 1:03 PM, NairuS wrote:
>
> 2009/10/22 Frank He
>
>> Also in as3, we can use array as this;
>>
>&
h each other through amf and
pass this kind of value
On Thu, Oct 22, 2009 at 12:33 PM, Frank He wrote:
> Using VO may be another solution, but it will require creation of many VO
> in AS3 sides as there may be many afm functions to be called.
>
> So if Associate Array can be pased c
Using VO may be another solution, but it will require creation of many VO in
AS3 sides as there may be many afm functions to be called.
So if Associate Array can be pased correctly with Key value, it will be
terrific.
Have you ever passed associate array from PHP to AS3 succesfully with the
name
They mentioned that translation speed is depending on google, blabla, so
maybe they embeded the google service in their code.
On Wed, Sep 30, 2009 at 11:58 AM, Eno wrote:
>
> On Wed, 30 Sep 2009, Frank He wrote:
>
> > Just found the problem is Google is only allowing a max of 64
Just found the problem is Google is only allowing a max of 64 results, and
that is why if you try to translate a whole web page by using google ajax
translate api, it won't do that.
any good idea to overcome this?
On Tue, Sep 29, 2009 at 10:51 PM, Frank He wrote:
> Eno,
>
> I
});
}
Translate
page
column 3, column 1,Column 2
If you remove the tags, it will work, but with tag, it does
not work at all.
Any ideas for this?
Thanks
On Tue, Sep 29, 2009 at 3:43 PM, Eno wrote:
>
> On Tue, 29 Sep 2009, Frank He wrote:
>
> > I saw that b
org/extensions
>
>
> On Tue, 29 Sep 2009 20:10:45 +0200, Frank He wrote:
>
> > I saw that before.
> > But how can I translate the whole web page and display it back on the
> > page?
> >
> > if you have a look at www.dishgods.tv, you will know what I need
I saw that before.
But how can I translate the whole web page and display it back on the page?
if you have a look at www.dishgods.tv, you will know what I need. Their
processing of web translation is pretty good, just like using i18n in
backend, but actually, they are using google translate.
Than
the strange thing is even if I delete everthing and do this:
1.
symfony init-app backend
2.
symfony propel-init-admin backend article Article
the exactly same error happened!
Perhaps this is because my php?
On Mon, Jul 27, 2009 at 9:52 AM, Alexandru-Emil Lupu
wrote:
> hmmmz... maybe if you wo
"width:100px","size"=>x )?>
On Wed, May 27, 2009 at 3:21 PM, Eno wrote:
>
> On Wed, 27 May 2009, Atznt wrote:
>
> > I need to show a text box with certain large... How Can I do that?
> >
> > When I used the input_tan helper always show me a text box with a
> > default long, I need to manipul
I also suspect the new server configuration does not support symfony's
minimum requirement, such as PDO, php 5 or whatever.
On Fri, May 22, 2009 at 1:21 PM, Eno wrote:
>
> On Thu, 21 May 2009, janlar...@gmail.com wrote:
>
> > hi im trying to replicate my server to a new pc, i can now run it but
Sounds like you have to update your configue file, such as database.yml,
app.yml, settings.yml etc. You can use frontend_dev.php to see where is the
error.
On Thu, May 21, 2009 at 10:22 PM, wrote:
>
> hi im trying to replicate my server to a new pc, i can now run it but
> my problem is that when
Yes, I like to have a try with this plugin also.
Thanks.
On Mon, May 18, 2009 at 5:28 PM, Alexandru-Emil Lupu
wrote:
> do you have it developed?
> maybe you could upload it as pear package somwhere else...
> alecs
>
>
> On Tue, May 19, 2009 at 12:21 AM, Frank Stelzer wrote:
>
>> I wanted to branc
I used Gabor's solution, just change the requirement in the routing.yml,
change from \w+ to .+, then it works like a charm!
I am using IE7, FF browser.
On Sun, May 17, 2009 at 7:53 PM, gestadieu wrote:
>
> Chinese characters cannot be used in URL unfortunately, they are not
> ASCII compatible ob
i used this one
$ symfony plugin-install http://plugins.symfony-project.com/sfFeed2Plugin
to install, why it always tell me this is symfony 1.0 plugin, I am having
symfony 1.2
On Fri, May 15, 2009 at 5:42 PM, Frank Stelzer wrote:
>
> It is a interpreter "problem". "
> Try this:
>
> > xml version
wrote:
>
> Hi Frank
> This SQL query is going fine in MYSQL this is giving me results but in
> symfony i m having problem...plz help
> Regards Pooja
>
> On Apr 27, 5:54 pm, Frank He wrote:
> > I sugest you first use $c->toString() to print out the query an
I sugest you first use $c->toString() to print out the query and see where
is the error.
On Mon, Apr 27, 2009 at 8:11 AM, Pooja wrote:
>
> Hi All i have tired to convert below Sql query in symfonyIt is
> reporting Error
> Sql Query is..
> select d.dest_name,e.emp_name,c.date from des
The time delayed not by other parts on the page, but the form, that is why I
want to cache it.
I searched web for not csrf protecting the form, but no go.
Any way?
On Thu, Apr 23, 2009 at 1:11 PM, Alexandru-Emil Lupu
wrote:
> hi!
> just try to make a slot(or a component) that contain the form its
I used this solution, and it now works fine
cd /home1/xxx/public_html/symfony-clb && php -c
/home1/xxx/public_html/symfony-clb/php.ini symfony cleanChatRooms
On Thu, Apr 9, 2009 at 11:14 AM, Jan De Coster wrote:
> Eno schreef:
>
> On Tue, 7 Apr 2009, Frank He wrote:
&
The first solution can be realized with as new script, but can you specify
more about the second solution. And sample scripts? Thanks
On Tue, Apr 7, 2009 at 11:28 PM, Eno wrote:
>
> On Tue, 7 Apr 2009, xhe wrote:
>
> > Don't know if you have ever met this issue.
> > I want to run sym1.2 task fro
I have changed structure of the websites.
All the web contents are placed under directory1, and all the symfony
contents are placed under directory2
public_html:
--directory1: contents of web
--directory2: contents of sym, such as apps, lib...
the path that I set to symfony is ~public_html/d
I only met this issue if I specifically copy/past csrf hidden field into a
form and sutmit it.
If the form are auto-generated, or use link-to, url-for, this won't happend.
have you modified your form to manually add csrf field?
On Tue, Apr 7, 2009 at 5:09 AM, HAUSa <
jeroen_heeft_behoefte_aan_r...
Thanks.
My provider finally informed me to set different extension-dir in web env
and cli env, they said this is due to security issue.
And then after callign different php.ini, it works.
On Tue, Apr 7, 2009 at 7:18 AM, Ant Cunningham wrote:
>
> I may be mistaken as ive never had that issue..
the provider is fixing
this setting?
has anyone met the same issue before?
On Sun, Apr 5, 2009 at 5:17 PM, Pablo Godel wrote:
>
> you can try to specify your php.ini with php -c /path/to/php.ini
>
> Pablo
>
> On Sun, Apr 5, 2009 at 5:02 PM, Frank He wrote:
> > D
t; sqlite2, sqlite, mysql
>
>
> Pablo
>
>
> On Sun, Apr 5, 2009 at 4:52 PM, Frank He wrote:
> > I used redirect to output into a file and load the file into my
> > localcomputer
> >
> > php -i > output.txt
> >
> > after checking that file, i
pgsql=/usr' '--with-pic'
'--with-png-dir=/usr' '--with-pspell' '--with-sqlite=shared'
'--with-tidy=/opt/tidy/' '--with-ttf' '--with-xmlrpc'
'--with-xpm-dir=/usr/X11R6' '--with-xsl=/opt/xslt/' '--with-zlib&
Yes I am using mysql, only in CLI, PDO is missing and I can not run my task
in cron
On Sun, Apr 5, 2009 at 4:42 PM, Eno wrote:
>
> On Sun, 5 Apr 2009, xhe wrote:
>
> > Fatal error: Class 'PDO' not found in /home1/transla1/public_html/
> > symfony-clb/lib/vendor/symfony/lib/plugins/sfPropelPlugin
php -i will give a huge display in my putty, and I can not find out where is
PDO, there should be a command find or something, by which I can find more
specifically for the PDO, can anyone tell me how to do to that?
On Sun, Apr 5, 2009 at 4:41 PM, Pablo Godel wrote:
>
> Looks like your host did
will i18n consume?
also I used _dev to see that it only consume huge memory when it first run,
after that it will consume several MB memory.
On Fri, Apr 3, 2009 at 8:51 AM, Frank He wrote:
> I tested my app locally, and memory usage is 41526.5 KB
> Furthermore this is only the fi
I tested my app locally, and memory usage is 41526.5 KB
Furthermore this is only the first page of backend.php, it is a login page,
and all the backend was generated by using admin generator. I don't know
there are any way to optimize the generator.yml. Is that true that admin
generator itself will
I asked this question before,
1. if you are using syfmony 1.2, no more sendEmail() function is good, just
write it dierectly into your task
2. as running in cli, no request_uri is good, just hard code the url
This is my experience
On Tue, Mar 31, 2009 at 9:21 AM, kusum wrote:
>
>
> Hi ,
> ho
yes that is what I have to do now, no longer to seperate email into a
seperate action. Only that if many place need to send one similiar email? It
is no longer as convenient as that in symfony 1.0, but hopefully, this kind
of occurance is not high.
On Tue, Mar 31, 2009 at 9:14 AM, Tom Boutell wro
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 wrote:
>
>
> On Fri, Mar 2
class.php
>
>
> On Thu, Mar 19, 2009 at 12:25 AM, Frank He wrote:
>
>> Where is that file you mentioned? I just know generator.yml, and that can
>> not be updated based on some outside criteria, is that right?
>>
>>
>> On Wed, Mar 18, 2009 at 3:11 AM, Alan Bem w
Where is that file you mentioned? I just know generator.yml, and that can
not be updated based on some outside criteria, is that right?
On Wed, Mar 18, 2009 at 3:11 AM, Alan Bem wrote:
> Look at *your_module*/lib/*your_module*GeneratorConfiguration.class.php.
> You can change there almost any AG
arent method, and add the appropriate
> requirement to the criteria it returns, based on what user is logged
> in. Should be 3-4 lines of code... done. Seems elegant to me.
>
> Hope this helps,
> Daniel
>
>
>
> On Mar 17, 5:45 am, Frank He wrote:
> > Yes, I know that.
&
when I use old 1.0 method to generate backend admin, it works fine. So how
to add language?
On Tue, Mar 17, 2009 at 3:01 AM, Fási Gábor wrote:
>
> It seems like the site is trying to use the user's culture info, but
> it doesn't have any. Add one language, and try again.
>
> On Tue, Mar 17, 2009
Yes, I know that.
But I want to take advantage of admin generator, which is using
generator.yml and no need to write action manually. But it seemed I can not
control what data to display, what not just by using the simple backend
admin generator. Do you think so?
On Tue, Mar 17, 2009 at 4:40 AM, T
from templates.
> >
> >
> >
> > On Fri, Mar 13, 2009 at 11:20 AM, Frank He wrote:
> > > But that has lost the flexibility of using url helper. maybe there are
> some
> > > solution just like using url helper in web interface and domain name
> will be
> &
But that has lost the flexibility of using url helper. maybe there are some
solution just like using url helper in web interface and domain name will be
added automatically if we set the absolut=true.
On Thu, Mar 12, 2009 at 4:39 PM, danielwinter wrote:
>
> Save your domain urls in app.yml - on
Sorry guys, it is my fault, they can be called. Love symfony so much!
On Tue, Mar 10, 2009 at 12:54 PM, xhe wrote:
>
> I used this line to create a task:
>
> class sendEmailAlertTask extends sfPropelBaseTask
>
> But whenever I want to use the propel class, I got fatal error, the
> class can not
Thanks man, I just found it is my stupid fault.
In IE, I am detecting the browser closing event as I want to auto-logout
user when they close the browser. That javascript caused the error. Whenever
the browser is being detected as closing, user is logout automatically, and
that is why they have to
I also considered this issue in first, and put these lines in the header:
now when I use back button in IE, I got
Webpage has expiredError.
I have to refresh the page to view it.
This never happened in Firefox. What IE is doing here? Any solution to make
it work?
On Sun, Feb 22, 2009 at
But if in php.ini, the session timeout is 30 minutes, but in config, I set
the session_timeout to be 60 minutes, will the actual time out to be 30 or
60 minutes?
On Mon, Feb 16, 2009 at 7:53 AM, shahin wrote:
>
> read
> http://www.symfony-project.org/book/1_0/06-Inside-the-Controller-Layer
> it
quot;user_id"));
if($actuser)
$actuser->delete();
4. onorbeforeunload in javascript,
delete relevant record
5. set up a cron task to clear unnecessary expired record
Any comments for this process will be high appreciated.
Thanks
On Fri, Feb 6, 2009 at 6:52 AM, Bernhard S
ser()->sessionId,
session_id(), time()+ ini_get("session.gc_maxlifetime"));
Really nothing happened when user log out or close the browser.
Any ideas for how to clear the activeuser table as user close the browser?
On Thu, Feb 5, 2009 at 10:01 AM, Bernhard Schussek wrote:
>
> Hi,
I used this way
time()+ ini_get("session.gc_maxlifetime")
Is this a good way for getting timeout time?
On Thu, Feb 5, 2009 at 8:07 PM, Frank He wrote:
> can you tell me what you mean
> $this->options['timeout']
>
> I can not get this value on sfUser, this is
t; Hi,
>
> 2009/2/5 Frank He :
> > Please parden my innocense, dude.
> > Your suggestion is wonderful, but can you just show me something in more
> > details?
>
> No problem mate. I warn you though - I'm just brainstorming here and
> don't have the opportun
Sounds fascinating, will have a try, and see if there are any problems here.
Thanks again
On Thu, Feb 5, 2009 at 10:01 AM, Bernhard Schussek wrote:
>
> Hi,
>
> 2009/2/5 Frank He :
> > Please parden my innocense, dude.
> > Your suggestion is wonderful, but can you just s
Please parden my innocense, dude.
Your suggestion is wonderful, but can you just show me something in more
details?
1. how do I get the sessionid?
2. in order to be accurate, I think I should save three time in the
active_users table, one is login time, one is fresh timestemp, another is
session e
Some thing is weird here.
I coonstruct a form, but I used
$this->widgetSchema->setNameFormat('users[%s]');
to have all the file name start with user[xxx]
Then I used
echo $form->renderHiddenFields();
now the form code is
I think the csrftoken is already there
But when I use $request->ch
t 2:40 PM, Richtermeister wrote:
>
> Hi Frank..
>
> You're have to pass a multidimensional array then.
> Just loop over your original array, and change every array key into
> the user[fieldname] format.
> Then it works.
>
> Daniel
>
>
>
> On Feb 4, 11:19 am, F
Yes thanks.
But only a little problems here.
The passed array is
$user = $this->getRequestParameter("users");
As I set the name of form field to be user[]...
but when I use http_build_query($user), it convert the array into
self_gender=1&search_gender=0&country_code=CA...
I can no longer access it
because the shared hosting
provider has strict requirement for the memory usage? If so, how much memory
shall be used?
On Sat, Jan 31, 2009 at 9:42 PM, Frank He wrote:
> got you, thanks very much.
>
>
> On Sat, Jan 31, 2009 at 9:37 PM, Ant Cunningham <
> prodigital...@vec
dir path then they arent going to work.
>
> > I think this extension_dir "usr/local/lib/php/extensions/
> > no-debug-zts-20060613"
>
> Note there should be a foward slash on that... not sure you it was
> mission when you looked for it or not:
> /usr/local/lib/ph
09 at 9:10 PM, Ant Cunningham <
prodigital...@vectrbas-d.com> wrote:
>
> IS the estension actually present in either of these dirs?:
> /usr/local/lib/php/extensions/no-debug-zts-20060613
> /home1/transla1/lib/extensions/no-debug-non-zts-20020429
>
> Frank He wrote:
> >
unfortunately, what I did is not working there.
See the phpinfo() here http://love.mediatube4.com/phpinfo.php
Also the php.ini is
http://love.mediatube4.com/php.ini
when you use http://love.mediatube4.com/frontend_dev.php you will see the
error there.
Thanks
On Sat, Jan 31, 2009 at 8:38 PM, An
68 matches
Mail list logo