Re: [symfony-users] Re: Textarea onclick event?

2010-11-03 Thread Eno
On Tue, 2 Nov 2010, Parijat Kalia wrote: Oh guys, please chill out, none of that was for either of you, it was for Mr.Eno, because he typically comes up with smart ass sentences like those way too often. I haven't posted here for months. I agree with the smart part - I had the correct

Re: [symfony-users] Re: Textarea onclick event?

2010-11-01 Thread Eno
On Mon, 1 Nov 2010, Parijat Kalia wrote: Doesn't really answer my question. I have used several javascripts in the format : array('onclick'='javascript:alert(yo)')...the alert is just a filler function for now, there are offcourse different javascript functions. Every other input tag that

Re: [symfony-users] Re: Textarea onclick event?

2010-11-01 Thread Eno
On Mon, 1 Nov 2010, Parijat Kalia wrote: Yes smart ass, I am 2 lazy about it Its considered poor netiquette to post questions on a mailing list without doing some BASIC research. Do your homework before posting needlessly. -- -- If you want to report a vulnerability issue on

Re: [symfony-users] Dynamic Table?

2010-10-20 Thread Eno
On Wed, 20 Oct 2010, xpanshun wrote: In other words, I want product images (along with some other info) to be displayed in a sort of a dynamic table according to how many entries are in the database. To get images to display 4 per row, then move to the next row, etc. So just make an HTML

Re: [symfony-users] Re: How to change a POST value posted from form

2010-10-19 Thread Eno
On Tue, 19 Oct 2010, hribo wrote: thank you, but is it possible to get request parameter inside the model layer? if yes, what is the proper syntax Probably better to get the value in your controller and pass it to a method in the model layer. This is MVC. -- -- If you want to report

Re: [symfony-users] Unwanted /www/web in URL

2010-10-10 Thread Eno
On Sun, 10 Oct 2010, Felix E. Klee wrote: Now everything works fine, except the URLs don't look fine - by example: * Before the change, when I entered http://www.example.com, I was redirected to http://www.example.com/es, where es is the language code. * After the change, when I

Re: [symfony-users] Clear cache in action

2010-10-07 Thread Eno
On Thu, 7 Oct 2010, [ISO-8859-2] Micha³ Piotrowski wrote: 2010/10/7 HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com: Is there a way to clear my cache in an action, using PHP? $cacheManager = sfContext::getInstance()-getViewCacheManager(); if ($cacheManager) {

Re: [symfony-users] linik trouble

2010-09-23 Thread Eno
On Thu, 23 Sep 2010, Nova Lina wrote: i have a trouble with link.somebody can help me to explain what diferent source when i coding like this... 1) a href=?php echo url_for('main/home'); ?Home/a/li with 2) a href=

Re: [symfony-users] symfony + Cassandra

2010-09-23 Thread Eno
On Thu, 23 Sep 2010, Mercedes Sualog III wrote: Actually I don't still have the idea on how to do it..I am thinking since Symfony supports ORM ideally this should support any database but I am not sure with Cassandra since this a NoSQL and new one. Yeah, you would need to write an ORM-NoSQL

Re: [symfony-users] symfony + Cassandra

2010-09-22 Thread Eno
On Tue, 21 Sep 2010, Mercedes Sualog III wrote: Does anybody of you tried using symfony with Cassandra as database? Does it work? I suspect that you will have to roll your own library to use it (we do a similar thing to use an XML database). Unless there are plans to have Doctrine ODM

Re: [symfony-users] some questions about sf

2010-09-22 Thread Eno
On Wed, 22 Sep 2010, ahmed shehata wrote: first what is the best ide for symfony The best way to learn is to start with just a text editor. second after my project finished by smfony can i run it on shared hosting like http://www.hostmonster.com/ as my site already run on it via

Re: [symfony-users] Jobeet Tutorial - routing problem

2010-09-22 Thread Eno
On Wed, 22 Sep 2010, martin wrote: The homepage works well, but any other URL's keep telling me that the requested URL wasn't found.. Example: On homepage I click on Web Developer link: http://localhost:8082/job/sensio-labs/paris-france/1/web-developer (this doesn't work, the URL was

Re: [symfony-users] PHP related,Symfony unrelated

2010-08-16 Thread Eno
On Mon, 16 Aug 2010, Parijat Kalia wrote: That's exactly what I am trying to explain. Currently what I am doing right now is using a select_tag, with options that trigger corresponding queries to alter the sort order presented in the page. Any better ideas over how this may be implemented?

