[symfony-users] Re: Can't login app with IE, but FF ok

2007-10-08 Thread Cipher Chien
Oh...Add more infomation. My app is in production environment. (I did "symfony freeze"). My server os is FC6. On 10月9日, 下午2時13分, Cipher Chien <[EMAIL PROTECTED]> wrote: > Hi,...symfony users > > I really have no idea how to fix the problem, this is my first > time meet it. > hope someone who

[symfony-users] Can't login app with IE, but FF ok

2007-10-08 Thread Cipher Chien
Hi,...symfony users I really have no idea how to fix the problem, this is my first time meet it. hope someone who met the same problem can share solutions kindly. The situation is I have a simple login form. the code is: Account: Account: the action code: public function executeLogin

[symfony-users] Re: [sfLucenePlugin] Notice: iconv(): Detected an illegal character in input string...

2007-10-08 Thread Carl Vondrick
On Monday, October 08, 2007, Daniel Staver wrote: > What's causing this to happen? I've configured everything to use UTF-8 Hi, This is either a bug in Zend Search Lucene or sfLucene. The tricky part is figuring out which. :) I just committed a change that will let you configure this some more.

[symfony-users] Re: Callback with Prototype Window

2007-10-08 Thread Frank Stelzer
> var json=transport.responseText.evalJSON(false); Did you changed this flag to true already? JS is not evaluated by default after a remote request. Am 08.10.2007 um 17:08 schrieb [EMAIL PROTECTED]: > > Hi, > I got a problem with prototype Window. > My goal is to call a PW with a form. > The fo

[symfony-users] Re: ORM?

2007-10-08 Thread Frank Stelzer
I use Propel 1.3 rev701 standalone in an none symfony project and i like it so much better than 1.2. However, the nested set support has still some bugs, but the rest works very fine. I decided against doctrine because of the lack of stability. I didn't tested Propel 1.3 with symfony, but i w

[symfony-users] AW: [symfony-users] Re: "Ignorelist" Check

2007-10-08 Thread Marco Schierhorn
http://www.symfony-project.com/api/1_0/sfFunctionCache is a good idea. I did think about to put it in a preExecute of the action classes. But then I've to put it in all actions. I read a post in the forums where someone recommends to put a function like this in a filter. This was my idea: I put t

[symfony-users] Re: "Ignorelist" Check

2007-10-08 Thread Kiril Angov
I would suggest you use a Propel Behavior for that. Take a look at http://trac.symfony-project.com/wiki/sfPropelSpamTagBehaviorPlugin for an example. The idea is that when the user is logged in you can get the user id and apply add that to the sql queries. But now when I read better your quest

[symfony-users] "Ignorelist" Check

2007-10-08 Thread Marco Schierhorn
Hey, I’m thinking about a good solution for the following problem: We’ve an online social network. And the users have the possibility to ignore / block other user. For example: When a userA blocks userB, userB should see just a limited profile of userA and shouldn’t see his profile pic on some li

[symfony-users] Re: Clearing attributes on session timeout

2007-10-08 Thread Christian Weyand
Heya everyone, i experienced the very same issue today. I set a bunch of attributes, reduced the session-lifetime to 60 seconds, but the attributes i set before won't get cleared. Anyone got a clue on how to track this behaviour down? Thanks in advance chris > hi all, > > this might be trivial

[symfony-users] Callback with Prototype Window

2007-10-08 Thread [EMAIL PROTECTED]
Hi, I got a problem with prototype Window. My goal is to call a PW with a form. The form submit action send an Ajax Request which returns a JSON response. The fact is I want this response to be treated by a js function in the calling page ! My code is like that, but I know it's impossible to do w

[symfony-users] Re: Notice: iconv(): Detected an illegal character in input string...

2007-10-08 Thread Daniel Staver
> I no longer get the error. However, I don't really know what to change > to make $this->_input contain 'UTF-8'. Sorry, I mean $this->_encoding of course... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony

[symfony-users] Re: [sfLucenePlugin] Notice: iconv(): Detected an illegal character in input string...

2007-10-08 Thread Daniel Staver
I tried the UTF-8 analyzer but that doesn't seem to be the problem. Iconv is being called with a blank parameter for in_charset. If I change line 57 in plugins/sfLucenePlugin/lib/vendor/Zend/Search/Lucene/ Analysis/Analyzer/Common/TextNum.php from: $this->_input = iconv($this->_encoding, 'ASCII//

[symfony-users] Re: [sfLucenePlugin] Notice: iconv(): Detected an illegal character in input string...

