On Apr 23, 7:56 am, Eno wrote:
> On Thu, 23 Apr 2009, LawrenceKrubnerwrote:
> > The code has worked before, in other contexts, so I'm unclear why it
> > is not working now.
>
> Are you sure there are > 30 items?
>
> You probably should have some code that doesn't show the next link if
> you're
Ok, tnx.
On Apr 23, 4:12 pm, Jonathan Wage wrote:
> Doctrine is bundled with symfony 1.2
>
> - Jon
>
> On Thu, Apr 23, 2009 at 5:09 PM, Jonathan wrote:
>
> > I just went to grab the latest sfDoctrinePlugin from the svn trunk
> > (for sf 1.2) and noticed that the trunk doesn't exist. What's goin
Guys, I report this problem here
http://forum.symfony-project.org/index.php/m/77323/
If you can help..
Thanks..
Nei
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, sen
Doctrine is bundled with symfony 1.2
- Jon
On Thu, Apr 23, 2009 at 5:09 PM, Jonathan wrote:
>
> I just went to grab the latest sfDoctrinePlugin from the svn trunk
> (for sf 1.2) and noticed that the trunk doesn't exist. What's going
> on?
>
> jonathan
>
> >
>
--
Jonathan H. Wage
Open Source
I just went to grab the latest sfDoctrinePlugin from the svn trunk
(for sf 1.2) and noticed that the trunk doesn't exist. What's going
on?
jonathan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" gro
Hi, apologies in advance for everybody who isnt in New Zealand!
Pixel Fusion is looking for a full time web developer who is
interested in joining a fun and energetic team.
We’re looking for a full time PHP developer to join our growing team.
Our development environment is predominantly LAMP
Hi,
This project was working fine but after update it now unable to upload
files and coming up with this form errors:
Unexpected extra form field named "name". Unexpected extra form field
named "type". Unexpected extra form field named "tmp_name". Unexpected
extra form field named "error". Unexp
Hi,
there's a value in your php.ini which handles clearing outdated sessions.
The configs in your settings.yml can't overwrite this directives..
If i remember right, you'll need to increade the
session.gc_maxlifetime.. don't have a changed config at home atm..
Greetings,
Christian
ckemmler s
I have tried several several strategies to set the timeout of a
session in my application to 2 weeks; all have failed so far. The
current one consists of:
1) setting the timeout to 0 in my application's settings, under all:
all:
.actions: [...]
.settings: [...]
timeout:0
2) extendin
BTW what kind of symptoms were you having and how did you fix it?
On Fri, Apr 24, 2009 at 9:36 AM, Sid Bachtiar wrote:
> It seems like it ... the PHP version is 5.25 and according to the
> forum the fix is in 5.26
>
> On Fri, Apr 24, 2009 at 2:29 AM, Pablo Godel wrote:
>>
>> Hmmm, that looks li
It seems like it ... the PHP version is 5.25 and according to the
forum the fix is in 5.26
On Fri, Apr 24, 2009 at 2:29 AM, Pablo Godel wrote:
>
> Hmmm, that looks like a PHP bug we had a few years ago. What version
> of PHP are they running?
>
> Pablo
>
> On Thu, Apr 23, 2009 at 3:36 AM, Sid Ba
i experimented a bit in the meantime and found out that the problem
here is my "index:unique" inside the keywords_i18n-schema. if i remove
the unique index from the schema declaration, i can edit existing
keyword entries in the backend without the mentioned validation error.
this is a workaround a
Thank you it work fine :)
On 23 avr, 11:39, Dejan Spasic wrote:
> try this
>
> $sf_data->getRaw('sf_user')->getFlash('msg');
>
> or this
>
> $sf_user->getFlash('msg', ESC_RAW);
>
> http://www.symfony-project.org/book/1_2/07-Inside-the-View-Layer#chap...
>
> On Apr 22, 3:09 pm, FÁSI Gábor wrote:
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
hi!
just try to make a slot(or a component) that contain the form itself. You
might cache the page, but keep your form uncached.
this might help you get a view ...
http://www.symfony-project.org/jobeet/1_2/Doctrine/en/22
http://www.symfony-project.org/book/1_2/12-Caching
alecs
On Thu, Apr 23, 2
Thanks to Andrei Dziahel and Eno for your answers.
I put this configuration in conf/doctrine/schema.yml
#
connection: doctrine
options:
type: INNODB
collate: utf8_spanish_ci
charset: utf8
and the sql generated for all tables have that op
I am caching a page which has a form, but because the form is csrf
protected, whenever the form is read from cache, the "csrf attach is
detected" error is thrown.
So any idea to catch a page which as csrf protection enabled? Or if
not, how can I disable csrf protection for that page?
Thanks for yo
Hi,
I've set the content width of my pages to 800px wide in my symfony
app. I have noticed that when I view the pages in Firefox, using a
localhost connection the content width seems to be more narrow than in
other browsers (IE, Chrome, Safari). However, when I load the page by
accessing the pa
Thank you. Maybe I will find some spare time to write a better
emailValidator plugin but you solution is a good start.
Eric
On Apr 23, 12:02 am, Bernhard Schussek wrote:
> Hi Eric,
>
> I know that problem too well. Unfortunately the Doctrine model and the
> forms framework use two different val
Hmmm, that looks like a PHP bug we had a few years ago. What version
of PHP are they running?
Pablo
On Thu, Apr 23, 2009 at 3:36 AM, Sid Bachtiar wrote:
>
> It is working once every 3-4 times ... really weird ... any idea?
>
> On Thu, Apr 23, 2009 at 7:01 PM, Sid Bachtiar wrote:
>> Hi,
>>
>> I
Thanks Eno for the hint.
I've checked my apache's access log, and got this when using an invalid user:
127.0.1.1:8082 127.0.0.1 - - [23/Apr/2009:20:14:10 +0800] "POST
/administration_dev.php/login HTTP/1.1" 200 10381
"http://127.0.0.1:8082/administration_dev.php/login"; "Mozilla/5.0
(X11; U; Linu
Thankyou very much Alecs. This appears to have worked perfectly.
Adam
Alexandru-Emil Lupu wrote:
Well preety easy. try this :
// IssuePeer.php
public static function selectAllFromCulture($c)
{
$culture =
sfContext::getInstance()->getUser()->getCulture();
Well preety easy. try this :
// IssuePeer.php
public static function selectAllFromCulture($c)
{
$culture = sfContext::getInstance()->getUser()->getCulture();
$criteria = clone $c;
$criteria->add(self::CULTURE,$culture);
return self::doSelectJoinAll($criteria);
On Thu, 23 Apr 2009, Adam Frame wrote:
> Looking in the cache (issues/actions.class.php .. executeList()) the Pager is
> being
> prepared correctly (I think). Here is what it shows ..:
>
> // pager
> $this->pager = new sfPropelPager('Issue', 5);
> $c = new Criteria();
> $this->addSo
On Thu, 23 Apr 2009, Mohd Shakir bin Zakaria wrote:
> I'm using Symfony 1.2 and sfDoctrineGuardPlugin 3.0 and been getting
> the following error when trying to log in using a valid user:
>
>
> 500 | Internal Server Error | Doctrine_Record_Exception
Look in your symfony or Apache error logs.
On Thu, 23 Apr 2009, Lawrence Krubner wrote:
> The code has worked before, in other contexts, so I'm unclear why it
> is not working now.
Are you sure there are > 30 items?
You probably should have some code that doesn't show the next link if
you're on the last page OR there are less than 30 i
On Wed, 22 Apr 2009, Gary Rojas wrote:
> The first three records are quoted but it behaves like quotes no
> exists because the text is trunked how i say before.
Is it possible that PHP or your database doesn't have support for your
character set?
--
--~--~-~--~~~-
Good
morning fine people :)
I have a very strange problem to do with the Admin Generator on
sf1.0.20/Propel.
I use a custom peer_method and a custom peer_count_method in
generator.yml. The custom peer_method returns a Propel object based on
doSelectJoinAll. The custom peer_count_method
Hi guys..
I'm using Symfony 1.2 and sfDoctrineGuardPlugin 3.0 and been getting
the following error when trying to log in using a valid user:
500 | Internal Server Error | Doctrine_Record_Exception
Unknown method sfGuardUser::checkPassword
I will still get the following error if I use an in
Hi!
Building a light weight search engine for books.
I've a search field for searchterms. The problem is that the
searchterms need to be splitted into words and every word has to be
looked for in combination with the all the other words.
I've a solution to it, see code below.
I now wonders if
try this
$sf_data->getRaw('sf_user')->getFlash('msg');
or this
$sf_user->getFlash('msg', ESC_RAW);
http://www.symfony-project.org/book/1_2/07-Inside-the-View-Layer#chapter_07_output_escaping
On Apr 22, 3:09 pm, FÁSI Gábor wrote:
> The problem is caused by the automatic escaping of any data p
This can be very helpful in such situations:
Propel Criteria Builder
http://propel.jondh.me.uk/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to symfony-user
I thought I would just point out.
$c->add(WeblogPeer::CATEGORY, "general", Criteria::NOT_EQUAL);
$c->add(WeblogPeer::CATEGORY, "featured", Criteria::NOT_EQUAL);
Those statements do not create an OR or an AND. In fact what happens is that
the second one over writes the first because they both
It's important to know how Criterion works, but in this particular
case you'd better simply use IN operator :
$c = new Criteria();
$c->add(WeblogPeer::CATEGORY, array("general", "featured"),
Criteria::IN);
$c->add(WeblogPeer::ACTIVE, "0", Criteria::NOT_EQUAL);
$c->addDescendingOr
Hmm. Odd. Go here and scroll to the bottom of the page:
http://lawrence.sds5.com/esociety/web/
You'll see these links, created by sfPager:
« < 1 - 2 > »
But click on the 2, and it doesn't work. You're still on the front
page.
Most of my code is copy-n-paste of the code snippets on the Symfon
It is working once every 3-4 times ... really weird ... any idea?
On Thu, Apr 23, 2009 at 7:01 PM, Sid Bachtiar wrote:
> Hi,
>
> I'm trying to install a frozen project to Plesk controlled server, kept
> getting:
>
> PHP Fatal error: sfPropelDatabase::require_once() [ href='function.require'>fun
Thanks much for this. I wish Criteria/Propel was better documented.
On Apr 22, 11:40 pm, Dheeraj Kumar Aggarwal
wrote:
> hi
> i think this should work
>
> $this->howManyToPage = 6;
> $c = new Criteria();
> $criterion = $c->getNewCriterion(WeblogPeer::CATEGORY, 'general',
> Criteria:
Here:
http://propel.phpdb.org/docs/user_guide/chapters/FindingObjects.html#FindingRecods.Criteria
greets
Sven
Lawrence Krubner schrieb:
> getNewCriterion() ???
>
> Where is this documented?
>
>
> On Apr 22, 11:40 pm, Dheeraj Kumar Aggarwal
> wrote:
>> hi
>>i think this should work
>>
>>
getNewCriterion() ???
Where is this documented?
On Apr 22, 11:40 pm, Dheeraj Kumar Aggarwal
wrote:
> hi
> i think this should work
>
> $this->howManyToPage = 6;
> $c = new Criteria();
> $criterion = $c->getNewCriterion(WeblogPeer::CATEGORY, 'general',
> Criteria::NOT_EQUAL);
> $
Hi,
I'm trying to install a frozen project to Plesk controlled server, kept getting:
PHP Fatal error: sfPropelDatabase::require_once() [function.require]: Failed opening required
'creole/Creole.php' (include_path='.:') in
/var/www/vhosts/myproject.org/httpdocs/myproject/lib/symfony/addon/propel/
40 matches
Mail list logo