Re: [symfony-users] ARUBA hosting ERROR: Install PDO and PDO driver: mysql

2010-08-12 Thread Eno
On Thu, 12 Aug 2010, Johnny wrote: I'm trying to use a symfony application but when I try to login on the remote serve I gave this error: ERROR: Install PDO and PDO driver: mysql Error message is self-explanatory: you need to install the PDO/PDO-mysql drivers to run symfony. -- A -- If

Re: [symfony-users] PHP related,Symfony unrelated

2010-08-09 Thread Eno
On Mon, 9 Aug 2010, Parijat Kalia wrote: I have a table, with about 10 columns, offcourse for displaying my data. I know, there are several sites that let you click on the header of these table rows, and switch the display data accordingly. for instance, if one of my column headers is

Re: [symfony-users] a good IDE for Symfony

2010-08-04 Thread Eno
On Wed, 4 Aug 2010, [ISO-8859-1] Stéphane wrote: You can try VIM too (really). For years Ive been writing code quite happily with vim. Apart from being available on almost every platform, its light and fast (I find most IDE's slow and bloated). Also you have the added advantage of being able

Re: [symfony-users] a good IDE for Symfony

2010-08-03 Thread Eno
On Tue, 3 Aug 2010, Julian Reyes Escrigas wrote: I need help for find a new editor for PHP, I'm using Netbeans 6.9 but I don't know for what is slow, always start very well but when the project grows it's turns unstable You dont really need an IDE to write PHP code. -- -- If you want

Re: [symfony-users] newbie stuck on apache conf

2010-07-26 Thread Eno
On Mon, 26 Jul 2010, Ted wrote: I'm new to sf. I've spent days messing with the MAMP based apache config. I can successfully get the project created page but not with images. Docs only say f you see no image in this page, you may need to configure your web server so that it gains access

Re: [symfony-users] SQLSTATE[23000]: Integrity constraint violation

2010-07-20 Thread Eno
On Mon, 19 Jul 2010, [ISO-8859-1] François SEDE wrote: I have this error : 500 | Internal Server Error | Doctrine_Connection_Mysql_Exception SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`yurplan1`.`items`,

Re: [symfony-users] Can't configure Web Server

2010-07-19 Thread Eno
On Mon, 19 Jul 2010, Mspozzato wrote: Help me, because I'm newer in Symfony and PHP. And, unfortunatelly, I cannot run the first home page after configurations: http://www.jobeet.com.localhost/index.php/ The web browser returns messages like Cannot find server or Cannot be found. Means DNS

Re: [symfony-users] Symfony on Shared Hosting

2010-07-19 Thread Eno
On Mon, 19 Jul 2010, despuestambien wrote: I have been trying to upload symfony on GoDaddy's Shared hosting. But I couldn't!! Has someone successfully achieved this? What's the BIG catch?? Would not recommend shared hosting for symfony apps unless they can fulfill all the requirements for

Re: [symfony-users] Re: how can I get url without parameters in view ?

2010-07-16 Thread Eno
On Thu, 15 Jul 2010, alexmm wrote: I would like to have universal template for pagintion - so I need something like that: ?php echo url_for(.CURRENT URL'?page=1') ? You can use the name of the route in url_for(). Read this:

Re: [symfony-users] Tutorial - Day 3 - Doctrine_Connection_Sqlite_Exception

2010-07-14 Thread Eno
On Tue, 13 Jul 2010, Eno wrote: Looks self-explanatory: there is jobeet_job table in your database. I meant, there is NO jobeet_job table. -- -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because

Re: [symfony-users] Tutorial - Day 3 - Doctrine_Connection_Sqlite_Exception

2010-07-13 Thread Eno
On Tue, 13 Jul 2010, czaku wrote: This is the error I get... 500 | Internal Server Error | Doctrine_Connection_Sqlite_Exception SQLSTATE[HY000]: General error: 1 no such table: jobeet_job. Failing Query: SELECT j.id AS j__id, j.category_id AS j__category_id, j.type AS j__type, j.company

Re: [symfony-users] Frameworks CSS

2010-07-12 Thread Eno
On Mon, 12 Jul 2010, Nei Rauni Santos wrote: I'd like to know if you use any kind of frameworks CSS in your sf projects. Anyone looked at any of these? http://www.blueprintcss.org/ http://www.1kbgrid.com/ http://www.tinyfluidgrid.com/ -- -- If you want to report a vulnerability issue on

Re: [symfony-users] form_tag_for + parameters for routing

2010-07-07 Thread Eno
On Tue, 6 Jul 2010, Guill Lo wrote: I've tried to use form_tag_for with a routing that contains a parameter, and I can't find the way to give it to the function. I've tried *form_tag_for($form, '@user_doc?user_id=' .$user['id']) but I've got a message saying that the routing user_doc?

Re: [symfony-users] Cache and analytics parameters

2010-07-05 Thread Eno
On Mon, 5 Jul 2010, illarra wrote: Is there a way of having an unique cache regardless of the extra parameters added to a route (like Google Analytics)? Let's say I have a route @view?id=13 that results in the URL http://example.com/post/13 When I go to the URL

Re: [symfony-users] Different Cache for different user groups

2010-06-30 Thread Eno
On Wed, 30 Jun 2010, Richtermeister wrote: I have an app with 2 usergroups (admins and dealers), and dealers can fall into 3 brands. Those two factors affect the content of certain lists. Now, I'd like to cache certain sections, but of course I need to still worry about who sees what, and

Re: [symfony-users] Smarty and Symfony

2010-06-22 Thread Eno
On Tue, 22 Jun 2010, Dan Harabagiu wrote: I have a site written using Smarty, is there anyway I can migrate it to symfony? or at least develop additional features using symfony? There is an sfsmarty plugin, so its possible to use Smarty with symfony. -- -- If you want to report a

Re: [symfony-users] Removing a cached template fragment does not work (sf 1.4)

2010-06-22 Thread Eno
On Mon, 21 Jun 2010, Matthias N. wrote: So.. the problem is I try to remove that fragment using the view cache manager but it doesn't work. I tried this but it does not work because it generates not the appropriate filename/pattern: $cacheManager-remove('@sf_cache_partial?

Re: [symfony-users] Day 1 - jobeet problem

2010-06-22 Thread Eno
On Tue, 22 Jun 2010, Christian wrote: where public_html is my apcahe DocumentRoot in whitch i have a lot of directory with different site, but when i put this link in my browser: http://localhost:8080/index.php (as the tutorial say) i can't see anything...only a blank page... can you help

Re: [symfony-users] Route does not add a parameter when its defined as a default one.

2010-06-22 Thread Eno
Remember the orderf of routes *does* matter, so you should have most specific route to least specific routes, e.g. using a wildcard will match all routes that start /blog so probably that route should be last. On Tue, 22 Jun 2010, Ivo Az. wrote: Here's examples: Link

[symfony-users] Symfony 2 Online Conference

2010-06-22 Thread Eno
Anyone attending the online conference tomorrow? I didn't receieve any technical info on how to join the conference and my email asking for info bounced back (with an error message in French malheureusement!). Maybe someone at Sensio can help me? -- -- If you want to report a

Re: [symfony-users] PDO Connection Error: SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO)