2007-10-08 Thread Fabian Lange
Hi, was about to write the same, so just one addition: >Also keep in mind that the UTF-8 analyser is >case-sensitive and you need to be careful about that. strtolower() will not work for that. You will get odd results. Use mb_strtolower() instead. Perhaps everybody knows that, it was just me

[symfony-users] Re: [sfLucenePlugin] Notice: iconv(): Detected an illegal character in input string...

2007-10-08 Thread Kiril Angov
Daniel Staver wrote: > I'm trying to index only the title field of a class just to test the > plugin. When I build the index I get the following error on all fields > with Norwegian characters in them: > > PHP Notice: iconv(): Detected an illegal character in input string > in /var/www/nibr/dev/p

[symfony-users] Re: [sfLucenePlugin] Notice: iconv(): Detected an illegal character in input string...

2007-10-08 Thread Dave Dash
I've had this problem with Zend Lucene before (accented characters). This might be worth bringing up on the Zend Frameework mailing list as the author of the Zend Search Lucene is quite helpful with debugging issues like this. It might have to do with the analyzer you are using. On 10/8/07, Dani

[symfony-users] [sfLucenePlugin] Notice: iconv(): Detected an illegal character in input string...

2007-10-08 Thread Daniel Staver
I'm trying to index only the title field of a class just to test the plugin. When I build the index I get the following error on all fields with Norwegian characters in them: PHP Notice: iconv(): Detected an illegal character in input string in /var/www/nibr/dev/plugins/sfLucenePlugin/lib/vendor

[symfony-users] Re: addDescendingOrderByColumn Problem

2007-10-08 Thread tolga
OK, it's all my false...No problem with addDescendingOrderByColumn with RS. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com

[symfony-users] How to retrieveFirstChild with sfPropelActAsNestedSetBehavior ?

2007-10-08 Thread Cipher Chien
Hi, Does any one know how to use retrieveFirstChild() method to get node object? My code in action: $this->rootId = 326; $catRoot = Doc02CatPeer::retrieveByPK($this->rootId); $this->cats = $catRoot->getDescendants(); // this is ok, can get current data $this->firstNode = $catR

[symfony-users] Re: Cache misteriously deleted

2007-10-08 Thread Steve Daniels
I'm glad I noted it was a quick glance! Hands up who's going to go digging into the cache generation code? ;-) On 08/10/2007, Ian P. Christian <[EMAIL PROTECTED]> wrote: > > Steve Daniels wrote: > > On 08/10/2007, Haris Zukanovic' <[EMAIL PROTECTED]> wrote: > >> To be sincere, I can't imagine P

[symfony-users] Re: Best way to use Model Classes

2007-10-08 Thread Ian P. Christian
Marco Schierhorn wrote: > Hey, i’ve got a question concerning the Model Classes and the functions > written by me in the lib/Models directory ( i.e. Members.php and > MembersPeer.php ), not the ones which are created automatically. ( > lib/model/om ). > Anything that acts on an instance of a mem

[symfony-users] Best way to use Model Classes

2007-10-08 Thread Marco Schierhorn
Hey, i’ve got a question concerning the Model Classes and the functions written by me in the lib/Models directory ( i.e. Members.php and MembersPeer.php ), not the ones which are created automatically. ( lib/model/om ). What is the best way to use those in my actions? Should I put my own functio

[symfony-users] Re: Cache misteriously deleted

2007-10-08 Thread Ian P. Christian
Steve Daniels wrote: > On 08/10/2007, Haris Zukanovic' <[EMAIL PROTECTED]> wrote: >> To be sincere, I can't imagine PHP being the source of the problem. >> Can anyone hypothesize on how it could be related to PHP? >> > > I had a quick glance at one of Pookey's error messages in the thread > he

[symfony-users] Re: Cache misteriously deleted

2007-10-08 Thread Steve Daniels
On 08/10/2007, Haris Zukanovic' <[EMAIL PROTECTED]> wrote: > > To be sincere, I can't imagine PHP being the source of the problem. > Can anyone hypothesize on how it could be related to PHP? > I had a quick glance at one of Pookey's error messages in the thread he quoted earlier you can see tha

[symfony-users] Re: addDescendingOrderByColumn Problem

2007-10-08 Thread Steve Daniels
Turn on the web debug bar and have a look what query it says is being run.. I suggest this because of the warning given by toString: "Current Query SQL (may not be complete or applicable)" Steve Daniels On 08/10/2007, tolga <[EMAIL PROTECTED]> wrote: > > My criteria works well, there's only 1 pr

