Why is it that sfYaml in Symfony 1.0 can parse the YAML below but the
sfYaml class from components/1.2 can't do it?!
Recipients:
- title: 'Mr'
firstname: 'Peter'
lastname: 'Pan'
- title: 'Mr'
firstname: 'John'
lastname: 'Doe'
Arg!!! :)
--~--~-~--~~---
I am using Symfony 1.0 in this project and the sfYaml::load() function
definitely uses spyc/syck.
But perhaps that is a clue - and I should use sfYaml from symfony 1.2
and see if sfYamlParser is faster.
thanks Fabian!
dan
--~--~-~--~~~---~--~~
You received this
Good advice for sure, thank you. Moving data queries of of loops is
something I do often, sometimes resulting in using a LOAD DATA INFILE
and bypassing the ORM altogether.
Unfortunately, it seems that simply calling sfYaml::load() is
consuming huge amounts of time and RAM, but I will have to diag
Has anyone had any success loading yaml files > 1MB?
I have a script that loads yaml files using sfYaml and the load()
method takes several minutes to load files > 1MB.
Is there a faster way to handle large files? Anyone?
:)
--~--~-~--~~~---~--~~
You received this m
Try commenting this line out in your .htaccess file:
RewriteRule .* - [L]
On May 31, 11:12 pm, Tomasz Ignatiuk wrote:
> Symfony should escape those dots and commas. How do you create link?
>
> On 27 Maj, 16:03, halla wrote:
>
> > Hi,
>
> > I'm trying to transport geo-coordinates as part of an
Save your domain urls in app.yml - one for each environment
On Mar 12, 3:58 pm, xhe wrote:
> I want to send email in task, but when I used link_to
> ('text','@url','absolute=true'), the responded url is always like this
> onehttp://.\symfony/action/module...
>
> I think this is because it is run
ass UserPeer not found blabla...
>
> So how can we use propel class in task?
>
> On Mar 4, 6:32 pm, danielwinter wrote:
>
> > Thanks James, here's my working code from the task's execute() method
> > in case it helps anyone else:
>
> > $configuration =
ions['connection'] ?
> $options['connection'] : '');
>
> // you need a context to load the partial helper
> $context = sfContext::createInstance($this->configuration);
> sfLoader::loadHelpers('Partial');
Wanting to send emails using templates from a CLI task.The cookbook
says:
"You'll need to use get_partial() and get_component() functions in
PartialHelper instead of sfAction::getPartial() and
sfAction::getComponent() methods."
But has anyone actually got this to work?!?!
cheers
dan
--~--~--
Anyone?
On Feb 20, 3:28 pm, danielwinter wrote:
> This is a strange one. I have someadmingenerator modules that have
> redirects to predefined filters.
> Everything worked fine in 1.0 but now in1.2the routing changes this:
>
> $this->redirect("module/action?filter=filte
This is a strange one. I have some admin generator modules that have
redirects to predefined filters.
Everything worked fine in 1.0 but now in 1.2 the routing changes this:
$this->redirect("module/action?filter=filter&filters[example_id]=1");
Into this URL:
http://domain/module/action/filter/fi
Well, after a lot of debugging I found the offending code in a custom
filter.
There was a die() command that resulted when the URL didn't match the
expected domain.
Bad code, bad result. Sorry folks.
Lesson learned - never say die in symfony :)
--~--~-~--~~~---~--~~
All my functional tests refuse to fail or complete.
Here's an example:
get('invalid_route_1');
$browser->get('invalid_route_2');
And here's the output:
# get invalid_route_1
Looks like everything went fine.
Clearly everything went fine, except that route 1 should have failed
and route 2 was
I have recently migrated a project from 1.0 to 1.2 - primarily because
I had a problem where the func tests had stopped running properly. The
problem is, they still don't run properly in 1.2 - has anyone got an
idea what might be going on here?
Example test:
get('/does_not_exist_1');
$browser->g
end a wrong MIMe type.) Here's the
> link to the forum entry:
>
> http://www.symfony-project.org/forum/index.php/m/16907/#msg_16907
>
> HTH,
>
> Ingo.
>
> danielwinter schrieb am 11.09.2008 09:00:
>
> > For some reason all my PDF uploads in admin generator m
For some reason all my PDF uploads in admin generator modules are
being detected as "octet/stream" MIME types and consequently being
renamed .bin
Any ideas as to why this would be happening?
cheers
dan
--~--~-~--~~~---~--~~
You received this message because you are
For some reason all my PDF uploads in admin generator modules are
being detected as "octet/stream" MIME types and consequently being
renamed .bin
Any ideas as to why this would be happening?
cheers
dan
--~--~-~--~~~---~--~~
You received this message because you are
I love my PhpEd - SFTP sync, SSH terminals, code folding, (symfony)
code insight, code templates (with hot-keys), debugging, profiling,
code navigation and completion (even for HTML tags), integrated custom
CHM help files
Not the cheapest but IMHO the best.
On Sep 9, 4:13 pm, Sumedh <[EMAIL
I had a similar problem with email addresses being passed in the url -
the quick fix was to comment out the RewriteRule .* - [L] line
in .htaccess and then al went well...
RewriteRule .* - [L]
On Sep 3, 10:34 pm, gunnarlium <[EMAIL PROTECTED]> wrote:
> Hi!
>
> I have a url like "/music/tags/m
Also, is it possible to disable the forms compatibility but continue
to use sendEmail and PHPmailer within the same action?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group,
I have some very big Symfony 1.0 sites that I would like to upgrade
and start using the new 1.1 forms for new modules and actions. I am
presuming that you can use sfConfig::set('compat_10',false) within a
module and/or action to change the compatibility mode - but am I
presuming correctly? :)
Than
Ah - the key is the final period after the route.
:)
route_name:
url: /pathname.
param: { module: home, action: pathname}
Hope this helps someone!
On Jul 21, 5:54 pm, danielwinter <[EMAIL PROTECTED]> wrote:
> I am using suffix: html in my settings.yml for a project and I have
>
I am using suffix: html in my settings.yml for a project and I have
been asked by the client to support a URL without a file extension.
So my question is how do I set in a route to match /pathname instead
of /pathname.html on an ad hoc basis?
cheers
dan
--~--~-~--~~~-
ditch" <[EMAIL PROTECTED]> wrote:
> I had a problem with that error a while back, this was my
> problem:http://groups.google.com/group/symfony-users/browse_thread/thread/273...
>
> 2008/7/8 danielwinter <[EMAIL PROTECTED]>:
>
>
>
>
>
> > OK this is wei
OK this is weird. I have used the alternate action for sending sfMail
messages many times, but for some reason I am getting an infinite loop
on sfController.class line 539 in the getPresentationFor() method.
On a blank homepage I call a test email with empty templates:
$raw_email = $this->sendEm
Did you ever solve this? I have a similar need where there are 8000
names to choose from. One idea I had was to use a text field that acts
as a filter for an ajax-updated select tag, but it is the select tag
that is validated...
cheers
dan
--~--~-~--~~~---~--~~
You
One other thing - have you extended the auto-class in your module
action?
Maybe you have accidentally over-ridden the paranoid behaviour!
dan
On Jun 16, 7:54 am, danielwinter <[EMAIL PROTECTED]> wrote:
> Arief,
> Does it work in dev environment? Maybe you need to disable th
Arief,
Does it work in dev environment? Maybe you need to disable the cache
in settings.yml to test
dan
On Jun 15, 4:49 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> With symfony version 1.0.16 and sfPropelParanoidBehavior plugin version
> 1.0.3 I couldn't make the admin-genera
mon.itor.us and http://www.montastic.com combined :)
On Jun 3, 4:59 am, "Daevid Vincent" <[EMAIL PROTECTED]> wrote:
> http://mon.itor.us@ 11:57AM PST
>
> The irony.
>
> Mon. itor. us
>
> Error
>
> Internal server error. Please, try later.
>
> BAH BAHHAHA HAHAHAHHAHAHA
>
> Seriously, just ins
29 matches
Mail list logo