2010-06-19 Thread Eno
On Fri, 18 Jun 2010, newprog wrote: Hi i need to connect to mysql from command line... when i used this command php symfony doctrine:insert-sql i get this error PDO Connection Error: SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO) can any one help

Re: [symfony-users] Recent viewed jobs not work on the production after upgrade to 1.4.5

2010-06-19 Thread Eno
On Tue, 15 Jun 2010, scvroin wrote: at my shared server with Recent viewed jobs, it only works, I mean is show the job only when viewing the job, but when back to index page the Recent viewed jobs is empty Look in your symfonh or Apache error logs. -- -- If you want to report a

Re: [symfony-users] change pages displayed by pager?

2010-06-18 Thread Eno
On Fri, 18 Jun 2010, Tofuwarrior wrote: Additionally I would like to implement a drop down so users can just select which page they want. Anyone got any pointers on how to extend the pager to do this. Generating the pulldown is simple enough (since you have the number of pages and the links

Re: [symfony-users] Form helper on symfony 1.4

2010-06-15 Thread Eno
On Mon, 14 Jun 2010, Gustavo Fonseca wrote: The book A gentle introduction do symfony[1] tells me that there is a helper called Form which can generate a select element containig a country list, but this helper is deprecated [2]! Somebody know if this feature does not exists anymore on

Re: [symfony-users] Possible to write a table-less doctrine schema definition?

2010-06-15 Thread Eno
On Tue, 15 Jun 2010, Christian Schaefer wrote: However this Form does not relate to a table in the database but is used to access a web service. So I need no model. Is there a way to define a virtual schema definition for this so that symfony doctrine:build --all will generate the

Re: [symfony-users] app.yml array is not array on first level

2010-06-14 Thread Eno
On Mon, 14 Jun 2010, Tom Ptacnik wrote: Do someone know why first solution produce bad array and second will produce good array? I'm talking abou settings in app.yml 1) all: frontend_cultures: [cs, en] will produce (cache/app/dev/app.yml.php): 'app_frontend_cultures_0' = 'cs',

Re: [symfony-users] Plugin post install processing

2010-06-14 Thread Eno
On Mon, 14 Jun 2010, Serkan Koyuncu wrote: I think, you have to create another task which user should run after installing your plugin. Probably you need to supply the CLI task 'plugin:publish-assets'. -- -- If you want to report a vulnerability issue on symfony, please send it to

Re: [symfony-users] App generator

2010-06-14 Thread Eno
On Mon, 14 Jun 2010, Parijat Kalia wrote: I am trying to generate an app on my symfony project...as usual...I have a frontend, and the one I am trying to kickstart is backend. here is the command I am putting in..(following the symfony jobeet tutorial, Day 12: the admin generator) php

Re: [symfony-users] App generator

2010-06-14 Thread Eno
On Mon, 14 Jun 2010, Eno wrote: Does the file exist in your web folder? Or you can follow the examples in the help (where the app name is after 'generate:app'but before the options), run symfony help generate:app to see the help. -- -- If you want to report a vulnerability issue

Re: [symfony-users] App generator

2010-06-14 Thread Eno
On Mon, 14 Jun 2010, Parijat Kalia wrote: *When you created the frontend application, the production front controller was named index.php. As you can only have one index.php file per directory, symfony creates an index.php file for the very first production front controller and names the

Re: [symfony-users] App generator

2010-06-14 Thread Eno
On Mon, 14 Jun 2010, Parijat Kalia wrote: So on basis of my probing, the everytime u create a new application, after u have created ur inital application (presumably frontend_dev.php), go to the web folder...u shud notice an existing frontend_dev.php which was created by symfony the first

Re: [symfony-users] A pagination issue

2010-06-10 Thread Eno
On Wed, 9 Jun 2010, Parijat Kalia wrote: Got it working!!! Thanks a lot to both yourself and ENo!!! You could also clean up the URL and make it more user- and SEO-friendly by using routing and the link_to() helper (you know, actually using the framework properly). Query strings are fugly

Re: [symfony-users] accessing action instance in sfComponent

2010-06-10 Thread Eno
On Thu, 10 Jun 2010, Daniel Lohse wrote: And I'm also going to say this: use the API documentation to find out what you want to do and how to get there. :) What? You mean, read documentation? That would be far too convenient! :-D -- -- If you want to report a vulnerability issue on

Re: [symfony-users] Create sub-directory in Backend Application on the fly

2010-06-09 Thread Eno
On Wed, 9 Jun 2010, Md. Al Amin Chowdhury wrote: if i set full permission(0777) to support directory,the subdirectory with files are created successfully. For security reason i cann't set the full permission(0777) to support directory. using default permission, I tried to

Re: [symfony-users] Re: Create sub-directory in Backend Application on the fly

2010-06-09 Thread Eno
On Wed, 9 Jun 2010, pghoratiu wrote: You can create the support directory with ownership set up as the user used to run apache (under Ubuntu this is www-data) Possible only if you have root access so you can chown the folders. But then you'll have problems when running CLI tasks (e.g. symfony

Re: [symfony-users] A pagination issue

2010-06-09 Thread Eno
On Wed, 9 Jun 2010, Parijat Kalia wrote: So in the summary of records page, when I click upon one of the students records, this students name is transferred to the detailed records page in the URL parameter. IN the detailed records page action, here is what I do $username = $_GET['Name'];

Re: [symfony-users] help:doctrine

2010-06-08 Thread Eno
On Mon, 7 Jun 2010, safa boubekri wrote: i make this code in my action $this-test = Doctrine_Query::create() -select('titre') -from('Cotisation')-execute(); it's give me the Id but not 'titre' Sounds like you keep asking the same question over and over again. Do you

Re: [symfony-users] Re: I don't see images in production in a shared server

2010-06-08 Thread Eno
On Mon, 7 Jun 2010, Javier Garcia wrote: When I say minimum I'm thinking in price :). Most of your problems stem from the fact that your hosting provider doesn't allow certain config directives needed for symfony. So just find a provider that does. I use cheap virtual servers but they do

Re: [symfony-users] help:doctrine

2010-06-08 Thread Eno
On Tue, 8 Jun 2010, safa boubekri wrote: thank you for the link but the version of symfony wich i use is 1.3 No difference between 1.3 and 1.4, as you can see here: http://www.symfony-project.org/gentle-introduction/1_3/en/08-Inside-the-Model-Layer-Doctrine -- -- If you want to

Re: [symfony-users] Re: Symfony cache, override?

2010-06-07 Thread Eno
On Sun, 6 Jun 2010, zedan wrote: pghoratiu, thanks for your reply. #1 can help me a little, but i should also work more for it. Switching off the action cache and caching template fragments and partials is the correct approach. Read the chapter on caching in the Gentle book. -- -- If

Re: [symfony-users] I don't see images in production in a shared server

2010-06-07 Thread Eno
On Mon, 7 Jun 2010, Javier Garcia wrote: I have deployed my symfony app into a shared server. The problem: for example, the images and the .css of the default page that says |ok Symfony Project Created Congratulations! You have successfully created your symfony project. Project

Re: [symfony-users] Re: Symfony cache, override?

2010-06-07 Thread Eno
On Mon, 7 Jun 2010, zedan wrote: I found my solutions, put the _index_partial to layout page, and set cache config do not cache layout page. You mean layout.php? That means layout.php (which is used for all pages) is never cached? Probably not a good idea from a performance standpoint. Much

Re: [symfony-users] php symfony configure:database mysql:host=localhost;dbname=pist1

2010-06-07 Thread Eno
On Mon, 7 Jun 2010, DEEPAK BHATIA wrote: php symfony configure:database mysql:host=localhost;dbname=pist1 root Can I specify my machine IP Address Yes. -- -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this

Re: [symfony-users] php symfony configure:database mysql:host=localhost;dbname=pist1

2010-06-07 Thread Eno
On Mon, 7 Jun 2010, DEEPAK BHATIA wrote: When I execute the below php symfony propel:insert-sql Error Message = Execution of target insert-sql failed for the following reason:

Re: [symfony-users] php symfony configure:database mysql:host=localhost;dbname=pist1

2010-06-07 Thread Eno
'root'@'10.0.1.66' to database 'crb'] [User Info: Array]] On Mon, Jun 7, 2010 at 8:52 PM, Eno symb...@gmail.com wrote: On Mon, 7 Jun 2010, DEEPAK BHATIA wrote: php symfony configure:database mysql:host=localhost;dbname=pist1 root Can I specify my machine IP Address

