Hello Friends,
I am developing a application using symfony 1.1.1 and orm propel
I have done uploading image in application.
I want to create a link which will show uploaded image respectively
Please give me some idea to create link and showing image.
Thanks In advanced
Kiran
--
If you want to rep
Anytime you create a new class, be it a form class or an auto-generated
class from a new table in your schema or even one of your own classes,
you MUST clear the cache.
On 24/02/2011 02:51, Parijat Kalia wrote:
Oh Thank you. It worked, but somehow did not cross my mind.
On Wed, Feb 23, 2011
those functions need to be within a class to actually work ;)
On 23/02/2011 18:00, Manu wrote:
Hi, I've created custom 404 error pages for my symfony application,
but they don't seem to work. In dev I see :
This request has been forwarded to a 404 error page by the action
"blabla".
But in
As Gergely said, create a hidden input in your form. If you need the
client-side to add something you can change its value through Javascript
before submission.
On 23/02/2011 14:07, Javier Garcia wrote:
Hi,
is there any way to set post parameters?
When i submit a form I would like to set a v
I am sorry for this newbie question, but I didnt figured out, how I
can use values from my config.yml in controler. For example to compare
value defined as:
app.config:
charset: utf-8
It is not through container nor request.
Thank for your patience with me...
--
If you want to report a vu
I haven't played enough with symfony2 to get you a definitive answer, but
here are some ways you could look first:
from my understanding, the form framework in sf2 stayed mostly the same as
the sf 1.4 form framework. In this case you could have a look at the code of
this plugin: sfDoctrineDynamicF
Oh Thank you. It worked, but somehow did not cross my mind.
On Wed, Feb 23, 2011 at 4:36 PM, Stéphane wrote:
> sf cc ?
>
>
> Before Printing, Think about Your Environmental Responsibility!
> Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
>
>
> On Thu, Feb 24, 2011 at 1:20 AM,
sf cc ?
Before Printing, Think about Your Environmental Responsibility!
Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
On Thu, Feb 24, 2011 at 1:20 AM, Parijat Kalia wrote:
> Hi guys,
>
> I am following the Symfony form's tutorials and have reached upto listing
> 1-2 on htt
I'm pleased to announce that I have just released a new autocomplete
plugin for 1.3/1.4. It uses jQueryUI Autocomplete.
I have not been able to upload a PEAR package, but the plugin can be
found at
http://svn.symfony-project.com/plugins/ynWidgetAjaxAutocompletePlugin/tags/0.1.0b1/
A demo inst
Hi guys,
I am following the Symfony form's tutorials and have reached upto listing
1-2 on http://www.symfony-project.org/forms/1_1/en/01-Form-Creation
I have executed all steps up until listing 1-2 but while i attempt to run
the webpage, it reads the following error:
*
*
*Fatal error*: Class 'Regi
Le 23/02/2011 23:46, olimination a écrit :
Hello,
I have started to do a simple webapp with the new Symfony2(with
sandbox version commit 1fc745d).
I have added the SecurityBundle for authentication and somehow the
logout configuration seems to work in a special way or maybe I don't
understand
Hello,
I have started to do a simple webapp with the new Symfony2(with sandbox
version commit 1fc745d).
I have added the SecurityBundle for authentication and somehow the
logout configuration seems to work in a special way or maybe I don't
understand something.
My app/config/config.yml secur
I stayed in this hotel last year and it was OK.
Pablo
On Wed, Feb 23, 2011 at 5:13 PM, catchamonkey wrote:
> Cheers Pablo,
>
> That is one of the Hotel's i've got in my list but thanks for confirming
> the location is OK.
> I would be arriving on the 2nd at the earliest, there is a chance I wou
Cheers Pablo,
That is one of the Hotel's i've got in my list but thanks for confirming the
location is OK.
I would be arriving on the 2nd at the earliest, there is a chance I would
have to travel early thursday, but would still arrive in time... just!
Thanks,
Chris
--
If you want to report a
Fabien, still actual issue.
Use:
TWIG 1.0.0-RC2,
Last Symfony2 commit from 2011-02-22 19:58:15 (https://github.com/
fabpot/symfony/commit/f54cedfe5e89ef4e02c35dca5e0ca6afbf249a5a)
On Jan 12, 6:14 pm, OlegZinchenko <1cdeco...@gmail.com> wrote:
> Thanks Fabien for quick answer. As far as I
Hi Chris,
I don't speak much french, but I have been able to survive 3 trips to Paris.
Check out this hotel which is close to the conference location:
http://hotelparisparcmontsouris.com/English/rates.html
Most people arrive on the 1st.
Hope to see you there!
Pablo
On Wed, Feb 23, 2011 at 11
thanks for your replying,
I actually tried to solve out this problem by defining a new
function _toString() and without arguments this time,but it didn't seem
to work,I got a different error:
"Fatal error: Cannot redeclare sfModelFinder::__toString()"
you'll see below in my sfModelFinder.php,that
Opps, I miss spelled
"In other words, you should have a css dir and file like
sandbox/web/css/style.css
and some images in there... sandbox/css/images_for_my_css_file/"
I meant sandbox/web/css/images_for_my_css_file/
2011/2/23 oscar balladares
> A few minutes ago, I found out that there is a "
A few minutes ago, I found out that there is a "branch docs" for the
official PR6 of Symfony, it is a little more
detailed documentation, with more in deep focus and examples.
You will find it in docs.symfony-reloaded.org/master/
There, is also a CookBook.
For the css issue, if you have previous
Le 23/02/2011 22:09, Кирилл Кокоша a écrit :
I have latest version from github, and my config sems like:
doctrine:
dbal:
driver: pdo_mysql
dbname: dbname
user: user
password: pass
security:
acl:
connection: default
try to change.
The subject says he uses
I have latest version from github, and my config sems like:
doctrine:
dbal:
driver: pdo_mysql
dbname: dbname
user: user
password: pass
security:
acl:
connection: default
try to change.
--
If you want to report a vulnerability issue on symfony, please send it to
Le 23/02/2011 21:58, oscar balladares a écrit :
Holly SH**T! There is a lot different (more detailed) information in
the /master/guides!!!
Im feeling like in Super Mario World when you find a secret place!
Thanks for this info!!!
The doc under /master/ contains the latest version of the doc. So
hi,
this is part of a test for my controller:
$client->request('GET', '/myroute/mytemplate?user=auser');
$crawler = $client->getCrawler();
$this->assertTrue($crawler->filter('html:contains("blah")')->count()
> 0);
$this->assertRegExp('/blah/', $client->getR
Holly SH**T! There is a lot different (more detailed) information in the
/master/guides!!!
Im feeling like in Super Mario World when you find a secret place!
Thanks for this info!!!
2011/2/23 Zap
>
>
> On 23 ún, 20:56, Christophe COEVOET wrote:
> > Le 23/02/2011 20:22, Zap a crit :> Hi,
> >
>
On 23 ún, 20:56, Christophe COEVOET wrote:
> Le 23/02/2011 20:22, Zap a crit :> Hi,
>
> > 1) I wonder, how to define template for 404 or 500 errors? - is it
> > documented somewhere yet, because I could not find it?
>
> The doc about this has been written today and is available
> here:http://do
Le 23/02/2011 20:22, Zap a écrit :
Hi,
1) I wonder, how to define template for 404 or 500 errors? - is it
documented somewhere yet, because I could not find it?
The doc about this has been written today and is available here:
http://docs.symfony-reloaded.org/master/guides/controller.html#managi
Did you edit the file? The version in svn [1] has __toString at a
different place, and without arguments.
[1]
http://trac.symfony-project.org/browser/plugins/DbFinderPlugin/trunk/lib/sfModelFinder.php
On Wed, Feb 23, 2011 at 19:13, Maryam FATIHI wrote:
> Hi everybody!
> I'm new to Symfony,and I
Le 23/02/2011 19:24, Кирилл Кокоша a écrit :
Thanks! It's realy help. I sew it, but I think, it's for configurating
DB from php file, but I configured it from yml.
Does you YAML filename match the fully qualified class name of your
entity (using . as a separator) ? This is needed for Doctrine.
Hi,
1) I wonder, how to define template for 404 or 500 errors? - is it
documented somewhere yet, because I could not find it?
2) is it possible to override 500 Internal server error (when route
typed URL do not match requirements... Parameter "ID" for route
"detail" must match ...) and show 400 no
Hi everybody!
I'm new to Symfony,and I wonder if anyone of you has faced this problem
before:
*"**Fatal error*: Method sfModelFinder::__tostring() cannot take arguments
in *C:\..\..\plugins\DbFinderPlugin\lib\sfModelFinder.php* on line *149*"
**
What can I do to solve this problem? thanks in adv
Thanks! It's realy help. I sew it, but I think, it's for configurating
DB from php file, but I configured it from yml.
--
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
Agree. Start from Symfony and can't find any complete reference for
Symfony 2.
Is it any plan to release a complete book together with Symfony 2
release?
On 21 fev, 20:17, Haulyn Jason wrote:
> Hi,
>
> I am starting a new project, I want to start from Symfony2.0, because
> it's about March now.
Very interesting! Thanks for the link. Maybe this will be the
motivation I need to switch the project to Doctrine.
Thanks,
Craig
On Feb 21, 3:33 pm, Matt Gibson wrote:
> On 21 Feb 2011, at 21:59, Craig Wright wrote:
>
> > So my question: this seems like both a non-optimal solution (will need
> >
Public is only usable within class context - you're missing the `class
defaultActions extends sfActions` line and the connecting brackets.
On Wed, Feb 23, 2011 at 17:00, Manu wrote:
> Hi, I've created custom 404 error pages for my symfony application,
> but they don't seem to work. In dev I see :
http://tinyurl.com/4da43s6
On Wed, Feb 23, 2011 at 3:08 PM, manuelle wrote:
> hello community, I am developing my thesis in symfony. I need to know
> some things about the design patterns related to symfony, symfony used
> a few design patterns, but i want to know how and where symfony use
> them
On Wed, 23 Feb 2011 09:08:33 -0800 (PST), Lideln wrote:
> Hi Carlos,
>
> Thank you for the answer !
> This is a good idea to use options to pass the EM, I will follow your
> advice !
Using an option is the good way to give the em to the form. This is how it
has to be passed to the EntityChoiceFi
hello community, I am developing my thesis in symfony. I need to know
some things about the design patterns related to symfony, symfony used
a few design patterns, but i want to know how and where symfony use
them , if someone could give some info would be greatly appreciate
it...
--
If you want
This worked. Thanks.
On Feb 22, 12:25 pm, Nathan Mudie wrote:
> You need to use the use option for the closure as the variable your
> trying to use isn't in the correct scope.
>
> See example 3 on this page:http://php.net/manual/en/functions.anonymous.php
>
> Your code will look like this:
>
> '
Hi everyone!
I'm new to Symfony and I'm trying to install DbFinderPlugin,but still
getting this error:
C:\wamp\www\milkshare>symfony plugin-install http://plugins.symfony-project.com/
DbFinder
PHP Fatal error: Uncaught exception 'InvalidArgumentException' with
message 'Th
e plugin "DbFinderPlugin
Hi Carlos,
Thank you for the answer !
This is a good idea to use options to pass the EM, I will follow your
advice !
Nevertheless, it would be easier to be able to access the EM globaly,
with an utility class or whatever (and this is not restricted to the
em, but it would be great to be able to ac
Hi,
What about using a hidden input field, set dinamically in the action?
Or where do you want to set it?
Gergely
On Wed, Feb 23, 2011 at 13:07, Javier Garcia wrote:
> Hi,
>
> is there any way to set post parameters?
>
> When i submit a form I would like to set a variable (that I give a
> value
Hi everyone,
I have now got the last minute opportunity of going to sflive2011 next week.
I hope that some of you can help me out here.
I would like to know;
Some places people are staying so I can get a price.
When you are going so I can plan my arrival.
And for those going from the UK, when are
If I remove the "public" keywords, I get :
PHP Fatal error: Uncaught exception 'sfError404Exception' with
message 'Action "default/error404" does not exist.'
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this messa
I have a page where user can send invitation emails to multiple recipients.
Emails have to be unique (they contain URLs with unique keys) and logged
into the DB so I know when recipients respond.
#assign CSV email address(es) to array, loop through it
$email_to_array = preg_split("/[\
Hi, I've created custom 404 error pages for my symfony application,
but they don't seem to work. In dev I see :
This request has been forwarded to a 404 error page by the action
"blabla".
But in prod, the page is just blank; I get a 500 error.
In the logs, the error is :
PHP Parse error:
Try using the API of the sfDatabaseManager class
On 23/02/2011 15:09, Manu wrote:
Hi, I'm trying to do a php script to backup my database. Here's what
I've tried so far (in an action) :
$command = "mysqldump -u [username] -p [password] [databasename] |
gzip> db.sql.gz";
$this->output = sy
First double-check that you have the @orm:Entity annotation set for your
Entity class in this way because it's what essentially makes doctrine aware
that your entity class is an entity.
/**
* @orm:Entity
*/
class MyEntity
{
}
--
If you want to report a vulnerability issue on symfony, please se
Hi everyone,
I can't get command php app/console init:acl to work.
My config is simple:
doctrine.dbal:
driver: pdo_mysql
dbname: dbname
user: user
password: pass
security.acl:
connection: default
When I run the command, I'm getting this error:
[InvalidArgumentExcep
Hi All,
First off I'll say I'm loving Symfony2!!! I am having a slight
problem, however, updating to PR6.
In our application we connect to a web services to perform
authentication and do other SOA type stuff. We had this working with
RC3 a while back, but the changes to DIC scoping seem to make o
Does anyone know of an E-Learning framework as a symfony project that
can be merged with an existing application to extend its
functionalities?
These are the online training / learning activities needed:
1. Create tests using multiple question types: single answer (multiple
choice and true/false)
Hi all!
I'm learning about symfony console component with the help of this
tutorial "http://dev.umpirsky.com/building-cli-apps-with-symfony-
console-component/".
I would know if it's posible to get a variable number of arguments on
a command.
For example In the 'Add' command from the tutorial, the
Hello, i'm having a problem using a custom sfFilter to update DB with
Doctrine...
I've created a sfFilter to update the current module where the user is
at:
class SessionFilter extends sfFilter {
public function execute($filterChain){
if ($this->isFirstCall()){
$user = $th
Hello to all. I have some problem with generating entitles.
I'm following http://docs.symfony-reloaded.org/guides/doctrine/orm/overview.html
I have latest Symfony PR6(github 22.02.2011)
#app\config\config.yml
# Doctrine Configuration
doctrine:
dbal:
driver: pdo_mysql
host:
You need to use the use option for the closure as the variable your
trying to use isn't in the correct scope.
See example 3 on this page: http://php.net/manual/en/functions.anonymous.php
Your code will look like this:
'query_builder' => function($repository) use ($state_id) {
return $reposi
Hi.
if I try:
$conection=mssql_connect($server,$user,$passwor);
$session= mssql_select_db($database, $conection);
$sql="select * from trable";
$result = mssql_query($sql);
print_r (mssql_fetch_array($result));
mssql_close($connection);
run without problems, on the s
Hi, I'm trying to do a php script to backup my database. Here's what
I've tried so far (in an action) :
$command = "mysqldump -u [username] -p [password] [databasename] |
gzip > db.sql.gz";
$this->output = system($command);
1) How do I get the password and username from databases.yml ?
2) How
I have an application on iphone that connect to my sf app running xml-
rpc, I think that session should be managed in your iphone
application.
On 22 fev, 15:35, HiDDeN wrote:
> Hello.
>
> I'm building a simple iPhone app that synchronizes to a webservice
> served by Symfony 1.4. This app requires
Hi,
is there any way to set post parameters?
When i submit a form I would like to set a variable (that I give a
value dinamically) as a post parameter.
Is that possible?
sf 1.4
Javi
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
Works great for me. My company built a job board using sf and mssql.
On Feb 23, 2011 6:05 AM, "axel at" wrote:
Hello list,
are there any experiences running symfony 1.4 with Microsoft SQL
Server backends? is it stable, are there any known bugs or problems?
thx axel
--
If you want to report a
Hello list,
are there any experiences running symfony 1.4 with Microsoft SQL
Server backends? is it stable, are there any known bugs or problems?
thx axel
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message bec
On 2/23/11 7:37 AM, Christophe Beyer wrote:
I found the right syntax :
http://docs.symfony-reloaded.org/master/guides/cache/http.html#symfony2-reverse-proxy-configuration
In the app.config section (not framework) :
esi:
enabled: true
But now, I have this error in the area rendered by the ESI ta
I'm trying to implement subforms to allow for adding/removing multiple
instances of a oneToMany relation.
I have it working for a single instance but how do I go about being able to
process multiple fields that are added with jquery?
I'm used to doing this using array notation so some help with
62 matches
Mail list logo