[symfony-users] Re: The test "false" does not exist => 500 Internal Server Error - Twig_Error_Syntax

2011-04-19 Thread Ahmed Fawzy
How can i check this On Apr 19, 3:21 pm, Luis Cordova wrote: > was getting similar problem > > make sure on test mode that you generate proxies on the /test folder too > > just a hint it could as well not be it > > On Tue, Apr 19, 2011 at 8:18 AM, Toni Van de Voorde > wrote: > > > > > > > > > S

Re: [symfony-users] Re: The test "false" does not exist => 500 Internal Server Error - Twig_Error_Syntax

2011-04-19 Thread Ahmed Fawzy
How can I do that On Apr 19, 2011 3:21 PM, "Luis Cordova" wrote: was getting similar problem make sure on test mode that you generate proxies on the /test folder too just a hint it could as well not be it On Tue, Apr 19, 2011 at 8:18 AM, Toni Van de Voorde wrote: > Same problem when... --

Re: [symfony-users] images no appears

2010-10-04 Thread ahmed shehata
thank you but how can i do that my images located in web/images 2010/10/4 Gábor Fási > Instead of hardcoding the urls, use the `image_path()` helper, > example: `image_path('icon-home.gif')`. > > 2010/10/3 ahmed shehata : > > hi all > > i am a new SF student

[symfony-users] images no appears

2010-10-03 Thread ahmed shehata
hi all i am a new SF student and i am developping a sample app there is a problem when i try to to show the page the problem is that images in html paage not appears this is page الرئيسية التكويد المسافات الاتجاهات

Re: [symfony-users] some questions about sf

2010-09-24 Thread ahmed shehata
thank you for your satisfied response On Thu, Sep 23, 2010 at 2:56 AM, Hoang Nguyen wrote: > Hi Ahmed, > 1. You can try Netbeans for PHP (it's free): > Home page here: http://netbeans.org/features/php/ > And the getting-start video here: > http://netbeans.org/kb/docs/php/sym

Re: [symfony-users] some questions about sf

2010-09-22 Thread ahmed shehata
thank you for help On Wed, Sep 22, 2010 at 5:31 PM, Eno wrote: > 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 sm

[symfony-users] Re: some questions about sf

2010-09-22 Thread ahmed shehata
time.. but you need to > take a look at its license and the kind of project you 're developing. > > Cheers. > > On Wed, Sep 22, 2010 at 6:43 AM, ahmed shehata wrote: > > > hi all > > i am a new student to symfony and i want to ask about some questions > &g

[symfony-users] some questions about sf

2010-09-22 Thread ahmed shehata
hi all i am a new student to symfony and i want to ask about some questions first what is the best ide for symfony 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 codeigniter third what is the best javas

[symfony-users] Re: Call to a member function getTable() with an embeded sfForm

2010-01-12 Thread Ahmed
any help please ? On 12 jan, 12:14, Ahmed wrote: > I have a UserForm extends BasesfGuardUserForm wich embed an another > (sfGuardUserFormProfile) > this is the modele (simplified): > > sfGuardUser: >   columns: >     id: >       type: integer(4) >       primary: true

[symfony-users] Call to a member function getTable() with an embeded sfForm

2010-01-12 Thread Ahmed
D: \work\green\lib\vendor\symfony\lib\plugins\sfDoctrinePlugin\lib\vendor \doctrine\Doctrine\Record.php on line 1243 in the line 1243 i have this line : $relatedTable = $value->getTable (); print_r display the $value i have as an array (not an object) Best regard Ahmed. -- You received this m

[symfony-users] Re: Outputing dynamic image fail

2009-10-18 Thread Ahmed
url: "<?php echo url_for('home/showCaptcha')?>", success: function(img){ $('#img_captcha').attr('src', img); } }); }); }); Be

[symfony-users] Re: Outputing dynamic image fail

2009-10-17 Thread Ahmed
something like this: > > > public function executeShowCaptcha(sfWebRequest $request) > > { > >               $this->getResponse()->setContentType('image/jpeg'); > >               return $this->renderText(myTools::genCaptcha(uniqid > > ())); > > > } >

[symfony-users] Re: Outputing dynamic image fail

2009-10-12 Thread Ahmed
@Alexandre no change I have Always a 0x0 blanc image i search in all my project for a line break and i don't found any off them @Vasos I try this trick Cordialy Ahmed On 12 oct, 13:41, basos g wrote: > 2009/10/12 Ahmed > > > > > > > Hi all; > > I use symfo

[symfony-users] Re: Outputing dynamic image fail

2009-10-12 Thread Ahmed
Hi, Thanks for reply it dosn't work men, i have the same output. (0x0 empty image) On 12 oct, 11:17, Alexandre SALOME wrote: > You must disable the debug bar : > > sfConfig::set('sf_web_debug', false); > > Alexandre > > 2009/10/12 Ahmed > > > >