Re: [symfony-users] Re:  problem

2010-06-07 Thread Eno
On Mon, 7 Jun 2010, wueb wrote: But why was the server working fine and without visible reason start giving this problem? As others have popinted out, when editing UTF-8 files, you have to be very careful to maintain the correct encoding in the file. On 7 Jun, 16:16, saad

Re: [symfony-users] I don't see images in production in a shared server

2010-06-07 Thread Eno
On Mon, 7 Jun 2010, Javier Garcia wrote: On 06/07/2010 03:16 PM, Eno wrote: You need to setup the /sf alias in your web server configuration: Thanks Eno, but my app is in a shared host, so i can not modify the server configuration. Not a recommended setup. Im also guessing the remote

Re: [symfony-users] Selecting prod/dev connections from the command line.

2010-06-07 Thread Eno
On Mon, 7 Jun 2010, Luis Alberto Zarrabeitia wrote: How do I make tools like ./symfony guard:promote use the right DB connection configuration? Im not familiar with that CLI task, but does it take any additional parameters allowing you to specify the connection? Maybe try the help command?

Re: [symfony-users] Selecting prod/dev connections from the command line.

2010-06-07 Thread Eno
On Mon, 7 Jun 2010, Luis Alberto Zarrabeitia wrote: So, is it configured per task? Yes. I imagined there was some kind of config file... now that I think about it, it doesn't makes sense either (one would have to update that one). Its built-in to the task, there's no config file. Ok,

