On Mon, Nov 29, 2010 at 1:22 PM, pghoratiu wrote:
> I think that the sfSuperCache plugin was doing this at one time during
> Symfony 1.0, I'm not aware of any plugins doing this for Symfony 1.4
Thanks for the clarification, Gabriel! I now simply discarded that code
block.
- Felix
--
If you wan
Beste,
Tot en met vrijdag 3 december ben ik niet aanwezig op kantoor.
U kunt voor dringende zaken contact opnemen met mijn collega Wout Withagen:
w...@freshheads.com of 013 539 00 40.
Met vriendelijke groet,
Joost Farla
joost.fa...@freshheads.com
- -
freshheads grafisch ontwerp en internet ap
If I run a task created in my lib/task folder, I get this error:
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted
(tried to allocate 71 bytes) in /usr/share/symfony/1.4/lib/plugins/
sfPropelPlugin/lib/vendor/propel/util/PropelConfiguration.php on line
100
Fatal error: Allowed me
Hi,
You should edit 'memory_limit' in your php.ini. I've set it to 128M
and every task works well.
Regards,
Maciej Aleksandrowicz
2010/11/30 HAUSa :
> If I run a task created in my lib/task folder, I get this error:
>
> PHP Fatal error: Allowed memory size of 134217728 bytes exhausted
> (tried
Can I configure this in the .htaccess as well?
On 30 nov, 17:31, Macvek wrote:
> Hi,
>
> You should edit 'memory_limit' in your php.ini. I've set it to 128M
> and every task works well.
>
> Regards,
> Maciej Aleksandrowicz
>
> 2010/11/30 HAUSa :
>
> > If I run a task created in my lib/task folder
Hi,
I don't think so. It is global PHP property.
You can try running this task locally, on your PC, and then upload the
results to remote server.
Building propel database can take some time, especially when there are
many relations.
Regards,
Maciej Aleksandrowicz
2010/11/30 HAUSa :
> Can I conf
You can also try setting the memory_limit using -d option:
php -d memory_limit=512 symfony
On Nov 30, 4:39 pm, Macvek wrote:
> Hi,
>
> I don't think so. It is global PHP property.
> You can try running this task locally, on your PC, and then upload the
> results to remote server.
>
> Building pr
You can also try setting the memory_limit using -d option:
php -d memory_limit=512 symfony
On Nov 30, 4:39 pm, Macvek wrote:
> Hi,
>
> I don't think so. It is global PHP property.
> You can try running this task locally, on your PC, and then upload the
> results to remote server.
>
> Building pr
I know it is a very silly question.
How can I just update a db field in one of the actions?
suppose that my code is like this:
public function executeConfirm(sfWebRequest $request) {
$foo = Doctrine::getTable('foo')->find(array($request-
>getParameter('foo_id')));
$foo->setConfirmed(1);
$f
I think it's because '$foo' is not an object but rather a set of objects
returned by the find() method.
-stan
On Tue, Nov 30, 2010 at 12:54 PM, Martin Henits wrote:
> I know it is a very silly question.
>
> How can I just update a db field in one of the actions?
>
> suppose that my code is lik
Hi all,
I know is not an specific Symfony 2 question but I googled a lot with no
luck. I upgraded PHPUnit from 3.5.4 to 3.5.5 and suddenly my tests throws a
lot of "'Serialization of 'Closure' is not allowed'" Exceptions. I've
searched on Google and it seems that it's an option that must be disabl
hi, Fracis , thanks i change my index file to flase
Regards.
On Mon, Nov 29, 2010 at 10:58 PM, Francis Besset
wrote:
>
> Hi,
> In fact, you have this 404Exception if you have enabled display errors.
> In prod environment you must not enable the error display.
>
> In you index.php file:
> $conf
No, find just returns one object. But you can't give it an array, just give it
the primary key which is, in your case, the foo_parameter.
Cheers, Daniel
Sent from my iPad
On Nov 30, 2010, at 7:15 PM, Stan McFarland wrote:
> I think it's because '$foo' is not an object but rather a set of obje
I found this presentation
http://2010.rmll.info/SOAP-and-RESTful-webservices-with-Symfony.html?lang=fr
for
SOAP and Symfony.. and.. I don't speak french but the code seems pretty
interesting.
Anyone has a similar presentation or url, but in english?
Thanks.
--
If you want to report a vulnerabi
trying hacking the french with google?
On Tue, Nov 30, 2010 at 3:36 PM, Samuel Morhaim
wrote:
> I found this
> presentation http://2010.rmll.info/SOAP-and-RESTful-webservices-with-Symfony.html?lang=fr for
> SOAP and Symfony.. and.. I don't speak french but the code seems pretty
> interesting.
>
I ran into the same issue today and found that the query logger was logging
every insert query, and running the script out of memory. Unfortunately I
have not found a way to disable the logger, but you can get around this by
commenting out the "$instance->setSqlLogger(...)" line in your
*ProjectCon
have a look at symfony tasks..
On Wed, Nov 17, 2010 at 1:32 AM, DrFrow wrote:
> I am wanting to run a daily import script for my symfony site, what I
> want is to setup a cron job in Cpanel and just have it run a script on
> my server. I am running into a problem with setting this script up, I
>
I'm serving up dynamically generated CSS through symfony2 and the
Content-Type that chrome/firefox is receiving is "t". I've set the
_filter for my route to css and there is a corresponding entry in the
symfony HttpFoundation\File class.
In my mainAction method of my CSSController I have the follo
Hi there,
I just read the entire Symfony 2 quick tour. I found many useful and
smart things, which are great !
But I also wondered about a few (tiny) things, that are more about
ease of use.
Hope I get an answer here :)
1) I'm sorry that we lost the ability to "return nothing" in the
action (whic
upon trying to install sym1.4.8 i got this error:
(2nd time i ran it, just used a different project name)
Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.
C:\Windows\system32>cd\
C:\>php dev\symfony\data\bin\symfony generate:project wincl
PHP W
Hello,
I want to perform page navigation and noticed that sfPageNavigation
Plugin exists. But I am using symfony 1.2.9 version.
I did not find sf Page Navigation plugin suitable for this symfony
version. Does it exist one which suffices to this. Can you help me in
this scenario how to proceed in
Hi Leevi,
Im a big fan of your Expression Engine work- this is more of a Doctrine
issue as relationships are defined in either the schema.yml or directly in
the database and schema generated from that.. i havent used symfony 2 either
so i cant really help you out
On Sun, Nov 21, 2010 at 4:35 AM,
Thanks for the reply Gábor Fási, very helpful and I like the way it
works. Little word of advice for "Newbies", use the command line
commands to create the task, it puts all the code in place for you.
"symfony generate:task"
On Nov 29, 7:09 am, Gábor Fási wrote:
> Create a task, and run that from
The answer for the three points is: that's the default way, but like one of
the principles of Symfony2 is to be flexible, you can overwrite that
behaviors with your own classes extending the Symfony2 classes and do it
like you want.
Although don't worry, really the default way is better than onesel
ini_set('memory_limit', '128M');
BUT hang on. Do you really want to just throw more memory at the problem?
Why not look at better ways to optimise your code to use less memory? For
example, unset() variables and arrays as you finish using them. Use
resultset methods (such as doSelectRS or doSelect
On 11/29/10 7:22 PM, Lideln wrote:
Hi there,
I just read the entire Symfony 2 quick tour. I found many useful and
smart things, which are great !
But I also wondered about a few (tiny) things, that are more about
ease of use.
Hope I get an answer here :)
The answer: Explicit is always better t
26 matches
Mail list logo