Hi Paulo,
if you understand portuguese you can check this:
http://augustomorais.wordpress.com/2010/02/01/symfony-cli-colorido-cygwin/
Bye
Augusto Morais
2010/8/30 Paulo Ribeiro
> Hi!
>
> I forgot to mention that in some cases you must follow the steps in
>
> http://www.symfony-zone.com/
Hi rahman,
Try to check in the .htaccess. It can help you.
Bye
Augusto Morais
--
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
Groups "symfony users" group.
To p
I have done it.
Do you change the document root on ProjectConfiguration ?
Try to enable the dev env to check where is the problem.
The project should works without change the .htaccess.
Bye
Augusto Morais
--
If you want to report a vulnerability issue on symfony, please send it to
secu
Hi,
I have a webservice working but I want migrate this webservice to the
symfony. I tried use the ckwebservice plugin but I don't like of It. The
WSDL generated is not so good. Then i tried not use this plugin. I followed
the tutorial about wsdl and symfony (1.0) but it didn't worked well.
http:
This problem is your .htaccess maybe you have not it in your public_html or
web directory.
You just need to create this file and configure. Maybe you forgot to
upload the .htaccess to your prod server.
bye
Augusto Morais
--
If you want to report a vulnerability issue on symfony, please send i
Then you can try to copy the
/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/i18n/sf_admin.fr.xml to
/apps/frontend/i18n
note: use the sfDoctrine with you use the doctrine as ORM.
bye
Augusto Morais
--
If you want to report a vulnerability issue on symfony, please send it to
security at s
Hi.
Try to clear the cache. If it not work, then the problem can be the cache of
the browser. Try to open the page in a different browser.
Bye
Augusto Morais
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this mess
I have runned all versions of symfony with the PHP 5.3 without problems.
Augusto Morais
--
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
Groups "symfony users" group.
Hi Casey,
yes. The correct is widgetSchema. I was using setWidgets.
Thanks.
Augusto Morais
--
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
Groups "symfony users"
Hi,
What is the best way to add a hidden field in a form in the backend ? Is
there some way to do it using the generator.yml or need i change the
_form.php template?
Thanks
Augusto Morais
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-pr
Hi,
I'm trying to customize the action message of object_actions in admin
generator but it's not working. Look my generator.yml
list:
title: MY MODULE
display: [=name, address, city, state ]
max_per_page: 10
sort: [st
Hi Javier,
try to create a ssh connection without password. You can do it using a ssh
public key.
Bye.
Augusto Morais
2010/3/18 Javier Garcia
> Hi,
>
> this is my properties.ini. When i deploy my project (deploy --go) it asks
> me the password.
>
> [symfony]
> name=rs
> [production]
> h
;checkSOCIALSECURITY'))),
> new sfValidatorSchemaCompare('senha',
> sfValidatorSchemaCompare::EQUAL, 'password_again',
> array('throw_global_error' => true),
> array('invalid' => 'The passwords nee
Hi,
i have a form that i need to check whether 2 strings is equal and i'm using
a setPostvalidator to check duplicated fields in my DB. The 2 codes works
fine. But only one for time. not the both together.
here is the code:
class UsersForm extends BaseUsersForm {
(...)
public function c
You can do this:
$this->setWebDir($this->getRootDir().'/public_html');
bye
Augusto Morais
2010/3/11 Kevin
> Hello, just wondering if the following is considered the best practice
> for changing the web directory from the default www to html?
>
> class ProjectConfiguration extends sfProj
Hi Ashton,
i don't know what specifically do you want but maybe this code help you:
class mymoduleActions extends sfActions
{
public function executeXML(sfWebRequest $request)
{
$this->rows = Doctrine::getTable('table')
->createQuery('a')
->execute();
}
}
//template
fo
oes that for you ;). Secondly it was just a quick
> > >> example to get him on the right road. I didn't have time to sit and
> > >> show a fully worked, real world example.
> >
> > >> Jsut to reiterate, symfony already checks what parameters are passe
Hi Gareth,
the method that you show us have a security problem: inject sql. You need to
check what kind of parameter the user is sending.
if (!in_array($parameter, array('asc', 'desc'))) {
//do something
} else {
//execute the query
}
bye
Augusto Morais
--
If you want to report a
Hi everybody,
some time ago i had a problem with the deployment interface of symfony
1.4. When i run the command:
symfony project:deploy production --go
nothing happened. It was a loop. Well, i found the problem and then i
wrote a article about this issue. You can check it in:
http://augustom
The correct is:
public function __toString() {
...
}
Augusto Morais
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to
symfon
Do you use the -e option for what?
I think that the problem is in the class that execute the rsync
process. sfFileSystem method execute().
I will work inside this problem. The next week i think i have a answer.
bye.
Augusto Morais
--
You received this message because you are subscribed to
HI.
I use the sfComponents class to do it.
Worked fine.
bye.
Augusto Morais
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send em
Hi.
I create a partial file that will be added in all page request by
users. I put this partial file, i.e. partial.php in the global layout
template? layout.php. Ok. My doubt is where to put the model code of
the partial file.
some idea?
Augusto Morais
--
You received this message because
Hi Adrian,
Try to run the deployment manually. Works fine.
Bye.
Augusto Morais
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email
Hi Evert.
there is no relation with error_reporting with the deploy using the
argument --dry-run. The problem that is see is in the class that
execute the rsync command. For one time i thought it's the outbuffer
in the class that do the deployment: sfProjectDeployTask.class.php.
However i see th
Hi Yang,
you said the you need two modules based on the same model class. One for
display a graph a other to "i have not idea". But ok. I, in your person,
would create just one module and not two. Then i would create 2 actions, one
to shows the graph and other to anything.
Yes, you need rewrite
Yes Romain. You need have permission to access your temp dir.
Ask then to your client.
Bye.
Augusto Morais
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe
No.
I don't have /tmp folder on my prod server too and the project works fine.
Have you sure that all files is sync with the dev environment (dev server)?
Did you fix the permissions? Check whether the sql file correctly.
To do it run only the sql schema. ./symfony doctrine:build-sql && ./symfony
I had a similar problem too with the symfomy's deployment. Not building the
classes but in deployment. The symfony's interface of rsync doenst clear the
buffer in *sfProjectDeployTask at the moment that the rsync is executed. *The
fix is only clear the outbuffer before execute the rsync command. I
Hi Romain,
Which version of symfony you are using.
Is ok your DB connection? This is a common problem that happen after the
deploy to the prod server.
Bye
Augusto Morais
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this gro
Hi all,
i set up the deployment using the rsync on symfony. What i did was configure
the properties.ini like this:
[production]
host=domain.com.br
port="22 -i E:/cygwin/home/Augusto/.ssh/id_rsa"
user=user
dir=/home/username/website
parameters="-rtgoDzCv --progress --force --delete
--
Hi all,
i'm working with the deploy system of the symfony for a good time. But i
have one doubt about this feature, specifically about the rsync. Here is my
properties.ini:
[production]
host=www.domain.com
port=22 -i E:\cygwin\home\Augusto\.ssh\id_rsa
user=user
dir=/home/USER/website
Hi,
This issue is interesting.
I will start a project that will use flex in the frontend and backend.
I dont know whether symfony is good for this job. More than it, i dont
know whether have some framework that can be used in this kind of
project.
bye.
Augusto Morais
--
You received this mes
I made a Task using the sfBaseTask class. Worked fine. Is more better
than wget because i will use it in several projects and the management
of it is more easy instead bash script with many wget. All in a
symfony project. Maintainability is good for every project.
Bye.
Augusto Morais
--
You
Hi everybody,
i'm looking for the best way to create a automatic script that runs
every day in the same hour. The script needs download several PDF's
files from a specific website and save it in a specific folder. Have
some implementation in symfony that helps do it or need i create a
simple ph
Hi Gabo,
i was working with embedforms and i need do this for my forms works well.
You need save the record that you want get the ID and after save the
record that needs the FK. Look this:
$author = new author();
... (set values for author object)
$author->save();
//now you save the book obje
This can be your main template. Check it in apps/env/templates.
bye
Augusto Morais
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send emai
Hi,
you need say to us if you are the Project Manager of this project. If
yes then you need use the framework as you wish if not then use the
framework of your costumer want. But a good solution for it is talk
more about how the symfony can help you and your costumer in the
project.
I think that
clear your cache and restart your browser and make sure that you
configure the settings.yml correctly.
Bye
Augusto Morais
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
Hi all,
i'm working with numbers and currency in symfony and i got a problem:
dot and comma. I'm using the Brazilian notation(likes the UK notation
: $ 2,00 (two dollars)) . How can i change the US notation to BRL
notation ?
thanks
Augusto Morais
--
You received this message because yo
Hi,
yes, exists anothers kinds of attacks like SQL injection (but the
symfony prevents it). Another thing that you need pay atention is the
command injection(exec, system, passthru). A good way to prevents this
problem is escape the shell output.
I believe that with the XSS and CSRF, in most ca
Hi,
i dont know how are you doing it but a some weeks ago i worked with
embedform using symfony 1.2 - Doctrine as ORM. I wrote a article about
it in portuguese. Maybe you understand a bit because the portuguese is
a language near to spanish. Here is the link of the article:
http://augustomorai
Hi all,
i'm managing my users using the sfBasicSecurityUser class and now i'm
trying to create a action to the user do logout.
I create this method in my myUser class
public function logout($user, $con = null)
{
//$this->getAttributeHolder('usuario_id', null,
'myUser')->remove('usuario_id
Ok. I did it works fine and ok. but how can i do it in the actions?
thanks
Augusto Morais
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group,
Hi,
i'm trying to set defaults values dinamically for a form. Works using
the configure method in my form class, ExemploForm but not from the
action.
i followed the steps of the symfony's manual:
http://www.symfony-project.org/forms/1_2/en/01-Form-Creation#chapter_01_sub_defining_default_value
45 matches
Mail list logo