Re: [symfony-users] Re: I don't see images in production in a shared server

2010-06-07 Thread Eno
On Mon, 7 Jun 2010, Javier Garcia wrote: Ok Eno, anyway I forgot to say that even the .css and .js from the plugins are not loaded. Is there any way to mend it or should I copy them also manually? It depends. If those plugins are using symlinks, then you might need to replace them

Re: [symfony-users] Remove cache accross apps

2010-06-06 Thread Eno
On Sun, 6 Jun 2010, fizyk wrote: So I copied the code, and modified, added 'module/index' string. According to the book, that should be it. However it isn't. the removePattern for the sfFileCache, joins the passed cache_dir with pattern directly: cache_dir/pattern, but there are few folders

Re: [symfony-users] Re: Custom directory structure

2010-06-05 Thread Eno
On Fri, 4 Jun 2010, Ragnis wrote: Why does it even have to be so complicated.. Actually its not, symfony is quite flexible but it *does* require you read and learn the framework to use it well. -- -- If you want to report a vulnerability issue on symfony, please send it to security at

Re: [symfony-users] How to paginate search-results?

2010-06-04 Thread Eno
On Fri, 4 Jun 2010, comb wrote: If I use the users-session like setting a var is_new_search , I will be afraid of someone who manually sets this var in his cookie to FALSE. Depends how you store session data. Ive used MySQLSessionStorage in the past (the cookie just stores hash used as key

Re: [symfony-users] Overriding settings.yml

2010-06-04 Thread Eno
On Fri, 4 Jun 2010, Carlos Jorge Andrade wrote: Is it possible to override settings.yml at the module level ? I know it's possible with security.yml and view.yml but I can't find any reference to settings.yml There's a reference in the Reference book: As discussed in the introduction, the

Re: [symfony-users] __tostring

2010-06-03 Thread Eno
On Wed, 2 Jun 2010, safa boubekri wrote: but i want to have npmprenom in the table of paiment: select*from paiment it give me id_person not nom prenom I think Alexandru already answered. -- -- If you want to report a vulnerability issue on symfony, please send it to security at

Re: [symfony-users] __tostring

2010-06-02 Thread Eno
On Tue, 1 Jun 2010, safa boubekri wrote: *class paiment extends BasePaiment { public function __toString() { return $this-getPerson()-__toString(); }* * * *but the id_person is style number* What is 'style number' ? -- -- If you want to report a vulnerability issue on symfony,

Re: [symfony-users] __tostring

2010-06-02 Thread Eno
On Wed, 2 Jun 2010, safa boubekri wrote: in the table paimnentthe id_person is still number i want that it will be give me the nom prenom of person So in the Person class, you need to define __toString() that returns the string in the format you need. Example:

Re: [symfony-users] Re: Read only/HTML form widget

2010-06-02 Thread Eno
On Wed, 2 Jun 2010, Norbert Haigermoser wrote: You can make any form field read/only this way: example: $this-widgetSchema['xatcode'] = new sfWidgetFormInput(array(), array('readonly'='readonly')); Correct me if Im wrong, but that doesn't work for input tags that DONT take a readonly

Re: [symfony-users] Cache problem? I don't know

2010-06-02 Thread Eno
On Wed, 2 Jun 2010, wueb wrote: I'm having a problem with symfony on my server. Almost every action i do that goes to database i need make a F5 to the page to the modifications appear. What is F5 ? -- -- If you want to report a vulnerability issue on symfony, please send it to

Re: [symfony-users] batch import

2010-06-02 Thread Eno
On Wed, 2 Jun 2010, f1gm3nt wrote: I'm looking into doing batch imports with a symfony task. The issues I'm having are seg faults and running out of memory. Even after jacking the memory limit to 2gigs. Has anyone else ever done batch imports using a symfony task that can shed some light on

Re: [symfony-users] Class 'Swift_SmtpTransport' not found in task

2010-06-02 Thread Eno
On Wed, 2 Jun 2010, [ISO-8859-1] João Soares wrote: I'm trying to send a mail from a task, yet I get this error: Fatal error: Class 'Swift_SmtpTransport' not found in C:\symfony\lib \task\RelatoriosTask.class.php on line 157 How can I include this class in the task? Are you sure

Re: [symfony-users] Cache problem? I don't know

2010-06-02 Thread Eno
On Wed, 2 Jun 2010, wueb wrote: For example, when i update a record from a table, when he goes to the show page he still have the old values, but if i make F5 the new values will appear. Same with logout for example. When i make logout i need press the logout butto and then make F5 to the

Re: [symfony-users] Re: recursive redirect :-/

2010-06-02 Thread Eno
is the same as the user comes from? On 2 Jun., 21:20, Eno symb...@gmail.com wrote: On Wed, 2 Jun 2010, comb wrote: In a executeIndex(...) I want to redirect to the referrer, but only if the referrer is not the current action. How can I do

Re: [symfony-users] Re: recursive redirect :-/

2010-06-02 Thread Eno
On Wed, 2 Jun 2010, comb wrote: But now there is a search-results page, too, that comes from the search-action, where the redirection is done. If the user starts a new search from here and is too fast he gets the flash-message again, but the redirect to the last page is recursively since he

Re: [symfony-users] Re: Read only/HTML form widget

2010-06-01 Thread Eno
On Tue, 1 Jun 2010, Tarjei Huse wrote: Have you asked for it's inclusion into sfForm main? IMHO it deserves to be there :) +1 Its a nice clean solution. -- -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this

Re: [symfony-users] Re: Symfony 1.4 Alias

2010-06-01 Thread Eno
On Tue, 1 Jun 2010, Gareth McCumskey wrote: This is all easily answered by looking at the symfony documentation which has a helpful section on setting up a symfony application on a shared web hosting service, i.e. a service where you do not have root access to the machine hosting the site:

Re: [symfony-users] __tostring

2010-06-01 Thread Eno
On Tue, 1 Jun 2010, Alexandru-Emil Lupu wrote: Find the alias that you are using to reference those 2 models, and just do a plain __toString in your *paiement table Like class paiment extends BasePaiment { public function __toString() { return $this-getPerson()-__toString(); } }

Re: [symfony-users] Re: CSS and Javascript paths

2010-06-01 Thread Eno
On Tue, 1 Jun 2010, Florian wrote: Hi! Try RewriteBase /appx In every .htaccess Probably not for an app who's front controller is in web, maybe only the web/appsx folders. Also be aware that htaccess rules in effect in the folder in which they are defined AND any subfolders - so if

Re: [symfony-users] Re: Symfony 1.4 Alias

2010-05-31 Thread Eno
On Mon, 31 May 2010, RedQueen wrote: Ok... I really appreciate your help mr Donald. So answer 1) I can add alias through special menager panel for the hosting server. (but I dont want alias), everything what I can do with my serwer I have to do through this menager panel. I can use FTP

Re: [symfony-users] Re: shopping cart?

2010-05-30 Thread Eno
On Fri, 28 May 2010, bretth wrote: I agree that it's easy to get a basic shopping cart going; the issue really is all the extra things; the main one being advanced sales reporting. Sales reporting doesn't have much to do with building a shopping cart. That would involve running some queries

Re: [symfony-users] symfony criteri

2010-05-29 Thread Eno
On Fri, 28 May 2010, Parijat Kalia wrote: $c= new Criteria() $c-add(QuestionsPeer::USERNAME,'ali'); $results = QuestionsPeer::doSelect($c); Now $results contains all the data of the questions table, where I am looking only for the question column, what do I need to add to the above query

Re: [symfony-users] Re: why not host symfony1.4 on shared-hosting?

2010-05-29 Thread Eno
On Sat, 29 May 2010, Olivier wrote: An Unbuntu or a Debian. Stay away from CentOS at all costs if you want recent binary packages. I avoid the Redhat/CentOS/Fedora family like the plague. I run Gentoo on all my servers (source-based distros have faster updates than binary ones :-) --

Re: [symfony-users] symfony criteri

2010-05-29 Thread Eno
On Sat, 29 May 2010, Parijat Kalia wrote: Dude..that is obvious way to do it...but still $results has all the data in it, most of which happens to be unnneeded data...I was asking for a way to filter that out and retrieve only the question part...thanks though! Which part of

Re: [symfony-users] Re: configure getListBatchActions() in backend

2010-05-28 Thread Eno
On Fri, 28 May 2010, Ricardo wrote: thanks for the response but I don't understand what I have to do. You said that the page you see doesn't change unless you clear the cache right? That's your clue. This means you must be looking at a cached page which in turn means you are (incorrectly)

Re: [symfony-users] Re: template:no value

2010-05-28 Thread Eno
On Fri, 28 May 2010, safa boubekri wrote: i have all page is white WHen you view source, there's no HTML? -- -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google

Re: [symfony-users] How to remove index.php and backend.php from the url ?

2010-05-28 Thread Eno
On Fri, 28 May 2010, John wrote: I'm trying to remove index.php and backend.php from my urls, so that I can have : - www.example.com/index.php - www.example.com - www.example.com/index.php/api/events.xml - www.example.com/api/events.xml - www.example.com/backend.php/admin -

Re: [symfony-users] change database server in action

2010-05-28 Thread Eno
On Fri, 28 May 2010, Mohammad Ali Safari wrote: I want to be able to change the database server base on some info from users, e.g. their IP address. Has anybody implemented such a thing, or has an idea on how to do that? I tried creating a filter class to be executed at the beginning of

Re: [symfony-users] inject user information

2010-05-28 Thread Eno
On Fri, 28 May 2010, f1gm3nt wrote: I'm writing a symfony task that needs a user to run some of the functions. Is it possible to inject user information so that when I call sfContext::getInstance()-getUser()-getId() it will not break? I could be wrong, but I dont think you have a user when

Re: [symfony-users] Affordable managed hosting for use with symfony

2010-05-28 Thread Eno
On Fri, 28 May 2010, Yair Silbermintz wrote: I'm about to embark on a project for a new client. They are a small business that does not have the resources to manage their own server. Anyone have a recommendation for a managed hosting solution that works well with symfony? Cost will play a

Re: [symfony-users] Re: inject user information

2010-05-28 Thread Eno
On Fri, 28 May 2010, f1gm3nt wrote: I found a way to do it, here's the code sfContext::createInstance($this-configuration); $this-logSection('user', 'logging user in'); $user = sfContext::getInstance()-getUser(); $user-setAttribute('user_id', '1', 'sfGuardSecurityUser');

Re: [symfony-users] Affordable managed hosting for use with symfony

2010-05-28 Thread Eno
On Fri, 28 May 2010, Daniel Lohse wrote: Take a look at what Servergrove has to offer. All their VPS instances are alright and they come pre-configured with symfony. Shared hosting is not an option, obviously (don't even consider it). :) Ive been happily using Linode (linode.com) for

Re: [symfony-users] Re: How to remove index.php and backend.php from the url ?

2010-05-28 Thread Eno
On Fri, 28 May 2010, John wrote: Here is the solution for rewriting website/backend.php to website/ admin and makes the admin area to work. Since mod_rewrite directs all routes to index.php, there can be only one controller per folder, and this solution *is* documented in the symfony book.

Re: [symfony-users] configure getListBatchActions() in backend

2010-05-27 Thread Eno
On Thu, 27 May 2010, Ricardo wrote: For example i log in with an advanced admin account, so I can see the list batch action with the action delete. Then I log out and I log in with a normal admin account, and the list with the action still there and inversely . If I first log in with a normal

Re: [symfony-users] how to change text label attached to new link in embedRelation form

2010-05-27 Thread Eno
On Thu, 27 May 2010, Tofuwarrior wrote: I have successfully use embedRelation to embed a relation in my form BUT the new link at the bottom has a label next to it that says NewUglyLongPropelObjectName . How can I change this, I haven't set any new link anywhere so I'm not sure how to

Re: [symfony-users] cvs

2010-05-26 Thread Eno
On Wed, 26 May 2010, safa boubekri wrote: but i have this result bNotice/b: Use of undefined constant resultat - assumed 'resultat' in bD:\sym_project\ajf\apps\Backend\modules\association\actions\actions.class.php/b on line b28/bbr / Where is resultat defined? Nowhere according to the

Re: [symfony-users] Ajax based doubt

2010-05-26 Thread Eno
On Wed, 26 May 2010, Parijat Kalia wrote: 1) Enabling jQuery or Prototype (which 1 is better and easier to learn) jQuery has a lot more widgets available IMHO. 2) Do I need to download anything off the net, or are the 2 jscript libraries inbuilt. I find several plugins for jquery, so not

Re: [symfony-users] cvs

2010-05-26 Thread Eno
On Wed, 26 May 2010, safa boubekri wrote: i want that csv contan the content of table association but i have in the csv : bD:\sym_project\ajf\apps\Backend\modules\association\actions\actions.clas s.php/b Which is part of the error message you sent earlier... -- -- If you

  1   2   3   4   5   6   7   8   9   >