[symfony-users] Outputing dynamic image fail

2009-10-12 Thread Ahmed
mage in my template and whene i try to point it directly on the url like : http://127.0.0.1/test/frontend_dev.php/home/showCaptcha also i dont see the generated image NOTE: this script work outside symfony Thanks. Cordially Ahmed --~--~-~--~~~---~--~~ You received t

[symfony-users] Embedded form not binded automaticly

2009-08-23 Thread Ahmed
, new CompanyForm($this->getObject()- >getCompany())); } The form is embedde but all field rendrer with company[%s] format not with users[company][%s] And whene i trying to change the name format with the correct format the embeddeform is not binded How can i resolve

[symfony-users] Ajax subscribtion step by step

2009-08-05 Thread Ahmed
27;success')); to render the new form (step2) But when i look in the response , Idon't found the script tag contain the js code that submit my form; Thanks, Ghali Ahmed. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[symfony-users] Re: What does sf_compat_10 do ? , & how to add helpers in settings.yml ?

2009-07-30 Thread ahmed-araby
Duting my search in the code I found this line if (!sfConfig::get('sf_compat_10') && false !== $i = array_search ('Form', $helpers)) which removes Form from helpers array if sf_compat_10 is not set , why ? On Jul 31, 6:45 am, ahmed-araby <9ahm...@gmail.com> w

[symfony-users] What does sf_compat_10 do ? , & how to add helpers in settings.yml ?

2009-07-30 Thread ahmed-araby
Hi all, I really want to know what does sf_compat_10 do in the application in specific ? and if it affects the application performance ? Also how to add helpers in every template in the application ? I knew that I can add them to settings.yml but have to enable sf_compat_10 , is there's any other

[symfony-users] Re: Dynamic edition of a yaml configuration file

2009-07-28 Thread Ahmed
Hi, The goal is to give the user (admin) a way to edit some config value in the app.yml file ( like the number off line to display in a grid or the delay of job expiration ) Thanks On 27 juil, 18:00, Eno wrote: > On Mon, 27 Jul 2009, Ahmed wrote: > > Hi all, i need to change a config

[symfony-users] Dynamic edition of a yaml configuration file

2009-07-27 Thread Ahmed
ion to do this .. Thanks for any help Cordialy Ahmed . --~--~-~--~~~---~--~~ 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 To unsubscribe f

[symfony-users] Criteria with date compare issue

2009-06-20 Thread Ahmed
Hi, I need to build this sql statment : SELECT SUM( newsletter.NB_SENT ) AS SUM FROM `newsletter` WHERE newsletter.UPDATED_AT > DATE_SUB( CURDATE( ) , INTERVAL 30 DAY ) HAVING SUM <40 LIMIT 0 , 30 And with Criteria i wrote : $c = new Criteria(); $c->clearSelectColumns(); $c->addAsColumn('SUM', 'S

[symfony-users] Routing & thématique search engine

2009-06-11 Thread Ahmed
ocal: "" } options: { generate_shortest_url: true } beacause the local param is not obligatory the probleme apear whene i dont send the sub_category the routing systeme get the local submited as a sub_category and my search is down :( Can any one he

[symfony-users] Re: Enum column validation Fail

2009-05-18 Thread Ahmed
ce. > Also, I recommend you create enums like this: > http://snippets.symfony-project.org/snippet/107 > This method will work on non-mysql db servers too. > > On Mon, May 18, 2009 at 12:49, Ahmed wrote: > > > > Hi all; > > I have an enum column with two choice, i w

[symfony-users] Enum column validation Fail

2009-05-18 Thread Ahmed
Hi all; I have an enum column with two choice, i write it in my yml schema like this : news: type: { type: varchar, sqltype:enum, size: "'request','offer'", default: request, required: true, notnull: true } the column is correctly generated this is part off my baseNewsForm.class.php : public fu

[symfony-users] Prevent partial to be cached

2009-04-29 Thread Ahmed
I have a dynamic menu Managed since the backoffice, I put this menu in a partial. My question is how to prevent this partial to be cached so that modifs will be immediate ? Thanks . --~--~-~--~~~---~--~~ You received this message because you are subscribed to the G

[symfony-users] Another Uploads file inside an embedded form probleme

2009-04-24 Thread Ahmed
the object which contains the uploads is never binded . I am using 1.2.4 version . Cordialy Ahmed . --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send em

[symfony-users] Form extends probleme

2009-04-24 Thread Ahmed
ema['confirme'], $this->widgetSchema['confirme_key'] ); } } Then in the class: SubscribeStep2Form extends class BaseSubscribeForm I owes update the company already created in the step one the problem it is that he also updates fields deleted from the schema

[symfony-users] Re: user->getFlash() when the flash contain html tag