[symfony-users] Re: Cache misteriously deleted

2007-10-08 Thread Haris Zukanovic'
To be sincere, I can't imagine PHP being the source of the problem. Can anyone hypothesize on how it could be related to PHP? Ian P. Christian wrote: > Ian P. Christian wrote: > >> I need to get in touch with my former employer, but I think this is >> happening on a 5.2.2 install >> > >

[symfony-users] Re: Cache misteriously deleted

2007-10-08 Thread Ian P. Christian
Ian P. Christian wrote: > I need to get in touch with my former employer, but I think this is > happening on a 5.2.2 install confirmed - issue exists with PHP 5.2.2. -- Ian P. Christian ~ pookey.co.uk --~--~-~--~~~---~--~~ You received this message because you

[symfony-users] Re: Cache misteriously deleted

2007-10-08 Thread Ian P. Christian
Kiril Angov wrote: > I have yet to see > a person with >5.2.1 have this cache problem. > I need to get in touch with my former employer, but I think this is happening on a 5.2.2 install I've logged into the server, and it's defiantly running 5.2.2 PHP 5.2.2-pl1-gentoo with Suhosin-Patch 0.9.6.

[symfony-users] Re: Cache misteriously deleted

2007-10-08 Thread Kiril Angov
Haris Zukanović wrote: > No, > > I'm developing with 5.1.6 on Windows and I have seen the error even > here (no load, just me), > also we see this error frequently on our server which is Linux debian > Here is the phpinfo for the server > http://turistika.digid.tv/phpinfo.php > > > > > Kiril Ango

[symfony-users] Re: Cache misteriously deleted

2007-10-08 Thread Haris Zukanović
I have read all the posts that I have found about this theme. None of them unfortunately seems to even suggest a way of debugging this issue Can I hookup anywhere in symfony where I could see the files get deleted? Normally if I understand correctly the files should never get deleted unless the ca

[symfony-users] Re: Cache misteriously deleted

2007-10-08 Thread Haris Zukanović
No, I'm developing with 5.1.6 on Windows and I have seen the error even here (no load, just me), also we see this error frequently on our server which is Linux debian Here is the phpinfo for the server http://turistika.digid.tv/phpinfo.php Kiril Angov wrote: > Ian P. Christian wrote: > >> H

[symfony-users] addDescendingOrderByColumn Problem

2007-10-08 Thread tolga
My criteria works well, there's only 1 problem. addDescendingOrderByColumn(TablePeer::Field); doesn't work. when I echo $criteria->toString(); it prints an sql to the screen. When I execute that sql in my phpmyadmin, it gives the result I want, but when I $rs = AccountPeer::doSelectRS($criter

[symfony-users] Re: Cache misteriously deleted

2007-10-08 Thread Kiril Angov
Ian P. Christian wrote: > Haris Zukanović wrote: > >> I wish to re-actualize this subject >> Can we try to solve this problem, please? This is a showstopper for >> production env. >> > > See also my post ages ago: > > http://groups.google.co.uk/group/symfony-users/browse_thread/thread/5df2

[symfony-users] Re: Cache misteriously deleted

2007-10-08 Thread Ian P. Christian
Haris Zukanović wrote: > I wish to re-actualize this subject > Can we try to solve this problem, please? This is a showstopper for > production env. See also my post ages ago: http://groups.google.co.uk/group/symfony-users/browse_thread/thread/5df23826c604861d/360b5de9fbb84c10?hl=en&lnk=st&q=sym

[symfony-users] Best ways to use data from the database in the templates / actions

2007-10-08 Thread Marco Schierhorn
Hey, I’m just wondering how you use data from the database in your templates / actions. There is the one way using the functions of the model classes. For example : $articles = ArticlePeer::retrieveByPks( array(123, 124, 125)); Or one of the doSelectJoinsXXX functions.

[symfony-users] Re: Cache misteriously deleted

2007-10-08 Thread Haris Zukanović
I wish to re-actualize this subject Can we try to solve this problem, please? This is a showstopper for production env. Lately, it happends a lot for our application. How can we go about debugging it, please give me suggestions Symptoms are following: Parts of cache inside cache/backend/prod/mo

[symfony-users] Re: ORM?

2007-10-08 Thread Pierre
The only problem I've experienced with Propel 1.3 and MySQL is the DateTime object used for Time/Date/Datetime fields. It doesn't work right now, but you can write your own workaround for that fields. All over all, Propel 1.3 seems very stable to me. Nothing to rewrite but the nested set things (