[symfony-users] Re: how to display image in template

2009-08-22 Thread asim nizam
Yes when i visit localhost/civil/web/uploads/assets/abc.jpg i see the image!! On Fri, Aug 21, 2009 at 7:13 PM, Gábor Fási maerl...@gmail.com wrote: The /var/www... path is the full path on your server, you cannot access it via that one. Assuming your webroot is /var/www the path you need

[symfony-users] Re: how to display image in template

2009-08-22 Thread asim nizam
Can any body tell me about file uploading and how to change its absolute path when saving in DB so i can display image /civil/web/uploads/assets/abc.jpg --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users

[symfony-users] Web Debug toolbar disappeared

2009-08-22 Thread Tommaso D'Argenio
Hi All, I've a problem, after a while my debug toolbar disappeared from the frontend .. while it is still working fine in the backend. I suspect this is because I'm making massive use of Ajax in the frontend which somehow have completely wiped out the toolbar .. I can't even find the code if I

[symfony-users] Re: Web Debug toolbar disappeared

2009-08-22 Thread Alexandre SALOME
Check in your actions and templates for something like sfConfig::set('sf_web_debug', false); Grep sf_web_debug over your project. And double check your settings.yml. Copy it here if you can't find sfConfig::set('sf_web_debug in any file of project. 2009/8/22 Tommaso D'Argenio

[symfony-users] Re: Web Debug toolbar disappeared

2009-08-22 Thread Tommaso D'Argenio
Hi Alexandre, I had the same thought but couldn't fine any of those commands in any of the files, have scanned the whole directory for it. the settings.yml is this: prod: .settings: no_script_name: on logging_enabled:off web_debug: on dev: .settings:

[symfony-users] Symfony + Java Applets + Sockets

2009-08-22 Thread rosb
Hi everyone. Actually i´m working in a project that needs ServerSocket access, i mean, i need to performance a client socket connection. For that task i´m using a java applet from eclipse IDE. In web/applet i saved my clases (MySocket.class and MySockect$1.class that were generate from eclipse)

[symfony-users] Re: Web Debug toolbar disappeared

2009-08-22 Thread Hellmich Dennis
Stupid question: are you calling frontend_dev.php and not frontend.php? Best, Dennis Am 22.08.2009 um 16:01 schrieb Tommaso D'Argenio: Hi Alexandre, I had the same thought but couldn't fine any of those commands in any of the files, have scanned the whole directory for it. the

[symfony-users] Re: Extract the time life of a component, is it possible??

2009-08-22 Thread Hellmich Dennis
You could read the modification time in the file information of the cached file. See http://de2.php.net/manual/en/function.stat.php Best Dennis Am 13.08.2009 um 00:35 schrieb Nei Rauni Santos: I used cache on a component and I'd like to show at bottom of this component the message

[symfony-users] Cache and failed form validation

2009-08-22 Thread hasc
Hi, i recently wrote a post in the symfony forum covering the caching if form validation fails (http://forum.symfony-project.org/index.php? t=msgth=21795). I had the problem that in the case that form validation fails the cache of components and partials included in the template are ignored.

[symfony-users] cannot get the sfGuardPlugin installed

2009-08-22 Thread DK
I am going through the symfony blog tutorial and getting stuck at the end trying to implement security. When I run the install for the sfGuardPlugin, I get the a single line stating that it's installing, but it quickly ends and nothing happens. dkurak:sfproject dkurak$ ./symfony plugin:install

[symfony-users] Re: Symfony + Java Applets + Sockets

2009-08-22 Thread Lee Bolding
Your applet tag is effectively asking for 'applet.MySocket' - whereas the classpath for your applet is simply 'MySocket'. If you move MySocket.class into web/ it should work On 22 Aug 2009, at 04:56, rosb wrote: In a ShowSuccess.php i call the applete using this: applet

[symfony-users] Re: Symfony + Java Applets + Sockets

2009-08-22 Thread rosb
Thanks very much, but i already tried it before with no result. I found follow: If i use this one: applet code=MySocket.class width=350 height=80 /applet and my applet class on /web directory. java.Lang.ClassNotFoundException:Mysocket.class Caused by: java.IOException: open HTTP connection

[symfony-users] Re: Symfony + Java Applets + Sockets

2009-08-22 Thread Sid Bachtiar
You need to change the .htaccess Try adding: RewriteCond %{REQUEST_URI} \.class$ Before this line: RewriteRule .* - [L] On Sun, Aug 23, 2009 at 2:37 PM, rosbrbaraza...@gmail.com wrote: Thanks very much, but i already tried it before with no result. I found follow: If i use this one:

[symfony-users] Re: Symfony + Java Applets + Sockets

2009-08-22 Thread Sid Bachtiar
And try adding / before MySocket.class applet code=/MySocket.class width=350 height=80 /applet On Sun, Aug 23, 2009 at 3:43 PM, Sid Bachtiarsid.bacht...@gmail.com wrote: You need to change the .htaccess Try adding:  RewriteCond %{REQUEST_URI} \.class$ Before this line:  RewriteRule .* -