2009-04-23 Thread Ahmed
> One way to work around it is to disable escaping entirely, but then > > you'll have to do this manually, or to get the data somehow unescaped. > > I do not know a way to do this, but hopefully someone smarter will > > tell us :) > > > On Wed, Apr 22, 2009 at 10:

[symfony-users] Re: user->getFlash() when the flash contain html tag

2009-04-22 Thread Ahmed
Also the generated html of the message seems to be correct (but the browser display him as a string) Best glance;) On 21 avr, 19:25, Dheeraj Kumar Aggarwal wrote: > Hi Ahmed, > > At my side this is working > > i have used in actions class > $msg = "display msg"; >

[symfony-users] user->getFlash() when the flash contain html tag

2009-04-21 Thread Ahmed
Hi all ; i have a simple message Where i store a html message with and tag . When i try to display it (in the layout ) with echo $sf_user->getFlash ('msg') ,she not recognize any html tag an display them as a string . How can i correct this ? . C

[symfony-users] Re: how can i get the "forward404($messeage='test')" $messeage in the 404 action?

2009-04-20 Thread Ahmed
Hi; You can do this with : - Create a 404 action and a 404 templates - Before you redirect you must set a flash like this : $this->getUser ()->setFlash($name, $value)(in sf 1.2) - Retrieve this info in your 404 template Just dont forget to setup a custum 404 module and action in the settings.yml f

[symfony-users] Re: How can i use a symfony helper in a js file

2009-04-17 Thread Ahmed
e needed Js functions. Ofcourse, this is not recomended... > > On Thu, Apr 16, 2009 at 7:45 PM, Richtermeister wrote: > > > Hey Ahmed, > > > look into sfContext::getInstance()->getController()->genUrl > > ($internal_uri, $absolute); to generate the url. That's

[symfony-users] Re: How can i use a symfony helper in a js file

2009-04-16 Thread Ahmed
Hi paolo ; I have already done this before but my goal is to separate the all my Javascript from templates and use helper in this file . Best regards Ahmed > permuter On 16 avr, 13:09, Paolo Mainardi wrote: > Embed this code in a file template and will work :) > > > > On Thu,

[symfony-users] How can i use a symfony helper in a js file

2009-04-16 Thread Ahmed
Hi all :) , I want to use a php function to generate url ( for ajax call) in a js file like this : $(document).ready(function(){ $.ajax({ url: "", success: function(html){ $("#step1_container").append(html); } }); }) ; But in the genera

[symfony-users] Re: Parse error after a propel:build-model with a i18n table

2009-04-16 Thread Ahmed
Thanks Carsten; yes I forget the " isCulture: true " attribute . my probleme is resolved . Ahmed . On 16 avr, 07:53, Carsten Schumann wrote: > Hi Ahmed, > > there are two things different from my i18n scheme file which is working: > > 1. the indention of the

[symfony-users] Parse error after a propel:build-model with a i18n table

2009-04-15 Thread Ahmed
Hi all ; I found a probleme in a propel generation when adding some i18n table in my schema.yml file . Whene i execute : symfony propel:build-model I don't have any warning message or error But whene i lunch my site i have this error : Parse error: parse error, expecting `')'' in www\lib\model\om

[symfony-users] Re: Propel choice : generated html not seem to be correct

2009-04-15 Thread Ahmed
Hi, it's a simple methode : $c = new Criteria() ; $c->add(CvPeer::ACTIVE, 1) ; return CvPeer::doSelect($c) ; And the table structure is : id : PRIMARY KEY title (I have also a "__toString" method to display the cv title) Thanks ;) On 14 avr, 14:15, naholyr wrote: > I think your

[symfony-users] Re: propel:generate-crud Problem - Please help

2008-03-30 Thread Ahmed Oualim
in my case I switched back to 1.0.12, maybe one solution is to wait until 1.1 turns to stable :( . I'll keep testing . 2008/3/28, ZAAN <[EMAIL PROTECTED]>: > > > On 28 Mar, 10:55, ZAAN <[EMAIL PROTECTED]> wrote: > > Ahmed Oualim napisał(a): > > &g

[symfony-users] propel:generate-crud Problem - Please help

2008-03-26 Thread Ahmed Oualim
template\actions\actions.class.php" generator template in: C:\ xampp\htdocs\sim\data/generator/sfPropelCrud/default/template, C:\xampp\symfony\ lib/plugins/sfPropelPlugin/data/generator/sfPropelCrud/default/template. -- Regards , Ahmed Oualim --~--~-~--~~~---

[symfony-users] Watch you shape, Mobile phone application

2007-12-13 Thread Sohail Ahmed Shaikh
Have you ever wondered if you're at a healthy weight for your height? You're working out and eating right but are you really in shape? iBody Calculator, can help you to know for sure, Watch your weight! And analyze your health, strength, and fitness using iBody Calculator. iBody Calculator let